view src/console/Vfs_File.h @ 202:e775f8a5e00d trunk

[svn] 1. Add Portal to Hell 2. I accidentally put a ] instead of a \ when adding dancing snow. Fixed.
author kiyoshi
date Fri, 03 Nov 2006 13:08:08 -0800
parents 3da1b8942b8b
children fb513e10174e
line wrap: on
line source


// 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