]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
remove one <boost/shared_ptr.hpp>
[lyx.git] / src / graphics / PreviewImage.h
index 07dd3b71f4c5618acc866bd0b4d32b925cb7ebcb..6ec29a36badd1dbb3b84b009d59e12967f9c17a3 100644 (file)
 #ifndef PREVIEWIMAGE_H
 #define PREVIEWIMAGE_H
 
-#include <boost/scoped_ptr.hpp>
-
-class InsetOld;
+#include "support/strfwd.h"
 
 namespace lyx {
+
+namespace support { class FileName; }
+
 namespace graphics {
 
 class PreviewLoader;
@@ -29,7 +30,7 @@ public:
         */
        PreviewImage(PreviewLoader & parent,
                     std::string const & latex_snippet,
-                    std::string const & bitmap_file,
+                    support::FileName const & bitmap_file,
                     double ascent_frac);
        ///
        ~PreviewImage();
@@ -52,7 +53,7 @@ private:
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        /// The pointer never changes although *pimpl_'s contents may.
-       boost::scoped_ptr<Impl> const pimpl_;
+       Impl * const pimpl_;
 };
 
 } // namespace graphics