aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-12-30 00:00:03 +0000
committerMax Horn2007-12-30 00:00:03 +0000
commit9f611ae66d06e94fc2df9a1a96c7c7bf65d659de (patch)
treebb52a73398366c6c76a8758118ad4c1931cb89a3
parentf85a0fd6e0b363bffd499ffad88a835abc8f8af4 (diff)
downloadscummvm-rg350-9f611ae66d06e94fc2df9a1a96c7c7bf65d659de.tar.gz
scummvm-rg350-9f611ae66d06e94fc2df9a1a96c7c7bf65d659de.tar.bz2
scummvm-rg350-9f611ae66d06e94fc2df9a1a96c7c7bf65d659de.zip
Clarify SaveFileManager::listSavefiles usage
svn-id: r30077
-rw-r--r--common/savefile.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/common/savefile.h b/common/savefile.h
index 4f9288ac05..5b06248aa8 100644
--- a/common/savefile.h
+++ b/common/savefile.h
@@ -148,11 +148,14 @@ public:
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