#include "insets/lyxinset.h"
#include "insets/insetgraphicsParams.h"
#include "graphics/GraphicsCacheItem.h"
+#include <boost/smart_ptr.hpp>
#include "LaTeXFeatures.h"
/** This signal is connected by our dialog and called when the inset
is deleted.
*/
- Signal0 <void> hide;
+ Signal0 <void> hideDialog;
+
private:
/// Update the inset after parameter change.
void updateInset() const;
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;
};