chatsecureios / ChatSecure / Classes / OTRAppDelegate.h @ a4bb25f6
History | View | Annotate | Download (1.72 KB)
| 1 |
//
|
|---|---|
| 2 |
// OTRAppDelegate.h
|
| 3 |
// Off the Record
|
| 4 |
//
|
| 5 |
// Created by Chris Ballinger on 8/11/11.
|
| 6 |
// Copyright (c) 2011 Chris Ballinger. All rights reserved.
|
| 7 |
//
|
| 8 |
// This file is part of ChatSecure.
|
| 9 |
//
|
| 10 |
// ChatSecure is free software: you can redistribute it and/or modify
|
| 11 |
// it under the terms of the GNU General Public License as published by
|
| 12 |
// the Free Software Foundation, either version 3 of the License, or
|
| 13 |
// (at your option) any later version.
|
| 14 |
//
|
| 15 |
// ChatSecure is distributed in the hope that it will be useful,
|
| 16 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 17 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 18 |
// GNU General Public License for more details.
|
| 19 |
//
|
| 20 |
// You should have received a copy of the GNU General Public License
|
| 21 |
// along with ChatSecure. If not, see <http://www.gnu.org/licenses/>.
|
| 22 |
|
| 23 |
@import UIKit;
|
| 24 |
|
| 25 |
#import "OTRTheme.h" |
| 26 |
#import "OTRMessagesViewController.h" |
| 27 |
#import "OTRConversationViewController.h" |
| 28 |
|
| 29 |
NS_ASSUME_NONNULL_BEGIN |
| 30 |
@interface OTRAppDelegate : UIResponder <UIApplicationDelegate>
|
| 31 |
|
| 32 |
@property (nonatomic, strong, readonly) OTRConversationViewController *conversationViewController;
|
| 33 |
@property (nonatomic, strong, readonly) OTRMessagesViewController *messagesViewController;
|
| 34 |
|
| 35 |
/** Only used from Database Unlock view. */
|
| 36 |
- (void) showConversationViewController;
|
| 37 |
|
| 38 |
/** The yap key for the active on-screen OTRThreadOwner. This should be moved */
|
| 39 |
@property (nonatomic, readonly, nullable) NSString *activeThreadYapKey;
|
| 40 |
@property (class, nonatomic, readonly) __kindof OTRAppDelegate *appDelegate;
|
| 41 |
|
| 42 |
#pragma mark Theming
|
| 43 |
|
| 44 |
@property (nonatomic, strong, readonly) __kindof OTRTheme *theme;
|
| 45 |
/** Override this in subclass to use a different theme class */
|
| 46 |
- (Class) themeClass; |
| 47 |
|
| 48 |
@end
|
| 49 |
NS_ASSUME_NONNULL_END |