// All rather small Actions should go into this file for simplicities sake #ifndef _SMALL_ACTIONS_HPP #define _SMALL_ACTIONS_HPP #include "Actions/Action.hpp" #include "Actions/Process.hpp" class MoleculeListClass; class ChangeMoleculeNameAction : public Action { public: ChangeMoleculeNameAction(MoleculeListClass*); virtual ~ChangeMoleculeNameAction(); bool canUndo(); bool shouldUndo(); virtual const std::string getName(); private: virtual ActionState* performCall(); virtual ActionState* performUndo(ActionState*); virtual ActionState* performRedo(ActionState*); MoleculeListClass *molecules; static char NAME[]; }; #endif // _SMALL_ACTIONS_HPP