From 1001db84af5172e41e2613c65c3314165a854f12 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Fri, 26 Feb 2016 12:56:06 +0300 Subject: [PATCH] [new downloader] Added getter for country local name. --- storage/storage.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/storage.hpp b/storage/storage.hpp index 5f4d31ee61..0a82bc92c6 100644 --- a/storage/storage.hpp +++ b/storage/storage.hpp @@ -274,6 +274,8 @@ public: /// \param |nodeAttrs| is filled with attributes in this method. void GetNodeAttrs(TCountryId const & countryId, NodeAttrs & nodeAttrs) const; + string GetNodeLocalName(TCountryId const & countryId) const { return m_countryNameGetter(countryId); } + /// \brief Downloads one node (expandable or not) by countryId. /// If node is expandable downloads all children (grandchildren) by the node /// until they havn't been downloaded before. Update all downloaded mwm if it's necessary.