7 #ifndef CAFU_GUIEDITOR_COMMAND_ADD_COMPONENT_HPP_INCLUDED
8 #define CAFU_GUIEDITOR_COMMAND_ADD_COMPONENT_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "Templates/Pointer.hpp"
14 namespace cf {
namespace GuiSys {
class ComponentBaseT; } }
15 namespace cf {
namespace GuiSys {
class WindowT; } }
39 const unsigned long m_Index;
bool Do()
This method executes the command.
Definition: AddComponent.cpp:28
Definition: AddComponent.hpp:22
void Undo()
This method un-does the command.
Definition: AddComponent.cpp:43
Definition: GuiDocument.hpp:39
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
wxString GetName() const
Returns the name (a description) of the command.
Definition: AddComponent.cpp:57