Debian Codegraph @

src/gengine/Scripter.h

raw
1 #ifndef HEADER_SCRIPTER_H
2 #define HEADER_SCRIPTER_H
3
4 class Path;
5 class ScriptState;
6
7 #include "NoCopy.h"
8
9 #include <string>
10
11 /**
12 * Base class using a script.
13 */
14 class Scripter : public NoCopy {
15 protected:
16 ScriptState *m_script;
17 public:
18 Scripter();
19 virtual ~Scripter();
20
21 void scriptInclude(const Path &filename);
22 void scriptDo(const std::string &input);
23 };
24
25 #endif