00001 #ifndef HEADER_SCRIPTER_H 00002 #define HEADER_SCRIPTER_H 00003 00004 class Path; 00005 class ScriptState; 00006 00007 #include "NoCopy.h" 00008 00009 #include <string> 00010 00011 /** 00012 * Base class using a script. 00013 */ 00014 class Scripter : public NoCopy { 00015 protected: 00016 ScriptState *m_script; 00017 public: 00018 Scripter(); 00019 virtual ~Scripter(); 00020 00021 void scriptInclude(const Path &filename); 00022 void scriptDo(const std::string &input); 00023 }; 00024 00025 #endif