#include "support/os.h"
#include "support/Systemcall.h"
-#include <boost/bind.hpp>
-#include <boost/tuple/tuple.hpp>
-
#include <algorithm>
#include <sstream>
InsetGraphics::InsetGraphics(InsetGraphics const & ig)
: Inset(ig),
- boost::signals::trackable(),
- graphic_label(sgml::uniqueID(from_ascii("graph"))),
+ graphic_label(sgml::uniqueID(from_ascii("graph"))),
graphic_(new RenderGraphic(*ig.graphic_, this))
{
setParams(ig.params());
InsetGraphics::~InsetGraphics()
{
hideDialogs("graphics", this);
+ delete graphic_;
}
#include "Inset.h"
#include "InsetGraphicsParams.h"
-#include <boost/scoped_ptr.hpp>
-#include <boost/signals/trackable.hpp>
-
-
namespace lyx {
class RenderGraphic;
/////////////////////////////////////////////////////////////////////////
/// Used for images etc.
-class InsetGraphics : public Inset, public boost::signals::trackable
+class InsetGraphics : public Inset
{
public:
///
/// holds the entity name that defines the graphics location (SGML).
docstring const graphic_label;
/// The thing that actually draws the image on LyX's screen.
- boost::scoped_ptr<RenderGraphic> const graphic_;
+ RenderGraphic * graphic_;
};
namespace graphics {