/* * 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(const char *); virtual ~ErrorAction(); virtual void call(); virtual void undo(); virtual bool canUndo(); private: std::string errorMsg; }; #endif /* ERRORACTION_HPP_ */