view src/console/Vfs_File.h @ 259:56750b17f279 trunk

[svn] So input.c wants to have the old-style function available...
author chainsaw
date Sat, 18 Nov 2006 16:16:01 -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