diff options
Diffstat (limited to 'iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDataSource.h')
-rw-r--r-- | iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDataSource.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDataSource.h b/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDataSource.h index 79b5e26792..7661fea427 100644 --- a/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDataSource.h +++ b/iphone/Maps/UI/Downloader/DataSources/MWMMapDownloaderDataSource.h @@ -1,17 +1,19 @@ #import "MWMMapDownloaderButtonTableViewCell.h" +#import "MWMMapDownloaderMode.h" #import "MWMMapDownloaderProtocol.h" #import "MWMMapDownloaderTableViewCell.h" -#import "MWMMapDownloaderTypes.h" - -#include "storage/index.hpp" @interface MWMMapDownloaderDataSource : NSObject <UITableViewDataSource> -@property (nonatomic, readonly) BOOL isParentRoot; -@property (nonatomic, readonly) mwm::DownloaderMode mode; -@property (weak, nonatomic, readonly) id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol> delegate; +@property(nonatomic, readonly) BOOL isParentRoot; +@property(nonatomic, readonly) MWMMapDownloaderMode mode; +@property(weak, nonatomic, readonly) + id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol> + delegate; -- (instancetype)initWithDelegate:(id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol>)delegate mode:(mwm::DownloaderMode)mode; +- (instancetype) +initWithDelegate:(id<MWMMapDownloaderProtocol, MWMMapDownloaderButtonTableViewCellProtocol>)delegate + mode:(MWMMapDownloaderMode)mode; - (NSString *)parentCountryId; - (NSString *)countryIdForIndexPath:(NSIndexPath *)indexPath; - (Class)cellClassForIndexPath:(NSIndexPath *)indexPath; |