aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorMax Horn2008-09-07 21:30:55 +0000
committerMax Horn2008-09-07 21:30:55 +0000
commit38a44f85ae9c897c24d7e6ccbc165021ec191330 (patch)
tree2b972ac7639e3298c3da05d2d62ddd0d40af1802 /common/system.h
parentf6c4df8281b00f92ccc040f99e33b28d933b9fa3 (diff)
downloadscummvm-rg350-38a44f85ae9c897c24d7e6ccbc165021ec191330.tar.gz
scummvm-rg350-38a44f85ae9c897c24d7e6ccbc165021ec191330.tar.bz2
scummvm-rg350-38a44f85ae9c897c24d7e6ccbc165021ec191330.zip
Added new OSystem method addSysArchivesToSearchSet() [better name pending, suggestions welcome]
svn-id: r34424
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index 501d0802fd..b0e3e8ce14 100644
--- a/common/system.h
+++ b/common/system.h
@@ -43,6 +43,7 @@ namespace Common {
struct Event;
class EventManager;
class SaveFileManager;
+ class SearchSet;
class TimerManager;
class SeekableReadStream;
class WriteStream;
@@ -907,6 +908,17 @@ public:
virtual FilesystemFactory *getFilesystemFactory() = 0;
/**
+ * Add system specific Common::Archive objects to the given SearchSet.
+ * E.g. on Unix the dir corresponding to DATA_PATH (if set), or on
+ * Mac OS X the 'Resource' dir in the app bundle.
+ *
+ * @todo Come up with a better name. This one sucks.
+ *
+ * @todo Allow specifying a priority with which the new dirs are added?
+ */
+ virtual void addSysArchivesToSearchSet(Common::SearchSet &s) {}
+
+ /**
* Open the default config file for reading, by returning a suitable
* ReadStream instance. It is the callers responsiblity to delete
* the stream after use.