summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2008-08-11 16:23:52 +0000
committerpixel <pixel>2008-08-11 16:23:52 +0000
commitcd968704b4f0db7029953fe1d52c2f3070077639 (patch)
tree153d5ac619813b37e37aa22db616b16893521934 /include
parentbc0b635691223bdcbe0e58f14b9fef3da1406e40 (diff)
Adding the ability to read / write floats and doubles
Diffstat (limited to 'include')
-rw-r--r--include/Handle.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Handle.h b/include/Handle.h
index 26c1eda..ea21c6e 100644
--- a/include/Handle.h
+++ b/include/Handle.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Handle.h,v 1.39 2008-05-13 06:59:10 pixel Exp $ */
+/* $Id: Handle.h,v 1.40 2008-08-11 16:23:52 pixel Exp $ */
#ifndef __HANDLE_H__
#define __HANDLE_H__
@@ -39,9 +39,13 @@ class Handle : public Base {
Uint8 readU8();
Uint16 readU16();
Uint32 readU32();
+ float readFloat();
+ double readDouble();
void writeU8(Uint8);
void writeU16(Uint16);
void writeU32(Uint32);
+ void writeFloat(float);
+ void writeDouble(double);
void copyto(Handle *, ssize_t = -1);
void copyfrom(Handle *, ssize_t = -1);
bool IsClosed(void) const;