diff options
| -rw-r--r-- | include/LuaHandle.h | 20 | 
1 files changed, 19 insertions, 1 deletions
| 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 | 
