#ifndef __LUAHANDLE_H__ #define __LUAHANDLE_H__ #include #include #include #include #include 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