summaryrefslogtreecommitdiffstats
path: root/source/LuaWindow.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-19 09:39:18 +0200
committermadmaxoft <github@xoft.cz>2013-08-19 09:39:18 +0200
commit493100bdb0f78073fb9377a5ff09756877b199ac (patch)
tree4bfabd654c28c51426e4565e1e7a4c19edfca66d /source/LuaWindow.h
parentImplemented the OnWorldTick hook. (diff)
downloadcuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.gz
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.bz2
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.lz
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.xz
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.tar.zst
cuberite-493100bdb0f78073fb9377a5ff09756877b199ac.zip
Diffstat (limited to '')
-rw-r--r--source/LuaWindow.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/LuaWindow.h b/source/LuaWindow.h
index 60c24996d..5a0685ebb 100644
--- a/source/LuaWindow.h
+++ b/source/LuaWindow.h
@@ -16,8 +16,8 @@
-// fwd: Plugin_NewLua.h
-class cPlugin_NewLua;
+// fwd: PluginLua.h
+class cPluginLua;
@@ -55,23 +55,23 @@ public:
/** Sets the plugin reference and the internal Lua object reference index
used for preventing Lua's GC to collect this class while the window is open
*/
- void SetLuaRef(cPlugin_NewLua * a_Plugin, int a_LuaRef);
+ void SetLuaRef(cPluginLua * a_Plugin, int a_LuaRef);
/// Returns true if SetLuaRef() has been called
bool IsLuaReferenced(void) const;
/// Sets the callback function (Lua reference) to call when the window is about to close
- void SetOnClosing(cPlugin_NewLua * a_Plugin, int a_FnRef);
+ void SetOnClosing(cPluginLua * a_Plugin, int a_FnRef);
/// Sets the callback function (Lua reference) to call when a slot is changed
- void SetOnSlotChanged(cPlugin_NewLua * a_Plugin, int a_FnRef);
+ void SetOnSlotChanged(cPluginLua * a_Plugin, int a_FnRef);
protected:
/// Contents of the non-inventory part
cItemGrid m_Contents;
/// The plugin that has opened the window and owns the m_LuaRef
- cPlugin_NewLua * m_Plugin;
+ cPluginLua * m_Plugin;
/// The Lua object reference, used for keeping the object alive as long as any player has the window open
int m_LuaRef;