Mercurial > audlegacy
diff Plugins/Input/console/Vfs_File.h @ 493:c04dff121e1d trunk
[svn] hostile merge, phase 2: reimport based on new plugin code
author | nenolod |
---|---|
date | Tue, 24 Jan 2006 20:19:01 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Plugins/Input/console/Vfs_File.h Tue Jan 24 20:19:01 2006 -0800 @@ -0,0 +1,23 @@ + +// File_Reader based on a VFSFile + +#ifndef VFS_FILE_H +#define VFS_FILE_H + +#include "abstract_file.h" + +class Vfs_File_Reader : public File_Reader { + void* file_; +public: + Vfs_File_Reader(); + ~Vfs_File_Reader(); + error_t open( const char* ); + long size() const; + long read_avail( void*, long ); + long tell() const; + error_t seek( long ); + void close(); +}; + +#endif +