1 /*****************************************************************************
2 * macosx.h : MacOS X plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
7 * Authors: Florian G. Pflug <fgp@phlo.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., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 *****************************************************************************/
24 /*****************************************************************************
25 * The vout struct as access from both, the output and the interface module
26 *****************************************************************************/
27 #include <QuickTime/QuickTime.h>
29 #define OSX_INTF_VOUT_QDPORT_CHANGE 0x0001
30 #define OSX_INTF_VOUT_SIZE_CHANGE 0x0002
31 #define OSX_VOUT_INTF_REQUEST_QDPORT 0x0004
32 #define OSX_VOUT_INTF_RELEASE_QDPORT 0x0008
34 /* This struct is included as the _FIRST_ member in vout_sys_t */
35 /* That way the interface can cast the vout_sys_t to osx_com_t */
36 /* and doesn't need the definition of vout_sys_t */
38 #define OSX_COM_TYPE osx_com_t
39 #define OSX_COM_STRUCT osx_com_s
41 typedef struct OSX_COM_STRUCT {
43 unsigned int i_changes ;