/* * ErrorAction.hpp * * Created on: Jan 5, 2010 * Author: crueger */ #ifndef ERRORACTION_HPP_ #define ERRORACTION_HPP_ #include #include "Actions/Action.hpp" class ErrorAction : public Action { public: ErrorAction(std::string _name,const char * _errorMsg,bool _doRegister=true); virtual ~ErrorAction(); virtual void call(); virtual void undo(); virtual bool canUndo(); private: std::string errorMsg; }; #endif /* ERRORACTION_HPP_ */