00001
00002
00003
00004
00005
00006
00007 #ifndef __WVFILE_H
00008 #define __WVFILE_H
00009
00010 #include "wvstream.h"
00011 #include <fcntl.h>
00012
00013
00023 class WvFile : public WvStream
00024 {
00025 public:
00026 WvFile()
00027 { }
00028 WvFile(int _fd) : WvStream(_fd)
00029 { }
00030 WvFile(const WvString &filename, int mode, int create_mode = 0666)
00031 { open(filename, mode, create_mode); }
00032 bool open(const WvString &filename, int mode, int create_mode = 0666);
00033 };
00034
00035
00036 #endif // __WVFILE_H