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.
		
		
		
		
		
			
		
			
	
	
		
			22 lines
		
	
	
		
			628 B
		
	
	
	
		
			C
		
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			628 B
		
	
	
	
		
			C
		
	
| 
								 
											8 years ago
										 
									 | 
							
								//
							 | 
						||
| 
								 | 
							
								//  Copyright (c) 2017 Open Whisper Systems. All rights reserved.
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								NS_ASSUME_NONNULL_BEGIN
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@protocol OWSCallMessageHandler;
							 | 
						||
| 
								 | 
							
								@protocol NotificationsProtocol;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								typedef id<OWSCallMessageHandler> _Nonnull (^CallMessageHandlerBlock)(void);
							 | 
						||
| 
								 | 
							
								typedef id<NotificationsProtocol> _Nonnull (^NotificationsManagerBlock)(void);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// This is _NOT_ a singleton and will be instantiated each time that the SAE is used.
							 | 
						||
| 
								 | 
							
								@interface AppSetup : NSObject
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								+ (void)setupEnvironment:(CallMessageHandlerBlock)callMessageHandlerBlock
							 | 
						||
| 
								 | 
							
								    notificationsProtocolBlock:(NotificationsManagerBlock)notificationsManagerBlock;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@end
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								NS_ASSUME_NONNULL_END
							 |