forked from organicmaps/organicmaps
[core] GetGuideId method of GuideManager renamed to GetGuideIds
This commit is contained in:
parent
f0c5d6ad66
commit
cd42b692fd
3 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@
|
|||
|
||||
/*This code counts conversion Guides->MWM. We rely on setting with name "Units", and by the time this code will be executed, Framework->GuidesManager should be initialised*/
|
||||
set<string> s;
|
||||
GetFramework().GetGuidesManager().GetGuidesId(s);
|
||||
GetFramework().GetGuidesManager().GetGuidesIds(s);
|
||||
NSMutableDictionary * guidesUrls = [[NSMutableDictionary alloc] init];
|
||||
for (set<string>::iterator it = s.begin(); it != s.end();++it)
|
||||
{
|
||||
|
|
|
@ -166,7 +166,7 @@ bool GuidesManager::GetGuideInfo(string const & id, GuideInfo & appInfo) const
|
|||
return false;
|
||||
}
|
||||
|
||||
void GuidesManager::GetGuidesId(set<string> & s)
|
||||
void GuidesManager::GetGuidesIds(set<string> & s)
|
||||
{
|
||||
for (MapT::iterator it = m_file2Info.begin(); it != m_file2Info.end();++it)
|
||||
s.insert(it->second.GetAppID());
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
|
||||
/// @param[in] id MWM file name without extension as a key.
|
||||
bool GetGuideInfo(string const & id, GuideInfo & appInfo) const;
|
||||
void GetGuidesId(set<string> & s);
|
||||
void GetGuidesIds(set<string> & s);
|
||||
|
||||
/// @param[in] appID Guide app package id.
|
||||
//@{
|
||||
|
|
Loading…
Add table
Reference in a new issue