aboutsummaryrefslogtreecommitdiff
path: root/common/archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/archive.h')
-rw-r--r--common/archive.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/common/archive.h b/common/archive.h
index 5e331052b2..d2f2adbbc0 100644
--- a/common/archive.h
+++ b/common/archive.h
@@ -265,6 +265,16 @@ public:
void add(const String& name, Archive *arch, int priority = 0, bool autoFree = true);
/**
+ * Create and add a FSDirectory by name
+ */
+ void addDirectory(const String &name, const String &directory, int priority = 0, int depth = 1);
+
+ /**
+ * Create and add a FSDirectory by FSNode
+ */
+ void addDirectory(const String &name, const FSNode &directory, int priority = 0, int depth = 1);
+
+ /**
* Remove an archive from the searchable set.
*/
void remove(const String& name);
@@ -302,16 +312,6 @@ class SearchManager : public Singleton<SearchManager>, public SearchSet {
public:
/**
- * Create and add a FSDirectory by name
- */
- void addDirectory(const String &name, const String &directory, int priority = 0, int depth = 1);
-
- /**
- * Create and add a FSDirectory by FSNode
- */
- void addDirectory(const String &name, const FSNode &directory, int priority = 0, int depth = 1);
-
- /**
* Resets the search manager to the default list of search paths (system
* specific dirs + current dir).
*/