|  |  |  | //
 | 
					
						
							|  |  |  | //  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | NS_ASSUME_NONNULL_BEGIN | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @protocol ContactsManagerProtocol; | 
					
						
							|  |  |  | @class OWSMessageSender; | 
					
						
							|  |  |  | @protocol NotificationsProtocol; | 
					
						
							|  |  |  | @protocol OWSCallMessageHandler; | 
					
						
							|  |  |  | @protocol ProfileManagerProtocol; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @interface TextSecureKitEnv : NSObject | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - (instancetype)initWithCallMessageHandler:(id<OWSCallMessageHandler>)callMessageHandler | 
					
						
							|  |  |  |                            contactsManager:(id<ContactsManagerProtocol>)contactsManager | 
					
						
							|  |  |  |                              messageSender:(OWSMessageSender *)messageSender | 
					
						
							|  |  |  |                       notificationsManager:(id<NotificationsProtocol>)notificationsManager | 
					
						
							|  |  |  |                             profileManager:(id<ProfileManagerProtocol>)profileManager NS_DESIGNATED_INITIALIZER; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | - (instancetype)init NS_UNAVAILABLE; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | + (instancetype)sharedEnv; | 
					
						
							|  |  |  | + (void)setSharedEnv:(TextSecureKitEnv *)env; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @property (nonatomic, readonly) id<OWSCallMessageHandler> callMessageHandler; | 
					
						
							|  |  |  | @property (nonatomic, readonly) id<ContactsManagerProtocol> contactsManager; | 
					
						
							|  |  |  | @property (nonatomic, readonly) OWSMessageSender *messageSender; | 
					
						
							|  |  |  | @property (nonatomic, readonly) id<NotificationsProtocol> notificationsManager; | 
					
						
							|  |  |  | @property (nonatomic, readonly) id<ProfileManagerProtocol> profileManager; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | NS_ASSUME_NONNULL_END |