From c5e312b1d6beadfafbd3c053be03b345ff592e53 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 19 Oct 2004 01:27:28 +0000 Subject: Blah... too much diffs to follow --- include/LuaHandle.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/LuaHandle.h b/include/LuaHandle.h index cd5ac63..e31c740 100644 --- a/include/LuaHandle.h +++ b/include/LuaHandle.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaHandle.h,v 1.5 2003-12-11 16:53:27 pixel Exp $ */ +/* $Id: LuaHandle.h,v 1.6 2004-10-19 01:27:28 pixel Exp $ */ #ifndef __LUAHANDLE_H__ #define __LUAHANDLE_H__ @@ -60,4 +60,22 @@ class LuaBuffer : public LuaHandle { virtual void pushmembers(Lua *); }; +class HandleLua : public Handle { + public: + HandleLua(); + virtual ~HandleLua(); + virtual ssize_t read(void * buf, size_t count) throw (GeneralException); + virtual ssize_t write(const void * buf, size_t count) throw (GeneralException); + virtual bool CanRead() const; + virtual bool CanWrite() const; + virtual bool CanSeek() const; + virtual off_t seek(off_t, int = SEEK_SET) throw (GeneralException); + virtual off_t tell() const; + virtual String GetName() const; + virtual ssize_t GetSize() const; + virtual time_t GetModif() const; + virtual bool CanWatch() const; + virtual void Flush(); +}; + #endif -- cgit v1.2.3