summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2004-10-19 01:27:28 +0000
committerpixel <pixel>2004-10-19 01:27:28 +0000
commitc5e312b1d6beadfafbd3c053be03b345ff592e53 (patch)
tree6e99908f8424ae7de173bb6658aa236846e1f0eb /include
parenteb44468f13372dea0feef9045ef413911f9e8d5a (diff)
Blah... too much diffs to follow
Diffstat (limited to 'include')
-rw-r--r--include/LuaHandle.h20
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