mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
20 lines
468 B
Objective-C
20 lines
468 B
Objective-C
#import "MWMAlert.h"
|
|
|
|
typedef NS_ENUM(NSInteger, MWMMobileInternetAlertResult) {
|
|
MWMMobileInternetAlertResultAlways,
|
|
MWMMobileInternetAlertResultToday,
|
|
MWMMobileInternetAlertResultNotToday
|
|
};
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef void(^MWMMobileInternetAlertCompletionBlock)(MWMMobileInternetAlertResult result);
|
|
|
|
@interface MWMMobileInternetAlert : MWMAlert
|
|
|
|
+ (instancetype)alertWithBlock:(MWMMobileInternetAlertCompletionBlock)block;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|