diff options
Diffstat (limited to 'includes/luacd.h')
-rw-r--r-- | includes/luacd.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/includes/luacd.h b/includes/luacd.h index 339d843..034e6f7 100644 --- a/includes/luacd.h +++ b/includes/luacd.h @@ -17,42 +17,42 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: luacd.h,v 1.4 2003-12-10 02:59:31 pixel Exp $ */ +/* $Id: luacd.h,v 1.5 2003-12-11 16:53:42 pixel Exp $ */ #ifndef __LUACD_H__ #define __LUACD_H__ -#include <Exceptions.h>
-#include <BLua.h>
-#include <LuaHandle.h>
-#include <cdutils.h>
-#include <isobuilder.h>
-
-#define CD_PUSHSTATICS(L) { \
- Luacdutils::pushstatics(L); \
- Luacdfile::pushstatics(L); \
- Luacddate::pushstatics(L); \
- LuaPVD::pushstatics(L); \
- LuaDirTree::pushstatics(L); \
- Luaisobuilder::pushstatics(L); \
-}
+#include <Exceptions.h> +#include <BLua.h> +#include <LuaHandle.h> +#include <cdutils.h> +#include <isobuilder.h> + +#define CD_PUSHSTATICS(L) { \ + Luacdutils::pushstatics(L); \ + Luacdfile::pushstatics(L); \ + Luacddate::pushstatics(L); \ + LuaPVD::pushstatics(L); \ + LuaDirTree::pushstatics(L); \ + Luaisobuilder::pushstatics(L); \ +} class Luacdutils : public LuaObject { public: - static void pushstatics(Lua *) throw (GeneralException);
+ static void pushstatics(Lua *) throw (GeneralException); Luacdutils(cdutils *); - protected:
- virtual void pushmembers(Lua *);
- cdutils * cd;
+ 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 Luacdfile : public LuaHandle { + public: + static void pushstatics(Lua *) throw (GeneralException); + Luacdfile(cdfile *); + protected: + virtual void pushmembers(Lua *); +}; class Luadirentry : public LuaObject { public: @@ -64,7 +64,7 @@ class Luadirentry : public LuaObject { class Luacddate : public LuaObject { public: - static void pushstatics(Lua *) throw (GeneralException);
+ static void pushstatics(Lua *) throw (GeneralException); Luacddate(isobuilder::Date *); private: virtual void pushmembers(Lua *); @@ -73,7 +73,7 @@ class Luacddate : public LuaObject { class LuaPVD : public LuaObject { public: - static void pushstatics(Lua *) throw (GeneralException);
+ static void pushstatics(Lua *) throw (GeneralException); LuaPVD(struct isobuilder::PVD *); private: virtual void pushmembers(Lua *); |