/* * VersionAction.hpp * * Created on: May 8, 2010 * Author: heber */ #ifndef VERSIONACTION_HPP_ #define VERSIONACTION_HPP_ #include "Actions/Action.hpp" #include "version.h" class CommandLineVersionAction : public Action { public: CommandLineVersionAction(); virtual ~CommandLineVersionAction(); bool canUndo(); bool shouldUndo(); virtual const std::string getName(); private: 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 /* VERSIONACTION_HPP_ */