1 /*****************************************************************************
2 * macosx.h: MacOS X plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
5 * $Id: macosx.h,v 1.11 2002/06/02 01:20:52 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 *****************************************************************************/
39 NSAutoreleasePool *o_pool;
45 vlc_bool_t b_disabled_menus;
49 /*****************************************************************************
50 * vout_sys_t: MacOS X video output method descriptor
51 *****************************************************************************/
59 vlc_bool_t b_mouse_moved;
60 vlc_bool_t b_mouse_pointer_visible;
61 mtime_t i_time_mouse_last_moved;
66 MatrixRecordPtr p_matrix;
67 DecompressorComponent img_dc;
68 ImageDescriptionHandle h_img_descr;
71 /*****************************************************************************
72 * vout_req_t: MacOS X video output request
73 *****************************************************************************/
74 #define VOUT_REQ_CREATE_WINDOW 0x00000001
75 #define VOUT_REQ_DESTROY_WINDOW 0x00000002
77 typedef struct vout_req_s
82 NSConditionLock *o_lock;
84 vout_thread_t *p_vout;