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
13
class
KUndo2MagicString
;
14
class
KisUndoStore
;
15
class
KisSavedMacroCommand
;
16
class
KisStrokesFacade
;
17
18
27
class
KRITAIMAGE_EXPORT
KisPostExecutionUndoAdapter
28
{
29
public
:
30
KisPostExecutionUndoAdapter
(
KisUndoStore
*undoStore,
KisStrokesFacade
*strokesFacade);
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
40
private
:
41
KisUndoStore
*
m_undoStore
;
42
KisStrokesFacade
*
m_strokesFacade
;
43
};
44
45
#endif
/* __KIS_POST_EXECUTION_UNDO_ADAPTER_H */
KUndo2MagicString
Definition
kundo2magicstring.h:40
KisPostExecutionUndoAdapter
Definition
kis_post_execution_undo_adapter.h:28
KisPostExecutionUndoAdapter::m_strokesFacade
KisStrokesFacade * m_strokesFacade
Definition
kis_post_execution_undo_adapter.h:42
KisPostExecutionUndoAdapter::m_undoStore
KisUndoStore * m_undoStore
Definition
kis_post_execution_undo_adapter.h:41
KisSavedMacroCommand
Definition
kis_saved_commands.h:88
KisStrokesFacade
Definition
kis_image_interfaces.h:21
KisUndoStore
Definition
kis_undo_store.h:45
QSharedPointer< KUndo2Command >
kis_types.h
libs
image
kis_post_execution_undo_adapter.h
Generated at
2026-01-15 02:30:07+01:00
from
Krita
branch
master
, commit
38b517ca06286bb65279453cbf9a2b4fbd1153d1