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.
61 lines
1.7 KiB
C
61 lines
1.7 KiB
C
8 years ago
|
//
|
||
6 years ago
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
||
8 years ago
|
//
|
||
|
|
||
7 years ago
|
#import "ConversationViewController.h"
|
||
|
|
||
7 years ago
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
8 years ago
|
@class AccountManager;
|
||
|
@class CallService;
|
||
|
@class CallUIAdapter;
|
||
5 years ago
|
@class HomeVC;
|
||
8 years ago
|
@class OWSMessageFetcherJob;
|
||
7 years ago
|
@class OWSNavigationController;
|
||
8 years ago
|
@class OutboundCallInitiator;
|
||
|
@class TSThread;
|
||
|
|
||
|
@interface SignalApp : NSObject
|
||
|
|
||
5 years ago
|
@property (nonatomic, nullable, weak) HomeVC *homeViewController;
|
||
7 years ago
|
@property (nonatomic, nullable, weak) OWSNavigationController *signUpFlowNavigationController;
|
||
7 years ago
|
|
||
8 years ago
|
- (instancetype)init NS_UNAVAILABLE;
|
||
|
|
||
|
+ (instancetype)sharedApp;
|
||
|
|
||
7 years ago
|
- (void)setup;
|
||
7 years ago
|
|
||
7 years ago
|
#pragma mark - Conversation Presentation
|
||
|
|
||
|
- (void)presentConversationForRecipientId:(NSString *)recipientId animated:(BOOL)isAnimated;
|
||
|
|
||
|
- (void)presentConversationForRecipientId:(NSString *)recipientId
|
||
|
action:(ConversationViewAction)action
|
||
|
animated:(BOOL)isAnimated;
|
||
|
|
||
|
- (void)presentConversationForThreadId:(NSString *)threadId animated:(BOOL)isAnimated;
|
||
|
|
||
|
- (void)presentConversationForThread:(TSThread *)thread animated:(BOOL)isAnimated;
|
||
|
|
||
|
- (void)presentConversationForThread:(TSThread *)thread action:(ConversationViewAction)action animated:(BOOL)isAnimated;
|
||
8 years ago
|
|
||
7 years ago
|
- (void)presentConversationForThread:(TSThread *)thread
|
||
|
action:(ConversationViewAction)action
|
||
7 years ago
|
focusMessageId:(nullable NSString *)focusMessageId
|
||
|
animated:(BOOL)isAnimated;
|
||
8 years ago
|
|
||
6 years ago
|
- (void)presentConversationAndScrollToFirstUnreadMessageForThreadId:(NSString *)threadId animated:(BOOL)isAnimated;
|
||
6 years ago
|
|
||
8 years ago
|
#pragma mark - Methods
|
||
|
|
||
|
+ (void)resetAppData;
|
||
5 years ago
|
+ (void)resetAppData:(void (^__nullable)(void))onReset;
|
||
8 years ago
|
|
||
7 years ago
|
|
||
7 years ago
|
- (void)showHomeView;
|
||
|
|
||
8 years ago
|
@end
|
||
7 years ago
|
|
||
|
NS_ASSUME_NONNULL_END
|