summaryrefslogtreecommitdiffstats
path: root/src/document-undo.h
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-18 03:25:41 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-18 03:25:41 +0000
commit2290edeee46e7100363de0ac280ed79b0c5eb2d7 (patch)
treeebe30bd362a817571d9548cbe695aa93fc8cdd45 /src/document-undo.h
parentMore in XML privatisation with new create3DBox function and other supplements... (diff)
downloadinkscape-2290edeee46e7100363de0ac280ed79b0c5eb2d7.tar.gz
inkscape-2290edeee46e7100363de0ac280ed79b0c5eb2d7.zip
I didn't see it but there was an important file missing namely document-undo.h
(bzr r9546.1.9)
Diffstat (limited to 'src/document-undo.h')
-rw-r--r--src/document-undo.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/document-undo.h b/src/document-undo.h
new file mode 100644
index 000000000..9fc49b112
--- /dev/null
+++ b/src/document-undo.h
@@ -0,0 +1,14 @@
+class SPDocumentUndo
+{
+ public:
+ static void set_undo_sensitive(SPDocument *doc, bool sensitive);
+ static bool get_undo_sensitive(SPDocument const *document);
+ static void clear_undo(SPDocument *document);
+ static void clear_redo(SPDocument *document);
+ static void done(SPDocument *document, unsigned int event_type, Glib::ustring event_description);
+ static void maybe_done(SPDocument *document, const gchar *keyconst, unsigned int event_type, Glib::ustring event_description);
+ static void reset_key(Inkscape::Application *inkscape, SPDesktop *desktop, GtkObject *base);
+ static void cancel(SPDocument *document);
+ static gboolean undo(SPDocument *document);
+ static gboolean redo(SPDocument *document);
+};