view src/console/Vfs_File.h @ 71:5b0619b09745 trunk

[svn] Detect duration: - this took a lot of brute forcing - oh, and apparently apple has a sense of humour about their format, it uses a samplesize multiple of 251.
author nenolod
date Sun, 01 Oct 2006 00:05:37 -0700
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