Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_post_execution_undo_adapter.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2011 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_POST_EXECUTION_UNDO_ADAPTER_H
8#define __KIS_POST_EXECUTION_UNDO_ADAPTER_H
9
10#include <kritaimage_export.h>
11#include "kis_types.h"
12
14class KisUndoStore;
17
18
27class KRITAIMAGE_EXPORT KisPostExecutionUndoAdapter
28{
29public:
31
32 void addCommand(KUndo2CommandSP command);
33
34 KisSavedMacroCommand* createMacro(const KUndo2MagicString& macroName);
35 void addMacro(KisSavedMacroCommand *macro);
36
37 void setUndoStore(KisUndoStore *undoStore);
38 KisStrokesFacade* strokesFacade() const;
39
40private:
43};
44
45#endif /* __KIS_POST_EXECUTION_UNDO_ADAPTER_H */