view src/console/Vfs_File.h @ 144:5dfc0e491ad3 trunk

[svn] Null output plugin added; original code by Christian Birchinger <joker -at- gentoo.org>
author kiyoshi
date Mon, 30 Oct 2006 17:40:00 -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