From c54562d9a3fbcc6bc2249e7e36a92ead78165653 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 30 Dec 2007 13:05:38 +0000 Subject: The PS2, DS and PalmOS ports currently do not properly implement their SaveFileManagers -- flagging the incorrect & invalid code by making it not compile. Note: Portser should probably also fix their code in the 0.11 branch svn-id: r30079 --- backends/platform/PalmOS/Src/be_save.cpp | 9 +++++++++ backends/platform/PalmOS/Src/be_save.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'backends/platform/PalmOS') diff --git a/backends/platform/PalmOS/Src/be_save.cpp b/backends/platform/PalmOS/Src/be_save.cpp index 70edbab38f..1c3da1ba23 100644 --- a/backends/platform/PalmOS/Src/be_save.cpp +++ b/backends/platform/PalmOS/Src/be_save.cpp @@ -27,6 +27,13 @@ #include "common/savefile.h" #include "be_save.h" +Common::StringList PalmSaveFileManager::listSavefiles(const char *pattern) { + TODO: Implement this. If you don't understand what it should do, just ask + (e.g. on scummvm-devel or Fingolfin). It should be pretty simple if you + use Common::matchString from common/util.h and read the Doxygen docs, + then combine this with the old code below... + +/* void PalmSaveFileManager::listSavefiles(const char *prefix, bool *marks, int num) { FileRef fileRef; // try to open the dir @@ -65,3 +72,5 @@ void PalmSaveFileManager::listSavefiles(const char *prefix, bool *marks, int num VFSFileClose(fileRef); } + +} diff --git a/backends/platform/PalmOS/Src/be_save.h b/backends/platform/PalmOS/Src/be_save.h index cad5855551..c0aaf2a46c 100644 --- a/backends/platform/PalmOS/Src/be_save.h +++ b/backends/platform/PalmOS/Src/be_save.h @@ -30,7 +30,7 @@ class PalmSaveFileManager : public DefaultSaveFileManager { public: - void listSavefiles(const char *prefix, bool *marks, int num); + Common::StringList listSavefiles(const char *pattern); }; #endif -- cgit v1.2.3