1 #ifndef __CONTOUR_THING__
2 #define __CONTOUR_THING__
6 //------------------------------------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------------------------------------
10 #include "CommandObject.h"
11 #include "ExecutableCommand.h"
12 #include "ComposedCommand.h"
13 #include "manualContourModel.h"
17 //------------------------------------------------------------------------------------------------------------
18 // Constructors & Destructors
19 //------------------------------------------------------------------------------------------------------------
23 * Creates a ContourThing
25 ContourThing(manualBaseModel * model);
28 * Destroys a ContourThing
31 //------------------------------------------------------------------------------------------------------------
33 //------------------------------------------------------------------------------------------------------------
38 std::string getName();
43 void setName(std::string aName);
46 manualBaseModel * getModel();
48 void setModel(manualBaseModel * model);
51 * Executes the given command if posible and returns is posible or not
52 * @param theSpecificCommand Is the specific command to execute
53 * @return Returns if the command was successfuly executed
55 bool executeCommand (CommandObject * theSpecificCommand);
58 * Interprets the given command and constructs the opposite command for returning it
59 * @param theSpecificDOCommand Is the specific DO command
60 * @return Returns the UNDO command of the given one
62 CommandObject * getUndoCommandOf(CommandObject * theSpecificDOCommand);
65 //------------------------------------------------------------------------------------------------------------
67 //------------------------------------------------------------------------------------------------------------
70 //------------------------------------------------------------------------------------------------------------
72 //------------------------------------------------------------------------------------------------------------
74 std::string outlineName;
76 manualBaseModel * theModel;