diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-10-31 05:44:33 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-10-31 05:44:33 +0000 |
| commit | bdd4bdd8615b1587974312a92219cbeab0068a7a (patch) | |
| tree | c4fd27267755179327673e4fc501740d01ed9b43 /src/file.h | |
| parent | a67fdaa1ef1e3a5eea88d19e327c05330998e8aa (diff) | |
| download | libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.tar.gz libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.tar.bz2 libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.tar.xz libbu++-bdd4bdd8615b1587974312a92219cbeab0068a7a.zip | |
Changed the file class to be SFile so that it will collide less, all of them
will be named like that, make life easier.
Diffstat (limited to 'src/file.h')
| -rw-r--r-- | src/file.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/file.h b/src/file.h deleted file mode 100644 index 111a8b8..0000000 --- a/src/file.h +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | #ifndef FILE_H | ||
| 2 | #define FILE_H | ||
| 3 | |||
| 4 | #include <stdint.h> | ||
| 5 | |||
| 6 | #include "stream.h" | ||
| 7 | |||
| 8 | class File : public Stream | ||
| 9 | { | ||
| 10 | public: | ||
| 11 | File( const char *sName, const char *sFlags ); | ||
| 12 | virtual ~File(); | ||
| 13 | |||
| 14 | virtual void close(); | ||
| 15 | virtual size_t read( char *pBuf, size_t nBytes ); | ||
| 16 | virtual size_t write( char *pBuf, size_t nBytes ); | ||
| 17 | |||
| 18 | private: | ||
| 19 | FILE *fh; | ||
| 20 | |||
| 21 | }; | ||
| 22 | |||
| 23 | #endif | ||
