forked from osmandapp/OsmAnd-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOA-Prefix.pch
51 lines (35 loc) · 2.04 KB
/
OA-Prefix.pch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// OA-Prefix.pch
// OsmAnd
//
// Created by Anton Rogachevskiy on 01.10.14.
// Copyright (c) 2014 OsmAnd. All rights reserved.
//
#ifndef OsmAnd_OA_Prefix_pch
#define OsmAnd_OA_Prefix_pch
#import <MBProgressHUD.h>
#define DeviceScreenWidth (IOS_VERSION_LOWER_THAN_8 ? (UIInterfaceOrientationIsPortrait([UIApplication sharedApplication].statusBarOrientation) ? [[UIScreen mainScreen] bounds].size.width : [[UIScreen mainScreen] bounds].size.height) : [[UIScreen mainScreen] bounds].size.width)
#define DeviceScreenHeight (IOS_VERSION_LOWER_THAN_8 ? (UIInterfaceOrientationIsPortrait([UIApplication sharedApplication].statusBarOrientation) ? [[UIScreen mainScreen] bounds].size.height : [[UIScreen mainScreen] bounds].size.width) : [[UIScreen mainScreen] bounds].size.height)
#define IOS_VERSION_LOWER_THAN_8 (NSFoundationVersionNumber <= NSFoundationVersionNumber_iOS_7_1)
#define CurrentInterfaceOrientation [[UIApplication sharedApplication] statusBarOrientation]
#define kWorldBasemapKey "world_basemap.map.obf"
#define kWorldSeamarksKey "world_seamarks.map.obf"
#define kWorldSeamarksOldKey "world_seamarks_basemap.map.obf"
#define kAppExecCounter @"kAppExecCounter"
#define kAppInstalledDate @"kAppInstalledDate"
#define kShowMapIterator @"kShowMapIterator"
#define kMapDownloadStopReminding @"kMapDownloadStopReminding"
#define kMapDownloadReminderStoppedDate @"kMapDownloadReminderStoppedDate"
#define kUIAlertViewMapDownloadTag 99
#define kUDLastMapModePositionTrack @"kUDLastMapModePositionTrack"
#define kNotificationSettingsLanguageChange @"kNotificationSettingsLanguageChange"
#define kInactiveHoursResetLocation 24
#define kLastMapUsedTime @"kLastMapUsedTime"
#define kMapSettingsInitialPosKoeff 0.5
#define kMapSettingsLandscapeWidth 320.0
#define kShareLinkTemplate @"http://osmand.net/go.html?lat=%.5f&lon=%.5f&z=%d The location was shared with you by OsmAnd"
#define kBottomToolbarBackgroundColor 0xf9f9f9
#define kBottomToolbarTopLineColor 0xC4C4C4
#define kHyperlinkColor 0x007aff
#define kDestinationMinDistanceCheckMarkVisibleMeters 50.0
#endif