// All rather small Actions should go into this file for simplicities sake #include "Actions/Action.hpp" class MoleculeListClass; class ChangeMoleculeNameAction : public Action { public: ChangeMoleculeNameAction(MoleculeListClass*); ~ChangeMoleculeNameAction(); void call(); void undo(); bool canUndo(); bool shouldUndo(); virtual const std::string getName(); private: MoleculeListClass *molecules; static char NAME[]; };