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-16 20:30:13 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:21:21 +0300
commit7fe0b337465a4f8ea02a72f9e6ba204121d74b2f (patch)
treed1f3073b83b1fd26fc51715d5c596e4511c45fbf /indexer/categories_holder.hpp
parentef52d80f847be0e9c6996905bd7d82c0cbe980a2 (diff)
CategoriesHolder::GetReadableFeatureType().
Diffstat (limited to 'indexer/categories_holder.hpp')
-rw-r--r--indexer/categories_holder.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indexer/categories_holder.hpp b/indexer/categories_holder.hpp
index 0af32fb181..95e38c7750 100644
--- a/indexer/categories_holder.hpp
+++ b/indexer/categories_holder.hpp
@@ -80,6 +80,9 @@ public:
/// @return false if no categories for type.
bool GetNameByType(uint32_t type, int8_t locale, string & name) const;
+ /// @returns raw classificator type if it's not localized in categories.txt.
+ string GetReadableFeatureType(uint32_t type, int8_t locale) const;
+
bool IsTypeExist(uint32_t type) const;
inline void Swap(CategoriesHolder & r)