[Scummvm-cvs-logs] SF.net SVN: scummvm: [30077] scummvm/trunk/common/savefile.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Dec 30 01:00:05 CET 2007
Revision: 30077
http://scummvm.svn.sourceforge.net/scummvm/?rev=30077&view=rev
Author: fingolfin
Date: 2007-12-29 16:00:03 -0800 (Sat, 29 Dec 2007)
Log Message:
-----------
Clarify SaveFileManager::listSavefiles usage
Modified Paths:
--------------
scummvm/trunk/common/savefile.h
Modified: scummvm/trunk/common/savefile.h
===================================================================
--- scummvm/trunk/common/savefile.h 2007-12-29 18:27:38 UTC (rev 30076)
+++ scummvm/trunk/common/savefile.h 2007-12-30 00:00:03 UTC (rev 30077)
@@ -148,11 +148,14 @@
virtual bool renameSavefile(const char *oldFilename, const char *newFilename);
/**
- * Request a list of available savegames with a given regex.
- * @param regex Regular expression to match. Wildcards like * or ? are available.
- * returns a list of strings for all present file names.
+ * Request a list of available savegames with a given DOS-style pattern,
+ * also known as "glob" in the UNIX world. Refer to the Common::match()
+ * function to learn about the precise pattern format.
+ * @param pattern Pattern to match. Wildcards like * or ? are available.
+ * @return list of strings for all present file names.
+ * @see Common::match
*/
- virtual Common::StringList listSavefiles(const char *regex) = 0;
+ virtual Common::StringList listSavefiles(const char *pattern) = 0;
};
} // End of namespace Common
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list