VCV Rack API v2
Loading...
Searching...
No Matches
rack::history::ModuleChange Struct Reference

#include <history.hpp>

Inheritance diagram for rack::history::ModuleChange:
[legend]
Collaboration diagram for rack::history::ModuleChange:
[legend]

Public Member Functions

 ModuleChange ()
 
 ~ModuleChange ()
 
void undo () override
 
void redo () override
 
- Public Member Functions inherited from rack::history::Action
virtual ~Action ()
 
virtual void undo ()
 
virtual void redo ()
 

Public Attributes

json_t * oldModuleJ
 
json_t * newModuleJ
 
- Public Attributes inherited from rack::history::ModuleAction
int64_t moduleId
 
- Public Attributes inherited from rack::history::Action
std::string name
 Name of the action, lowercase.
 

Constructor & Destructor Documentation

◆ ModuleChange()

rack::history::ModuleChange::ModuleChange ( )
inline

◆ ~ModuleChange()

rack::history::ModuleChange::~ModuleChange ( )

Member Function Documentation

◆ undo()

void rack::history::ModuleChange::undo ( )
overridevirtual

Reimplemented from rack::history::Action.

◆ redo()

void rack::history::ModuleChange::redo ( )
overridevirtual

Reimplemented from rack::history::Action.

Member Data Documentation

◆ oldModuleJ

json_t* rack::history::ModuleChange::oldModuleJ

◆ newModuleJ

json_t* rack::history::ModuleChange::newModuleJ

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