* ./configure.in: added libdvbpsi version check.
[vlc.git] / plugins / macosx / vout_qdview.m
blob2986ddf8c8f0b096ac734faeeb0ef96a024d8927
1 /*****************************************************************************
2  * vout_qdview.c: MacOS X plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2001 VideoLAN
5  * $Id: vout_qdview.m,v 1.1 2002/05/12 20:56:34 massiot Exp $
6  *
7  * Authors: Florian G. Pflug <fgp@phlo.org>
8  *          Jon Lech Johansen <jon-vl@nanocrew.net>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  * 
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
23  *****************************************************************************/
25 /*****************************************************************************
26  * Preamble
27  *****************************************************************************/
28 #import <Cocoa/Cocoa.h>
30 #import "vout_qdview.h"
32 /*****************************************************************************
33  * VLCView implementation 
34  *****************************************************************************/
35 @implementation VLCView
37 - (id)initWithWrapper:(Vout_VLCWrapper *)_o_wrapper forVout:(void *)_p_vout
39     if( [super init] == nil )
40         return nil;
42     p_vout = _p_vout;
43     o_wrapper = _o_wrapper;
45     return( self );
48 - (void)drawRect:(NSRect)rect
50     [super drawRect: rect];
51     [[NSColor blackColor] set];
52     NSRectFill(rect);
55 @end