RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <undoableactionsmanager.h>
Public Member Functions | |
UndoableActionsManager () | |
unsigned int | getUndoActionsCount () |
unsigned int | getRedoActionsCount () |
bool | hasUndoActions () |
bool | hasRedoActions () |
bool | performUndo () |
bool | performRedo () |
const char * | getHintForCurrentUndoAction () |
const char * | getHintForCurrentRedoAction () |
void | pushUndoAction (IUndoableAction *undo_action, bool clear_redo_stack) |
void | pushUndoAction (IUndoableAction *action) |
void | pushRedoAction (IUndoableAction *action) |
void | clear () |
~UndoableActionsManager () | |
Additional Inherited Members | |
![]() | |
virtual void | copyValuesFromObject (const CObject &object) |
CObject () | |
CObject (const CObject &object) | |
CObject & | operator= (const CObject &object) |
CObject * | retain () |
unsigned int | release () const |
CObject * | autorelease () |
unsigned int | retainCount () const |
bool | isValidCObject () const |
virtual | ~CObject () |
![]() | |
static void | safeRetain (void *pointer) |
template<class T > | |
static void | safeRelease (T *pointer) |
template<class T > | |
static void | safeReleaseArray (T *array) |
static void | safeRelease (const char *pointer) |
Keeps track of every change made by the user in the editor.
Definition at line 44 of file undoableactionsmanager.h.
UndoableActionsManager::UndoableActionsManager | ( | ) |
Definition at line 36 of file undoableactionsmanager.cpp.
UndoableActionsManager::~UndoableActionsManager | ( | ) |
Definition at line 172 of file undoableactionsmanager.cpp.
void UndoableActionsManager::clear | ( | ) |
Definition at line 162 of file undoableactionsmanager.cpp.
const char * UndoableActionsManager::getHintForCurrentRedoAction | ( | ) |
Definition at line 127 of file undoableactionsmanager.cpp.
const char * UndoableActionsManager::getHintForCurrentUndoAction | ( | ) |
Definition at line 116 of file undoableactionsmanager.cpp.
unsigned int UndoableActionsManager::getRedoActionsCount | ( | ) |
Definition at line 49 of file undoableactionsmanager.cpp.
unsigned int UndoableActionsManager::getUndoActionsCount | ( | ) |
Definition at line 43 of file undoableactionsmanager.cpp.
bool UndoableActionsManager::hasRedoActions | ( | ) |
Definition at line 61 of file undoableactionsmanager.cpp.
bool UndoableActionsManager::hasUndoActions | ( | ) |
Definition at line 55 of file undoableactionsmanager.cpp.
bool UndoableActionsManager::performRedo | ( | ) |
Definition at line 92 of file undoableactionsmanager.cpp.
bool UndoableActionsManager::performUndo | ( | ) |
Definition at line 67 of file undoableactionsmanager.cpp.
void UndoableActionsManager::pushRedoAction | ( | IUndoableAction * | action | ) |
Definition at line 155 of file undoableactionsmanager.cpp.
void UndoableActionsManager::pushUndoAction | ( | IUndoableAction * | undo_action, |
bool | clear_redo_stack | ||
) |
Definition at line 138 of file undoableactionsmanager.cpp.
void UndoableActionsManager::pushUndoAction | ( | IUndoableAction * | action | ) |
Definition at line 149 of file undoableactionsmanager.cpp.