session-ios/Signal/src/view controllers/MessagesViewController.h

40 lines
1.4 KiB
Objective-C

//
// MessagesViewController.h
// Signal
//
// Created by Dylan Bourgeois on 28/10/14.
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
//
#import <AVFoundation/AVFoundation.h>
#import <MediaPlayer/MediaPlayer.h>
#import "APNavigationController.h"
#import "JSQMessages.h"
#import "JSQMessagesViewController.h"
#import "TSGroupModel.h"
@class TSThread;
@interface MessagesViewController : JSQMessagesViewController <UIImagePickerControllerDelegate,
UINavigationControllerDelegate,
UITextViewDelegate,
AVAudioRecorderDelegate,
AVAudioPlayerDelegate,
UIGestureRecognizerDelegate>
@property (nonatomic, readonly) TSThread *thread;
@property (nonatomic, retain) APNavigationController *navController;
@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