mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1022 B
C
39 lines
1022 B
C
9 years ago
|
//
|
||
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
9 years ago
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
9 years ago
|
extern NSString *const kNSNotificationName_IsCensorshipCircumventionActiveDidChange;
|
||
|
|
||
9 years ago
|
@class TSStorageManager;
|
||
|
@class TSAccountManager;
|
||
|
@class AFHTTPSessionManager;
|
||
|
|
||
|
@interface OWSSignalService : NSObject
|
||
|
|
||
|
@property (nonatomic, readonly) AFHTTPSessionManager *HTTPSessionManager;
|
||
|
|
||
9 years ago
|
@property (atomic, readonly) BOOL isCensorshipCircumventionActive;
|
||
|
|
||
9 years ago
|
@property (nonatomic, readonly) BOOL hasCensoredPhoneNumber;
|
||
|
|
||
9 years ago
|
+ (instancetype)sharedInstance;
|
||
|
|
||
|
- (instancetype)init NS_UNAVAILABLE;
|
||
|
|
||
|
- (BOOL)isCensorshipCircumventionManuallyActivated;
|
||
|
- (void)setIsCensorshipCircumventionManuallyActivated:(BOOL)value;
|
||
|
|
||
9 years ago
|
#pragma mark - Censorship Circumvention Domain
|
||
|
|
||
|
- (NSString *)manualCensorshipCircumventionDomain;
|
||
|
- (void)setManualCensorshipCircumventionDomain:(NSString *)value;
|
||
|
|
||
|
- (NSString *)manualCensorshipCircumventionCountryCode;
|
||
|
- (void)setManualCensorshipCircumventionCountryCode:(NSString *)value;
|
||
|
|
||
9 years ago
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|