diff options
Diffstat (limited to 'indra/newview/llluamanager.h')
-rw-r--r-- | indra/newview/llluamanager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llluamanager.h b/indra/newview/llluamanager.h index d31f159480..5bdf58bd3d 100644 --- a/indra/newview/llluamanager.h +++ b/indra/newview/llluamanager.h @@ -30,8 +30,10 @@ class LLLUAmanager { public: - static void runScriptFile(const std::string &filename); - static void runScriptLine(const std::string &cmd); + typedef std::function<void(std::string msg)> script_finished_fn; + + static void runScriptFile(const std::string &filename, script_finished_fn cb = script_finished_fn()); + static void runScriptLine(const std::string &cmd, script_finished_fn cb = script_finished_fn()); }; |