////////////////////////////////////////////////////////////////////////////////
// CONFIDENTIAL and PROPRIETARY software of Magewell Electronics Co., Ltd.
// Copyright (c) 2011-2019 Magewell Electronics Co., Ltd. (Nanjing)
// All rights reserved.
// This copyright notice MUST be reproduced on all authorized copies.
////////////////////////////////////////////////////////////////////////////////

#import <Cocoa/Cocoa.h>
#import <AVFoundation/AVSampleBufferDisplayLayer.h>

#include "MWFOURCC.h"
#include "LibMWCapture/MWCapture.h"
#include "MWAudioRender.h"
#include "LibMWVenc/mw_venc.h"
#include "MWAudioEncode.h"
#include "LibMWMp4/mw_mp4.h"

@interface ViewController : NSViewController <NSWindowDelegate>

//UI
@property (nonatomic, retain) NSMenuItem *startRecordItem;
@property (nonatomic, retain) NSMenuItem *stopRecordItem;
@property (weak) IBOutlet NSTextField *statusLabel;
@property (nonatomic, retain) NSTimer *statusTimer;
@property (nonatomic, retain) NSMenu *lineMenu;

@end

