changeset 340:9e5a7158fa80 trunk

[svn] - fix fprovide.[cxx,h] -- they were the wrong revision
author nenolod
date Wed, 06 Dec 2006 07:57:05 -0800
parents d19ac60697ec
children 986f098da058
files ChangeLog src/adplug/core/fprovide.cxx src/adplug/core/fprovide.h
diffstat 3 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Dec 06 07:37:05 2006 -0800
+++ b/ChangeLog	Wed Dec 06 07:57:05 2006 -0800
@@ -1,3 +1,17 @@
+2006-12-06 15:37:05 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [742]
+  - implement virtual class to use VFS through binio
+  - update the places where binio is used directly to use vfs[io]stream instead of bin[io]stream, respectively
+  - make CFileProvider use vfsistream instead of binifstream.
+  
+  trunk/src/adplug/core/Makefile        |    4 -
+  trunk/src/adplug/core/binio_virtual.h |  102 ++++++++++++++++++++++++++++++++++
+  trunk/src/adplug/core/database.cxx    |    7 +-
+  trunk/src/adplug/core/database.h      |    3 -
+  trunk/src/adplug/core/fprovide.cxx    |    7 +-
+  5 files changed, 112 insertions(+), 11 deletions(-)
+
+
 2006-12-06 13:09:57 +0000  William Pitcock <nenolod@nenolod.net>
   revision [740]
   - some more presets
--- a/src/adplug/core/fprovide.cxx	Wed Dec 06 07:37:05 2006 -0800
+++ b/src/adplug/core/fprovide.cxx	Wed Dec 06 07:57:05 2006 -0800
@@ -52,7 +52,7 @@
 
 /***** CProvider_Filesystem *****/
 
-vfsistream *CProvider_Filesystem::open(std::string filename) const
+binistream *CProvider_Filesystem::open(std::string filename) const
 {
   vfsistream *f = new vfsistream(filename);
 
--- a/src/adplug/core/fprovide.h	Wed Dec 06 07:37:05 2006 -0800
+++ b/src/adplug/core/fprovide.h	Wed Dec 06 07:57:05 2006 -0800
@@ -23,7 +23,7 @@
 #define H_ADPLUG_FILEPROVIDER
 
 #include <string>
-#include <binio.h>
+#include "binio_virtual.h"
 
 class CFileProvider
 {