VLCVideoOutputProvider.h 2.29 KB
Newer Older
1
/*****************************************************************************
2
 * VLCVideoOutputProvider.h: MacOS X interface module
3
 *****************************************************************************
4
 * Copyright (C) 2012-2014 VLC authors and VideoLAN
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
 *          David Fuhrmann <david dot fuhrmann at googlemail dot com>
 *
 * This program 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.
 *
 * This program 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 this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
 *****************************************************************************/

#import <Cocoa/Cocoa.h>

#import <vlc_vout_window.h>
28
#import "VLCKeyboardBacklightControl.h"
29
#import "VLCFSPanelController.h"
30

31
@class VLCControlsBarCommon;
32
@class VLCVideoWindowCommon;
33
@class VLCVoutView;
34

35
@interface VLCVideoOutputProvider : NSObject
36

37 38
@property (readonly, nonatomic) NSInteger currentStatusWindowLevel;

39
- (VLCVoutView *)setupVoutForWindow:(vout_window_t *)p_wnd withProposedVideoViewPosition:(NSRect)videoViewPosition;
40
- (void)removeVoutForDisplay:(NSValue *)o_key;
41 42
- (void)setNativeVideoSize:(NSSize)size forWindow:(vout_window_t *)p_wnd;
- (void)setWindowLevel:(NSInteger)i_level forWindow:(vout_window_t *)p_wnd;
43
- (void)setFullscreen:(int)i_full forWindow:(vout_window_t *)p_wnd withAnimation:(BOOL)b_animation;
44

45
- (void)updateControlsBarsUsingBlock:(void (^)(VLCControlsBarCommon *controlsBar))block;
46
- (void)updateDraggablePanelsUsingBlock: (void (^)(VLCFSPanelController *draggablepanel))block;
47 48
- (void)updateWindowsUsingBlock:(void (^)(VLCVideoWindowCommon *o_window))windowUpdater;

49
- (void)updateWindowLevelForHelperWindows:(NSInteger)i_level;
50

51 52
- (void)hideMouseForWindow:(vout_window_t *)p_wnd;

53
@end