2014-10-29 21:58:58 +01:00
|
|
|
//
|
|
|
|
// MessagesViewController.h
|
|
|
|
// Signal
|
|
|
|
//
|
|
|
|
// Created by Dylan Bourgeois on 28/10/14.
|
|
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "JSQMessagesViewController.h"
|
|
|
|
#import "JSQMessages.h"
|
2015-01-16 15:28:41 +01:00
|
|
|
#import "TSGroupModel.h"
|
2015-01-14 22:30:01 +01:00
|
|
|
#import <MediaPlayer/MediaPlayer.h>
|
|
|
|
#import "APNavigationController.h"
|
|
|
|
#import <AVFoundation/AVFoundation.h>
|
2014-11-21 14:38:37 +01:00
|
|
|
@class TSThread;
|
2014-10-29 21:58:58 +01:00
|
|
|
|
2014-12-26 23:18:54 +01:00
|
|
|
@interface MessagesViewController : JSQMessagesViewController <UIImagePickerControllerDelegate,
|
|
|
|
UINavigationControllerDelegate,
|
2015-02-06 10:45:32 +01:00
|
|
|
UITextViewDelegate,AVAudioRecorderDelegate,AVAudioPlayerDelegate, UIGestureRecognizerDelegate>
|
2014-10-29 21:58:58 +01:00
|
|
|
|
2015-01-14 22:30:01 +01:00
|
|
|
|
|
|
|
@property (nonatomic, retain) APNavigationController *navController;
|
|
|
|
|
|
|
|
@property (nonatomic,strong) MPMoviePlayerController* videoPlayer;
|
|
|
|
@property (nonatomic,strong) AVAudioPlayer* audioPlayer;
|
|
|
|
@property (nonatomic,strong) AVAudioRecorder* audioRecorder;
|
2014-11-21 14:38:37 +01:00
|
|
|
- (void)setupWithThread:(TSThread*)thread;
|
2014-11-26 16:00:10 +01:00
|
|
|
- (void)setupWithTSIdentifier:(NSString*)identifier;
|
2015-01-16 15:28:41 +01:00
|
|
|
- (void)setupWithTSGroup:(TSGroupModel*)model;
|
2014-12-17 06:44:36 +01:00
|
|
|
|
2015-04-14 21:49:00 +02:00
|
|
|
- (void)setComposeOnOpen:(BOOL)compose;
|
|
|
|
|
2014-10-29 21:58:58 +01:00
|
|
|
@end
|