yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::editor::HistoryManager Class Reference

#include <history_manager.h>

Public Member Functions

 HistoryManager ()=default
 
 ~HistoryManager ()=default
 
void Add (const char *data)
 
void Undo ()
 
void Redo ()
 

Private Attributes

std::vector< const char * > history_
 
std::stack< const char * > undo_
 
std::stack< const char * > redo_
 

Detailed Description

Definition at line 13 of file history_manager.h.

Constructor & Destructor Documentation

◆ HistoryManager()

yaze::app::editor::HistoryManager::HistoryManager ( )
default

◆ ~HistoryManager()

yaze::app::editor::HistoryManager::~HistoryManager ( )
default

Member Function Documentation

◆ Add()

void yaze::app::editor::HistoryManager::Add ( const char * data)

◆ Undo()

void yaze::app::editor::HistoryManager::Undo ( )

◆ Redo()

void yaze::app::editor::HistoryManager::Redo ( )

Member Data Documentation

◆ history_

std::vector<const char*> yaze::app::editor::HistoryManager::history_
private

Definition at line 23 of file history_manager.h.

◆ undo_

std::stack<const char*> yaze::app::editor::HistoryManager::undo_
private

Definition at line 24 of file history_manager.h.

◆ redo_

std::stack<const char*> yaze::app::editor::HistoryManager::redo_
private

Definition at line 25 of file history_manager.h.


The documentation for this class was generated from the following file: