From bdd4bdd8615b1587974312a92219cbeab0068a7a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 31 Oct 2006 05:44:33 +0000 Subject: Changed the file class to be SFile so that it will collide less, all of them will be named like that, make life easier. --- src/sfile.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/sfile.h (limited to 'src/sfile.h') diff --git a/src/sfile.h b/src/sfile.h new file mode 100644 index 0000000..f94aef7 --- /dev/null +++ b/src/sfile.h @@ -0,0 +1,23 @@ +#ifndef SFILE_H +#define SFILE_H + +#include + +#include "stream.h" + +class SFile : public Stream +{ +public: + SFile( const char *sName, const char *sFlags ); + virtual ~SFile(); + + virtual void close(); + virtual size_t read( char *pBuf, size_t nBytes ); + virtual size_t write( char *pBuf, size_t nBytes ); + +private: + FILE *fh; + +}; + +#endif -- cgit v1.2.3