diff options
Diffstat (limited to 'include/LuaHandle.h')
-rw-r--r-- | include/LuaHandle.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/include/LuaHandle.h b/include/LuaHandle.h index e9f844e..cd5ac63 100644 --- a/include/LuaHandle.h +++ b/include/LuaHandle.h @@ -17,47 +17,47 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaHandle.h,v 1.4 2003-12-06 04:26:16 pixel Exp $ */ - -#ifndef __LUAHANDLE_H__
-#define __LUAHANDLE_H__
-
-#include <Exceptions.h>
-#include <Input.h>
-#include <Output.h>
-#include <Buffer.h>
-#include <BLua.h>
-
-class LuaHandle : public LuaObject {
- public:
- LuaHandle(Handle *);
- protected:
- virtual void pushmembers(Lua *);
- Handle * h;
-};
-
-class LuaInput : public LuaHandle {
- public:
- static void pushconstruct(Lua *);
- LuaInput(Input *);
- protected:
- virtual void pushmembers(Lua *);
-};
-
-class LuaOutput : public LuaHandle {
- public:
- static void pushconstruct(Lua *);
- LuaOutput(Output *);
- protected:
- virtual void pushmembers(Lua *);
-};
-
-class LuaBuffer : public LuaHandle {
- public:
- static void pushconstruct(Lua *);
- LuaBuffer(Buffer *);
- protected:
- virtual void pushmembers(Lua *);
-};
-
-#endif
+/* $Id: LuaHandle.h,v 1.5 2003-12-11 16:53:27 pixel Exp $ */ + +#ifndef __LUAHANDLE_H__ +#define __LUAHANDLE_H__ + +#include <Exceptions.h> +#include <Input.h> +#include <Output.h> +#include <Buffer.h> +#include <BLua.h> + +class LuaHandle : public LuaObject { + public: + LuaHandle(Handle *); + protected: + virtual void pushmembers(Lua *); + Handle * h; +}; + +class LuaInput : public LuaHandle { + public: + static void pushconstruct(Lua *); + LuaInput(Input *); + protected: + virtual void pushmembers(Lua *); +}; + +class LuaOutput : public LuaHandle { + public: + static void pushconstruct(Lua *); + LuaOutput(Output *); + protected: + virtual void pushmembers(Lua *); +}; + +class LuaBuffer : public LuaHandle { + public: + static void pushconstruct(Lua *); + LuaBuffer(Buffer *); + protected: + virtual void pushmembers(Lua *); +}; + +#endif |