17 #ifndef AGXOSG_LUASCRIPT_H
18 #define AGXOSG_LUASCRIPT_H
20 #include <agx/config/AGX_USE_LUA.h>
25 #include <osgDB/ReadFile>
43 class ExampleApplication;
49 bool executeScriptImpl(const std::
string& filenameOrScript,
50 const std::
string& function,
51 agxSDK::Simulation *simulation,
52 agxOSG::ExampleApplication* application,
55 std::
string& errorMessage);
74 const std::
string& function,
75 agxSDK::Simulation *simulation,
76 agxOSG::ExampleApplication* application,
93 AGXOSG_EXPORT bool executeScriptString(const std::
string& script,
94 const std::
string& function,
95 agxSDK::Simulation *simulation,
96 agxOSG::ExampleApplication* application,
98 std::
string& errorMessage);