mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
d12a582ee3
// FREEBIE
52 lines
1.5 KiB
Objective-C
52 lines
1.5 KiB
Objective-C
//
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <AVFoundation/AVFoundation.h>
|
|
#import <MediaPlayer/MediaPlayer.h>
|
|
#import <JSQMessagesViewController/JSQMessagesViewController.h>
|
|
#import "TSGroupModel.h"
|
|
@class TSThread;
|
|
|
|
extern NSString *const OWSMessagesViewControllerDidAppearNotification;
|
|
|
|
@interface OWSMessagesComposerTextView : JSQMessagesComposerTextView
|
|
|
|
@end
|
|
|
|
#pragma mark -
|
|
|
|
@interface OWSMessagesToolbarContentView : JSQMessagesToolbarContentView
|
|
|
|
@end
|
|
|
|
#pragma mark -
|
|
|
|
@interface OWSMessagesInputToolbar : JSQMessagesInputToolbar
|
|
|
|
@end
|
|
|
|
#pragma mark -
|
|
|
|
@interface MessagesViewController : JSQMessagesViewController <UIImagePickerControllerDelegate,
|
|
UINavigationControllerDelegate,
|
|
UITextViewDelegate,
|
|
AVAudioRecorderDelegate,
|
|
AVAudioPlayerDelegate,
|
|
UIGestureRecognizerDelegate>
|
|
|
|
|
|
@property (nonatomic, readonly) TSThread *thread;
|
|
@property (nonatomic, strong) MPMoviePlayerController *videoPlayer;
|
|
@property (nonatomic, strong) AVAudioPlayer *audioPlayer;
|
|
@property (nonatomic, strong) AVAudioRecorder *audioRecorder;
|
|
|
|
- (void)configureForThread:(TSThread *)thread keyboardOnViewAppearing:(BOOL)keyboardAppearing;
|
|
- (void)popKeyBoard;
|
|
|
|
#pragma mark 3D Touch Methods
|
|
|
|
- (void)peekSetup;
|
|
- (void)popped;
|
|
|
|
@end
|