diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2017-08-15 18:19:26 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2017-08-15 19:16:03 +0300 |
commit | b64b2731550e10b848e682aaaac4d2034948c897 (patch) | |
tree | 53ed0791f72417fff923e016b48393b948df46f3 /iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDefaultDataSource.mm | |
parent | 648c6ceb96456835f9ac139e0becc451d31646cb (diff) |
[cleanup] [ios] Code (imports) cleanup.beta-964
Diffstat (limited to 'iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDefaultDataSource.mm')
-rw-r--r-- | iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDefaultDataSource.mm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDefaultDataSource.mm b/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDefaultDataSource.mm index 0fafc6a38d..678e86bc5b 100644 --- a/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDefaultDataSource.mm +++ b/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDefaultDataSource.mm @@ -1,10 +1,7 @@ #import "MWMMapDownloaderDefaultDataSource.h" #import "MWMCommon.h" -#import "MWMMapDownloaderButtonTableViewCell.h" #import "MWMMapDownloaderLargeCountryTableViewCell.h" #import "MWMMapDownloaderPlaceTableViewCell.h" -#import "MWMStorage.h" -#import "Statistics.h" #import "SwiftBridge.h" #include "Framework.h" @@ -26,7 +23,6 @@ auto compareLocalNames = ^NSComparisonResult(NSString * s1, NSString * s2) } // namespace using namespace storage; -using namespace mwm; @interface MWMMapDownloaderDefaultDataSource () @@ -43,7 +39,11 @@ using namespace mwm; @synthesize isParentRoot = _isParentRoot; -- (instancetype)initForRootCountryId:(NSString *)countryId delegate:(id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol>)delegate mode:(DownloaderMode)mode +- (instancetype) +initForRootCountryId:(NSString *)countryId + delegate: + (id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol>)delegate + mode:(MWMMapDownloaderMode)mode { self = [super initWithDelegate:delegate mode:mode]; if (self) @@ -61,7 +61,7 @@ using namespace mwm; TCountriesVec downloadedChildren; TCountriesVec availableChildren; s.GetChildrenInGroups(m_parentId, downloadedChildren, availableChildren, true /* keepAvailableChildren */); - if (self.mode == DownloaderMode::Available) + if (self.mode == MWMMapDownloaderModeAvailable) { self.downloadedCountries = nil; [self configAvailableSections:availableChildren]; |