view src/console/Vfs_File.h @ 192:a7c823478180 trunk

[svn] - add fast linedrawing code
author nenolod
date Thu, 02 Nov 2006 22:19:05 -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