X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsLoader.h;h=8b97114f60f2a32864a362aeae6c4fca590b0f0f;hb=244de5d2c10a990828eafdd72283fc87742dc133;hp=a90bd9696357f6f37d69366322cac949652a35c7;hpb=ff0c95aba639ab35a71f5d8ee347ecefbb9e71e1;p=features.git diff --git a/src/graphics/GraphicsLoader.h b/src/graphics/GraphicsLoader.h index a90bd96963..8b97114f60 100644 --- a/src/graphics/GraphicsLoader.h +++ b/src/graphics/GraphicsLoader.h @@ -40,13 +40,15 @@ class Params; class Loader { public: /// Must use the reset methods to make this instance usable. - Loader(); + Loader(support::FileName const & doc_file); /// The image is not transformed, just displayed as-is. - Loader(support::FileName const & file_with_path, bool display = true); + Loader(support::FileName const & doc_file, support::FileName const & file_with_path, bool display = true); /// The image is transformed before display. - Loader(support::FileName const & file_with_path, Params const &); + Loader(support::FileName const & doc_file, support::FileName const & file_with_path, Params const &); /// - Loader(Loader const &); + Loader(support::FileName const & doc_file, Loader const &); + /// + Loader(Loader const & other); /// Needed for the pimpl ~Loader(); @@ -108,7 +110,7 @@ private: /// Use the Pimpl idiom to hide the internals. class Impl; /// The pointer never changes although *pimpl_'s contents may. - Impl * const pimpl_; + Impl * pimpl_; }; } // namespace graphics