/* * SaveBondsAction.hpp * * Created on: May 10, 2010 * Author: heber */ #ifndef SAVEBONDSACTION_HPP #define SAVEBONDSACTION_HPP #include "Actions/Action.hpp" #include "Actions/Process.hpp" class MoleculeListClass; class MoleculeSaveBondsAction : public Action { public: MoleculeSaveBondsAction(); virtual ~MoleculeSaveBondsAction(); bool canUndo(); bool shouldUndo(); virtual const std::string getName(); private: virtual Dialog * createDialog(); virtual Action::state_ptr performCall(); virtual Action::state_ptr performUndo(Action::state_ptr); virtual Action::state_ptr performRedo(Action::state_ptr); static const char NAME[]; }; #endif // SAVEBONDSACTION_HPP