/* * InputAction.hpp * * Created on: May 8, 2010 * Author: heber */ #ifndef INPUTACTION_HPP_ #define INPUTACTION_HPP_ #include "Actions/Action.hpp" void WorldInput(std::string &filename); class WorldInputAction : public Action { friend void WorldInput(std::string &filename); public: WorldInputAction(); virtual ~WorldInputAction(); 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 /* INPUTACTION_HPP_ */