]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / insetgraphics.h
index 16498ef72e9a3218ccd4839e7234907bf09e6523..ac380bffc46564d9f8b3fb5dd26c4139161a7f67 100644 (file)
@@ -30,6 +30,7 @@
 #include "sigc++/signal_system.h"
 
 class Dialogs;
+class LyXImage;
 
 ///
 class InsetGraphics : public Inset, public SigC::Object {
@@ -112,8 +113,14 @@ private:
        string const createLatexOptions() const;
        /// Convert the file if needed, and return the location of the file.
        string const prepareFile(Buffer const * buf) const;
-       ///
+       /// The graphics cache handle.
+       mutable boost::shared_ptr<GraphicsCacheItem> cacheHandle;
+       /// is the pixmap initialized?
+       mutable bool imageLoaded;
+       /// the parameters
        InsetGraphicsParams params;
+       /// holds the entity name that defines the graphics location (SGML).
+       string const graphic_label;
 };
 
 #endif