diff options
Diffstat (limited to 'common/system.h')
| -rw-r--r-- | common/system.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index 501d0802fd..cb9dbedad7 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,18 @@ 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. + * + * @param s the SearchSet to which the system specific dirs, if any, are added + * @param priority the priority with which those dirs are added + */ + virtual void addSysArchivesToSearchSet(Common::SearchSet &s, uint priority = 0) {} + + /** * Open the default config file for reading, by returning a suitable * ReadStream instance. It is the callers responsiblity to delete * the stream after use. |
