aboutsummaryrefslogtreecommitdiff
path: root/common/archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/archive.h')
-rw-r--r--common/archive.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/common/archive.h b/common/archive.h
index e543462332..ac68a7f33d 100644
--- a/common/archive.h
+++ b/common/archive.h
@@ -165,16 +165,21 @@ class SearchSet : public Archive {
public:
/**
- * Add a new Archive to the searchable set.
+ * Add a new archive to the searchable set.
*/
void add(const String& name, ArchivePtr archive, uint priority = 0);
/**
- * Remove an Archive from the searchable set.
+ * Remove an archive from the searchable set.
*/
void remove(const String& name);
/**
+ * Check if a given archive name is already present.
+ */
+ bool hasArchive(const String &name) const;
+
+ /**
* Empties the searchable set.
*/
void clear();