diff options
author | Johannes Schickel | 2008-10-13 15:07:37 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-10-13 15:07:37 +0000 |
commit | ffdbb474c4cab2f26645b8624acc3bc8ce3196d9 (patch) | |
tree | 5bb29c20f8285d27d7b4f6e2aaeae32dcb574b2e | |
parent | 0c28575a723c9249d19820cbf1f9c77639adc765 (diff) | |
download | scummvm-rg350-ffdbb474c4cab2f26645b8624acc3bc8ce3196d9.tar.gz scummvm-rg350-ffdbb474c4cab2f26645b8624acc3bc8ce3196d9.tar.bz2 scummvm-rg350-ffdbb474c4cab2f26645b8624acc3bc8ce3196d9.zip |
Removed SearchManager::addArchive, since SearchManager::add offers the same functionallity.
svn-id: r34795
-rw-r--r-- | common/archive.cpp | 4 | ||||
-rw-r--r-- | common/archive.h | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/common/archive.cpp b/common/archive.cpp index c39912bfe4..d8bba4392f 100644 --- a/common/archive.cpp +++ b/common/archive.cpp @@ -382,10 +382,6 @@ SearchManager::SearchManager() { clear(); // Force a reset } -void SearchManager::addArchive(const String &name, ArchivePtr archive, int priority) { - add(name, archive, priority); -} - void SearchManager::addDirectory(const String &name, const String &directory, int priority) { addDirectoryRecursive(name, directory, 1, priority); } diff --git a/common/archive.h b/common/archive.h index ee12196e6f..53f788a088 100644 --- a/common/archive.h +++ b/common/archive.h @@ -286,12 +286,6 @@ public: SearchManager(); /** - * Add an existing Archive. This is meant to support searching in system-specific - * archives, namely the MACOSX/IPHONE bundles. - */ - void addArchive(const String &name, ArchivePtr archive, int priority = 0); - - /** * Create and add a FSDirectory by name */ void addDirectory(const String &name, const String &directory, int priority = 0); |