From 4f9dc057312c858d8d576ea181bdbd064996b1ec Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 7 Sep 2008 21:59:25 +0000 Subject: Add a priority param to OSystem::addSysArchivesToSearchSet (still in search for a better name ;) svn-id: r34432 --- common/system.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/system.h b/common/system.h index b0e3e8ce14..cb9dbedad7 100644 --- a/common/system.h +++ b/common/system.h @@ -914,9 +914,10 @@ public: * * @todo Come up with a better name. This one sucks. * - * @todo Allow specifying a priority with which the new dirs are added? + * @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) {} + virtual void addSysArchivesToSearchSet(Common::SearchSet &s, uint priority = 0) {} /** * Open the default config file for reading, by returning a suitable -- cgit v1.2.3