Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2016-02-15 21:28:58 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:21:19 +0300
commit68fec8f1f4240d84261ff9210e7d833ace26989f (patch)
tree6618314d4862921b10c20114048bd56c3e51de92 /indexer/categories_holder.hpp
parent64d7f7694384e5fe12385a074884190f956ccd80 (diff)
GetDefaultCategories() function to access categories from everywhere.
Diffstat (limited to 'indexer/categories_holder.hpp')
-rw-r--r--indexer/categories_holder.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/categories_holder.hpp b/indexer/categories_holder.hpp
index b6717020ad..feaad857d5 100644
--- a/indexer/categories_holder.hpp
+++ b/indexer/categories_holder.hpp
@@ -44,10 +44,7 @@ private:
Name2CatContT m_name2type;
public:
- CategoriesHolder() {}
- /// Takes ownership of reader.
explicit CategoriesHolder(Reader * reader);
-
void LoadFromStream(istream & s);
template <class ToDo>
@@ -104,3 +101,6 @@ inline void swap(CategoriesHolder & a, CategoriesHolder & b)
{
return a.Swap(b);
}
+
+// Defined in categories_holder_loader.cpp.
+CategoriesHolder const & GetDefaultCategories();