diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
commit | c853ffb5b2f75f5a889ed2e3ef89b818a736e87a (patch) | |
tree | 7d13a0883bb7936b84d6ecdd7bc332b41ed04bee /src/actions/actions-undo-document.h | |
parent | Initial commit. (diff) | |
download | inkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.tar.xz inkscape-c853ffb5b2f75f5a889ed2e3ef89b818a736e87a.zip |
Adding upstream version 1.3+ds.upstream/1.3+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/actions/actions-undo-document.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/actions/actions-undo-document.h b/src/actions/actions-undo-document.h new file mode 100644 index 0000000..705d0e6 --- /dev/null +++ b/src/actions/actions-undo-document.h @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/** \file + * + * Actions for Undo/Redo tied to document. + * + * Authors: + * Tavmjong Bah + * + * Copyright (C) 2021 Authors + * + * Released under GNU GPL v2+, read the file 'COPYING' for more information. + */ + +#ifndef INK_ACTIONS_DOCUMENT_UNDO_H +#define INK_ACTIONS_DOCUMENT_UNDO_H + +class SPDocument; + +void add_actions_undo_document(SPDocument* document); + +void enable_undo_actions(SPDocument* document, bool undo, bool redo); + +#endif // INK_ACTIONS_DOCUMENT_UNDO_H |