]> git.sesse.net Git - vlc/blob - plugins/macosx/vout_vlc_wrapper.h
* ./plugins/gtk/gnome_callbacks.c: fixed a crash when activating preferences
[vlc] / plugins / macosx / vout_vlc_wrapper.h
1 /*****************************************************************************
2  * vout_vlc_wrapper.h: MacOS X plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2001 VideoLAN
5  * $Id: vout_vlc_wrapper.h,v 1.4 2002/05/18 18:48:24 massiot Exp $
6  *
7  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> 
8  *
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.
13  * 
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.
18  *
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., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #define MOUSE_MOVED             0x00000001
25 #define MOUSE_NOT_MOVED         0x00000002
26 #define MOUSE_LAST_MOVED        0x00000004
27 #define MOUSE_NOT_LAST_MOVED    0x00000008
28 #define MOUSE_DOWN              0x00000010
29
30 @interface Vout_VLCWrapper : NSObject
31 {
32
33 }
34
35 + (Vout_VLCWrapper *)instance;
36 + (NSPort *)sendPort;
37
38 - (void)mouseEvent:(unsigned int)ui_status forVout:(void *)_p_vout;
39 - (BOOL)keyDown:(NSEvent *)o_event forVout:(void *)_p_vout;
40 - (void)voutDidResize:(void *)_p_vout;
41
42 @end
43
44 @interface Vout_VLCWrapper (Internal)
45 - (void)handlePortMessage:(NSPortMessage *)o_msg;
46 @end