2013-09-03 19:18:28 +00:00
|
|
|
/*
|
|
|
|
* This file is part of mpv.
|
|
|
|
*
|
|
|
|
* mpv is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* mpv is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with mpv. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "video/out/cocoa/mpvadapter.h"
|
|
|
|
|
2014-10-05 12:28:33 +00:00
|
|
|
@protocol MpvSizing
|
|
|
|
- (void)queueNewVideoSize:(NSSize)newSize;
|
|
|
|
@end
|
|
|
|
|
2014-10-05 16:07:27 +00:00
|
|
|
@interface MpvVideoWindow : NSWindow <NSWindowDelegate, MpvSizing>
|
2014-10-05 12:28:33 +00:00
|
|
|
@property(nonatomic, retain) MpvCocoaAdapter *adapter;
|
2013-09-03 19:18:28 +00:00
|
|
|
- (BOOL)canBecomeKeyWindow;
|
|
|
|
- (BOOL)canBecomeMainWindow;
|
|
|
|
- (void)mulSize:(float)multiplier;
|
|
|
|
@end
|