summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab7e48d)
raw | patch | inline | side by side (parent: ab7e48d)
author | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | |
Sun, 18 Jul 2010 03:25:41 +0000 (08:55 +0530) | ||
committer | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | |
Sun, 18 Jul 2010 03:25:41 +0000 (08:55 +0530) |
src/document-undo.h | [new file with mode: 0644] | patch | blob |
diff --git a/src/document-undo.h b/src/document-undo.h
--- /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);
+};