#include "insets/lyxinset.h"
#include "insets/insetgraphicsParams.h"
#include "graphics/GraphicsCacheItem.h"
+#include <boost/smart_ptr.hpp>
#include "LaTeXFeatures.h"
string const prepareFile(Buffer const * buf) const;
/// The graphics cache handle.
- mutable GraphicsCacheItem * cacheHandle;
+ mutable boost::shared_ptr<GraphicsCacheItem> cacheHandle;
- /// The pixmap
- mutable LyXImage * pixmap;
/// is the pixmap initialized?
- mutable bool updateImage;
+ mutable bool imageLoaded;
InsetGraphicsParams params;
};