Go to the documentation of this file.00001
00002
00003 #ifndef _SCRIPT_DRIVER_H_
00004 #define _SCRIPT_DRIVER_H_
00005
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008
00009 #include <string>
00010
00011 namespace script
00012 {
00013
00014 class Script;
00015
00024 class ENGINE_PUBLIC_EXPORT ScriptDriver
00025 {
00026 public:
00027
00029 ScriptDriver();
00030
00032 virtual ~ScriptDriver();
00033
00034 virtual void initialize();
00035
00037 virtual void compile(Script* script);
00038
00040 virtual void execute(const std::string& data, Script* script = NULL);
00041
00043 virtual void runScript(Script* script);
00044 };
00045
00046 }
00047
00048 #endif