forked from ChatSecure/ChatSecure-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OTRBranding.h
93 lines (63 loc) · 2.97 KB
/
OTRBranding.h
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
//
// OTRBranding.h
// ChatSecure
//
// Created by Christopher Ballinger on 9/15/15.
// Copyright © 2015 Chris Ballinger. All rights reserved.
//
@import Foundation;
NS_ASSUME_NONNULL_BEGIN
FOUNDATION_EXPORT NSString *const kOTRDefaultLanguageLocale;
FOUNDATION_EXPORT NSString *const kOTRSettingKeyLanguage;
/** Stub class for identifying asset framework bundle via bundleForClass: */
@interface OTRAssets : NSObject
/** Returns OTRResources.bundle */
@property (class, readonly) NSBundle* resourcesBundle;
@end
@interface OTRBranding : NSObject
#pragma mark Strings
/** The default XMPP resource (e.g. [email protected]/chatsecure) */
@property (class, readonly) NSString* xmppResource;
/** Email for user feedback e.g. [email protected] */
@property (class, readonly) NSString* feedbackEmail;
/** Google Apps GOOGLE_APP_ID */
@property (class, readonly) NSString* googleAppId;
/** Google Apps Scope e.g. https://www.googleapis.com/auth/googletalk */
@property (class, readonly) NSString* googleAppScope;
#pragma mark URLs
/** TestFlight signup URL */
@property (class, readonly) NSURL* testflightSignupURL;
/** Project source code on GitHub */
@property (class, readonly) NSURL* githubURL;
/** Facebook App URL (launches FB app) */
@property (class, readonly) NSURL* facebookAppURL;
/** Facebook Web URL */
@property (class, readonly) NSURL* facebookWebURL;
/** Twitter App URL (launches Twitter app) */
@property (class, readonly) NSURL* twitterAppURL;
/** Twitter Web URL */
@property (class, readonly) NSURL* twitterWebURL;
/** Transifex URL */
@property (class, readonly) NSURL* transifexURL;
/** Project URL e.g. https://chatsecure.org */
@property (class, readonly) NSURL* projectURL;
/** Share Base URL e.g. https://chatsecure.org/i/# */
@property (class, readonly) NSURL* shareBaseURL;
/** Push server URL e.g. https://push.example.com/api/v1/ */
@property (class, readonly) NSURL* pushAPIURL;
/** Push staging server URL e.g. https://staging.push.example.com/api/v1/ */
@property (class, readonly, nullable) NSURL* pushStagingAPIURL;
/** UserVoice Site */
@property (class, readonly, nullable) NSString* userVoiceSite DEPRECATED_MSG_ATTRIBUTE("UserVoice is deprecated.");
/** If enabled, will show a ⚠️ symbol next to your account when push may have issues */
@property (class, readonly) BOOL shouldShowPushWarning;
/** If enabled, the server selection cell will be shown when creating new accounts. Otherwise it will be hidden in the 'advanced' section. */
@property (class, readonly) BOOL shouldShowServerCell;
/** If enabled, will show colors for status indicators. */
@property (class, readonly) BOOL showsColorForStatus;
/** If enabled, will allow the in-app-purchase donations UI. This includes hardcoded elements designed for upstream ChatSecure. */
@property (class, readonly) BOOL allowsDonation;
/** If enabled, will show the Tor UI during account creation. Does not affect accounts already created. */
@property (class, readonly) BOOL torEnabled;
@end
NS_ASSUME_NONNULL_END