aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/abstract-fs.h
diff options
context:
space:
mode:
authorDavid Corrales2007-06-17 17:17:38 +0000
committerDavid Corrales2007-06-17 17:17:38 +0000
commit8ebf479bc5db8cf4996cc0820269aaf04139b940 (patch)
tree6a698da9142fee9fb07d6dbd4ac0d36e47787a56 /backends/fs/abstract-fs.h
parentfe4ee4740d76b0aee2032814095f1d2b81dbde14 (diff)
downloadscummvm-rg350-8ebf479bc5db8cf4996cc0820269aaf04139b940.tar.gz
scummvm-rg350-8ebf479bc5db8cf4996cc0820269aaf04139b940.tar.bz2
scummvm-rg350-8ebf479bc5db8cf4996cc0820269aaf04139b940.zip
Added a new parameter to the getChildren function, which allows including hidden files in the results.
svn-id: r27514
Diffstat (limited to 'backends/fs/abstract-fs.h')
-rw-r--r--backends/fs/abstract-fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/fs/abstract-fs.h b/backends/fs/abstract-fs.h
index fed2b9b4c5..371c38a495 100644
--- a/backends/fs/abstract-fs.h
+++ b/backends/fs/abstract-fs.h
@@ -89,10 +89,11 @@ public:
*
* @param list List to put the contents of the directory in.
* @param mode Mode to use while listing the directory.
+ * @param hidden Whether to include hidden files or not in the results.
*
* @return true if succesful, false otherwise (e.g. when the directory does not exist).
*/
- virtual bool getChildren(AbstractFSList &list, ListMode mode) const = 0;
+ virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const = 0;
/**
* Returns a human readable path string.