#import #import "ProgressView.h" #import "BadgeView.h" #include "storage/storage_defines.hpp" #include "platform/country_defines.hpp" using namespace storage; @class MapCell; @protocol MapCellDelegate @optional - (void)mapCellDidStartDownloading:(MapCell *)cell; - (void)mapCellDidCancelDownloading:(MapCell *)cell; @end @interface MapCell : UITableViewCell @property (nonatomic, readonly) UILabel * titleLabel; @property (nonatomic, readonly) UILabel * subtitleLabel; @property (nonatomic, readonly) UILabel * sizeLabel; @property (nonatomic, readonly) BadgeView * badgeView; @property (nonatomic, readonly) UIView *separatorTop; @property (nonatomic, readonly) UIView *separator; @property (nonatomic, readonly) UIView *separatorBottom; @property (nonatomic) BOOL parentMode; @property (nonatomic) TStatus status; @property (nonatomic) MapOptions options; @property (nonatomic) double downloadProgress; @property (nonatomic, weak) id delegate; - (void)setStatus:(TStatus)status options:(MapOptions)options animated:(BOOL)animated; - (void)setDownloadProgress:(double)downloadProgress animated:(BOOL)animated; + (CGFloat)cellHeight; @end