Changeset 3e8325 for molecuilder/src/Actions/Action.cpp
- Timestamp:
- Jan 7, 2010, 2:46:34 PM (16 years ago)
- Children:
- d97af9
- Parents:
- 34ff5e6
- File:
-
- 1 edited
-
molecuilder/src/Actions/Action.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Actions/Action.cpp
r34ff5e6 r3e8325 6 6 */ 7 7 8 #include "Action.hpp"8 #include <string> 9 9 10 Action::Action() 11 {} 10 #include "Actions/Action.hpp" 11 #include "Actions/ActionRegistry.hpp" 12 13 using namespace std; 14 15 Action::Action(std::string _name,bool _doRegister) : 16 name(_name) 17 { 18 if(_doRegister){ 19 ActionRegistry::getRegistry()->registerAction(this); 20 } 21 } 12 22 13 23 Action::~Action() 14 24 {} 25 26 const string Action::getName(){ 27 return name; 28 }
Note:
See TracChangeset
for help on using the changeset viewer.
