v4l: support libv4l
[vlc/solaris.git] / modules / gui / minimal_macosx / VLCMinimalVoutWindow.h
blob7e2fd2803937e11887830d6116a7e21d1a531f82
1 /*****************************************************************************
2 * VLCMinimalVoutWindow.h: MacOS X Minimal window for a vout
3 *****************************************************************************
4 * Copyright (C) 2007 the VideoLAN team
5 * $Id$
7 * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #import <Cocoa/Cocoa.h>
26 #include <vlc_common.h>
28 @interface VLCMinimalVoutWindow : NSWindow
30 NSRect initialFrame;
31 NSPoint initialLocation, initialLocationOnScreen;
32 BOOL fullscreen;
33 BOOL mouseDraggedShouldResize;
36 - (id)initWithContentRect:(NSRect)contentRect;
38 /* @protocol VLCOpenGLVoutEmbedding */
39 - (void)addVoutSubview:(NSView *)view;
40 - (void)removeVoutSubview:(NSView *)view;
41 - (void)enterFullscreen;
42 - (void)leaveFullscreen;
43 - (BOOL)stretchesVideo;
44 - (void)setOnTop: (BOOL)ontop;
45 @end