Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_post_execution_undo_adapter.cpp
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
8
9#include "kis_undo_store.h"
12
13
15 KisStrokesFacade *strokesFacade)
16 : m_undoStore(undoStore),
17 m_strokesFacade(strokesFacade)
18{
19}
20
22{
23 if(!command) return;
25
27}
28
33
38
43
void addMacro(KisSavedMacroCommand *macro)
KisSavedMacroCommand * createMacro(const KUndo2MagicString &macroName)
void setUndoStore(KisUndoStore *undoStore)
KisPostExecutionUndoAdapter(KisUndoStore *undoStore, KisStrokesFacade *strokesFacade)
virtual void addCommand(KUndo2Command *cmd)=0