Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
22
iphone/Maps/main.mm
Normal file
22
iphone/Maps/main.mm
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#import "MapsAppDelegate.h"
|
||||
#import "MWMSettings.h"
|
||||
|
||||
#include "platform/platform.hpp"
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
[MWMSettings initializeLogging];
|
||||
|
||||
NSBundle * mainBundle = [NSBundle mainBundle];
|
||||
NSString * appName = [mainBundle objectForInfoDictionaryKey:@"CFBundleName"];
|
||||
NSString * bundleId = mainBundle.bundleIdentifier;
|
||||
auto & p = GetPlatform();
|
||||
LOG(LINFO, (appName.UTF8String, bundleId.UTF8String, p.Version(), "started, detected CPU cores:", p.CpuCores()));
|
||||
|
||||
int retVal;
|
||||
@autoreleasepool
|
||||
{
|
||||
retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([MapsAppDelegate class]));
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue