MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / RcxCommand

Method RcxCommand

src/controller.cpp:145–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143// ── RcxCommand ──
144
145RcxCommand::RcxCommand(RcxController* ctrl, Command cmd)
146 : m_ctrl(ctrl), m_cmd(cmd) {}
147
148void RcxCommand::undo() { m_ctrl->applyCommand(m_cmd, true); }
149void RcxCommand::redo() { m_ctrl->applyCommand(m_cmd, false); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected