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

#include <history_manager.h>

Public Member Functions

 HistoryManager ()=default
 
 ~HistoryManager ()=default
 
void Add (const char *data)
 
void Undo ()
 
void Redo ()
 
 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 12 of file history_manager.h.

Constructor & Destructor Documentation

◆ HistoryManager() [1/2]

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

◆ ~HistoryManager() [1/2]

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

◆ HistoryManager() [2/2]

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

◆ ~HistoryManager() [2/2]

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

Member Function Documentation

◆ Add() [1/2]

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

◆ Undo() [1/2]

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

◆ Redo() [1/2]

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

◆ Add() [2/2]

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

◆ Undo() [2/2]

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

◆ Redo() [2/2]

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

Member Data Documentation

◆ history_

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

Definition at line 22 of file history_manager.h.

◆ undo_

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

Definition at line 23 of file history_manager.h.

◆ redo_

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

Definition at line 24 of file history_manager.h.


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