//
//  RepliesIOScreenRecorder.h
//  RepliesSDK
//
//  Created by Stefan Fuerst on 07.07.16.
//  Copyright (c) 2016 Replies. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import "RepliesIOScreenRecordingWindowController.h"

@interface RepliesIOScreenRecorder : NSObject 

@property (nonatomic,strong) AVCaptureSession * session;
@property (nonatomic,strong) AVCaptureScreenInput * input;
@property (nonatomic,strong) AVCaptureMovieFileOutput * output;
@property (nonatomic) NSRect captureRect;
@property (nonatomic,strong) NSScreen * screen;

-(BOOL)startWithDelegate:(id)delegate;
-(BOOL)stop;
-(RepliesIOScreenRecorder *)initWithScreen:(NSScreen *)theScreen;

@end
