1 /*****************************************************************************
2 * macosx.h: MacOS X plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
5 * $Id: macosx.h,v 1.9 2002/05/12 01:39:36 massiot Exp $
7 * Authors: Colin Delacroix <colin@zoy.org>
8 * Eugenio Jarosiewicz <ej0@cise.ufl.edu>
9 * Florian G. Pflug <fgp@phlo.org>
10 * Jon Lech Johansen <jon-vl@nanocrew.net>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
25 *****************************************************************************/
27 #import <Cocoa/Cocoa.h>
28 #import <QuickTime/QuickTime.h>
30 #include "vout_window.h"
31 #include "vout_qdview.h"
33 /*****************************************************************************
34 * intf_sys_t: description and status of the interface
35 *****************************************************************************/
36 typedef struct intf_sys_s
39 NSAutoreleasePool *o_pool;
45 boolean_t b_disabled_menus;
48 /*****************************************************************************
49 * vout_sys_t: MacOS X video output method descriptor
50 *****************************************************************************/
51 typedef struct vout_sys_s
58 boolean_t b_mouse_moved;
59 boolean_t b_mouse_pointer_visible;
60 mtime_t i_time_mouse_last_moved;
65 MatrixRecordPtr p_matrix;
66 DecompressorComponent img_dc;
67 ImageDescriptionHandle h_img_descr;
70 /*****************************************************************************
71 * vout_req_t: MacOS X video output request
72 *****************************************************************************/
73 #define VOUT_REQ_CREATE_WINDOW 0x00000001
74 #define VOUT_REQ_DESTROY_WINDOW 0x00000002
76 typedef struct vout_req_s
81 NSConditionLock *o_lock;
83 struct vout_thread_s *p_vout;