co-maps/iphone/Maps/UI/Editor/MWMEditorCommon.h
2025-11-22 13:58:55 +01:00

20 lines
625 B
Objective-C

#include "indexer/yes_no_unknown.hpp"
@class MWMEditorTextTableViewCell;
@class MWMTableViewCell;
@protocol MWMEditorCellProtocol <NSObject>
- (void)cell:(MWMTableViewCell *)cell changedText:(NSString *)changeText;
- (void)cell:(UITableViewCell *)cell changeSwitch:(BOOL)changeSwitch;
- (void)cell:(UITableViewCell *)cell changeSegmented:(YesNoUnknown)changeSegmented;
- (void)cellDidPressButton:(UITableViewCell *)cell;
- (void)tryToChangeInvalidStateForCell:(MWMTableViewCell *)cell;
@end
@protocol MWMEditorAdditionalName <MWMEditorCellProtocol>
- (void)editAdditionalNameLanguage:(NSInteger)selectedLangCode;
@end