diff options
Diffstat (limited to '')
-rw-r--r-- | source/Plugin_NewLua.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/Plugin_NewLua.h b/source/Plugin_NewLua.h index acc43c7a4..fc3565bbc 100644 --- a/source/Plugin_NewLua.h +++ b/source/Plugin_NewLua.h @@ -11,8 +11,12 @@ +// fwd: Lua typedef struct lua_State lua_State; +// fwd: UI/Window.h +class cWindow; + @@ -101,6 +105,9 @@ public: /// Removes a previously referenced object (luaL_unref()) void Unreference(int a_LuaRef); + /// Calls the plugin-specified "cLuaWindow closing" callback. Returns true only if the callback returned true + bool CallbackWindowClosing(int a_FnRef, cWindow & a_Window, cPlayer & a_Player); + protected: cCriticalSection m_CriticalSection; lua_State * m_LuaState; |