index 19c5740a42c7a121355cd721507dafd712c9e6d8..7b900fde5c1d67e41aef6e36773bf1d46be6e608 100644 (file)
#include <functional>
#include <sstream>
+#include "desktop.h"
#include "dialog.h"
#include "event-log.h"
public:
virtual ~UndoHistory();
- static UndoHistory *create() { return new UndoHistory(); }
+ static UndoHistory *create();
+ void setDesktop(SPDesktop* desktop);
+
+ sigc::connection _document_replaced_connection;
protected:
+ SPDesktop *_desktop;
SPDocument *_document;
EventLog *_event_log;
static const CellRendererInt::Filter& greater_than_1;
};
-
} // namespace Dialog
} // namespace UI
} // namespace Inkscape