summaryrefslogtreecommitdiffstats
path: root/src/document-undo.h
blob: 9fc49b112c5e1bcff3b3920f1d2de949eef73253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
};