forked from organicmaps/organicmaps
[new downloader] Removed unused functions
This commit is contained in:
parent
fa296427db
commit
9d3975a8b4
2 changed files with 1 additions and 13 deletions
|
@ -261,16 +261,6 @@ Country const & Storage::CountryByCountryId(TCountryId const & countryId) const
|
|||
return node->Value();
|
||||
}
|
||||
|
||||
size_t Storage::CountriesCount(TCountryId const & countryId) const
|
||||
{
|
||||
return LeafNodeFromCountryId(m_countries, countryId).ChildrenCount();
|
||||
}
|
||||
|
||||
string const & Storage::CountryName(TCountryId const & countryId) const
|
||||
{
|
||||
return LeafNodeFromCountryId(m_countries, countryId).Value().Name();
|
||||
}
|
||||
|
||||
bool Storage::IsCoutryIdInCountryTree(TCountryId const & countryId) const
|
||||
{
|
||||
return m_countries.FindFirst(Country(countryId)) != nullptr;
|
||||
|
|
|
@ -297,7 +297,7 @@ public:
|
|||
|
||||
/// \brief Get information for mwm update button.
|
||||
/// \return true if updateInfo is filled correctly and false otherwise.
|
||||
bool GetUpdateInfo(UpdateInfo & updateInfo) const { return true; }
|
||||
bool GetUpdateInfo(TCountryId const & countryId, UpdateInfo & updateInfo) const { return true; }
|
||||
|
||||
/// \brief Update all mwm in case of changing mwm hierarchy of mwm borders.
|
||||
/// This method:
|
||||
|
@ -376,8 +376,6 @@ public:
|
|||
|
||||
TCountryId FindCountryIdByFile(string const & name) const;
|
||||
|
||||
size_t CountriesCount(TCountryId const & countryId) const;
|
||||
string const & CountryName(TCountryId const & countryId) const;
|
||||
bool IsCoutryIdInCountryTree(TCountryId const & countryId) const;
|
||||
|
||||
TLocalAndRemoteSize CountrySizeInBytes(TCountryId const & countryId, MapOptions opt) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue