diff src/Input/console/Vfs_File.h @ 0:13389e613d67 trunk

[svn] - initial import of audacious-plugins tree (lots to do)
author nenolod
date Mon, 18 Sep 2006 01:11:49 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/Input/console/Vfs_File.h	Mon Sep 18 01:11:49 2006 -0700
@@ -0,0 +1,23 @@
+
+// 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
+