From b3b4fd468cb4703ceed95ed78a567bb759cdb338 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 7 Dec 2003 04:44:37 +0000 Subject: LUA work work work --- includes/luacd.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'includes') diff --git a/includes/luacd.h b/includes/luacd.h index a1c1e2a..f32eadd 100644 --- a/includes/luacd.h +++ b/includes/luacd.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: luacd.h,v 1.1 2003-12-06 04:26:17 pixel Exp $ */ +/* $Id: luacd.h,v 1.2 2003-12-07 04:44:38 pixel Exp $ */ #ifndef __LUACD_H__ #define __LUACD_H__ @@ -27,26 +27,27 @@ #include #include -class Luacdfile : public LuaHandle { - public: - static void pushconstruct(Lua *); - Luacdfile(cdfile *); - protected: - virtual void pushmembers(Lua *); -}; - class Luacdutils : public LuaObject { public: - static void pushconstruct(Lua *); + static void pushstatics(Lua *); Luacdutils(cdutils *); protected: virtual void pushmembers(Lua *); cdutils * cd; }; +class Luacdfile : public LuaHandle { + public: + static void pushstatics(Lua *) throw (GeneralException); + Luacdfile(cdfile *); + protected: + virtual void pushmembers(Lua *); +}; + class Luadirentry : public LuaObject { public: Luadirentry(cdutils::DirEntry *); + const cdutils::DirEntry * getdir(); protected: virtual void pushmembers(Lua *); cdutils::DirEntry * dir; -- cgit v1.2.3