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.
		
		
		
		
		
			
		
			
				
	
	
		
			40 lines
		
	
	
		
			938 B
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			40 lines
		
	
	
		
			938 B
		
	
	
	
		
			Objective-C
		
	
| //
 | |
| //  Copyright (c) 2018 Open Whisper Systems. All rights reserved.
 | |
| //
 | |
| 
 | |
| NS_ASSUME_NONNULL_BEGIN
 | |
| 
 | |
| // This VC can become first responder
 | |
| // when presented to ensure that the input accessory is updated.
 | |
| @interface OWSWindowRootViewController : UIViewController
 | |
| 
 | |
| @end
 | |
| 
 | |
| #pragma mark -
 | |
| 
 | |
| extern NSString *const OWSWindowManagerCallDidChangeNotification;
 | |
| const CGFloat OWSWindowManagerCallScreenHeight(void);
 | |
| 
 | |
| extern const UIWindowLevel UIWindowLevel_Background;
 | |
| 
 | |
| @interface OWSWindowManager : NSObject
 | |
| 
 | |
| - (instancetype)init NS_UNAVAILABLE;
 | |
| 
 | |
| + (instancetype)sharedManager;
 | |
| 
 | |
| - (void)setupWithRootWindow:(UIWindow *)rootWindow screenBlockingWindow:(UIWindow *)screenBlockingWindow;
 | |
| 
 | |
| - (void)setIsScreenBlockActive:(BOOL)isScreenBlockActive;
 | |
| 
 | |
| #pragma mark - Calls
 | |
| 
 | |
| - (void)startCall:(UIViewController *)callViewController;
 | |
| - (void)endCall:(UIViewController *)callViewController;
 | |
| - (void)leaveCallView;
 | |
| - (BOOL)hasCall;
 | |
| 
 | |
| @end
 | |
| 
 | |
| NS_ASSUME_NONNULL_END
 |