summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/luacd.h21
1 files changed, 11 insertions, 10 deletions
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 <LuaHandle.h>
#include <cdutils.h>
-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;