From 4984ff4a7cdc181aa8d4ff913ddc4323e77f4bca Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 16 May 2009 21:43:21 +0000 Subject: Adding cd/dvdabstract classes to the lua exports. --- includes/luacd.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'includes') diff --git a/includes/luacd.h b/includes/luacd.h index 1f7768f..baa4929 100644 --- a/includes/luacd.h +++ b/includes/luacd.h @@ -27,6 +27,8 @@ #include #include #include +#include +#include #define CD_PUSHSTATICS(L) { \ Luacdutils::pushstatics(L); \ @@ -34,6 +36,8 @@ LuaPVD::pushstatics(L); \ LuaDirTree::pushstatics(L); \ Luaisobuilder::pushstatics(L); \ + Luacdabstract::pushconstruct(L); \ + Luadvdabstract::pushconstruct(L); \ } class Luacdutils : public LuaObject { @@ -89,4 +93,20 @@ class Luaisobuilder : public LuaObject { isobuilder * iso; }; +class Luacdabstract : public LuaHandle { + public: + static void pushconstruct(Lua *); + Luacdabstract(Handle *); + protected: + virtual void pushmembers(Lua *); +}; + +class Luadvdabstract : public LuaHandle { + public: + static void pushconstruct(Lua *); + Luadvdabstract(dvdabstract *); + protected: + virtual void pushmembers(Lua *); +}; + #endif -- cgit v1.2.3