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
744 B
Objective-C
20 lines
744 B
Objective-C
#import "MWMAlert.h"
|
|
|
|
#include "routing/router.hpp"
|
|
#include "routing/routing_callbacks.hpp"
|
|
#include "storage/storage.hpp"
|
|
#include "storage/storage_defines.hpp"
|
|
|
|
using MWMDownloadBlock = void (^)(storage::CountriesVec const &, MWMVoidBlock);
|
|
|
|
@interface MWMAlert (CPP)
|
|
|
|
+ (MWMAlert *)alert:(routing::RouterResultCode)type;
|
|
+ (MWMAlert *)downloaderAlertWithAbsentCountries:(storage::CountriesSet const &)countries
|
|
code:(routing::RouterResultCode)code
|
|
cancelBlock:(MWMVoidBlock)cancelBlock
|
|
downloadBlock:(MWMDownloadBlock)downloadBlock
|
|
downloadCompleteBlock:(MWMVoidBlock)downloadCompleteBlock;
|
|
|
|
@end
|