merge the formfield patch from ooo-build
[ooovba.git] / avmedia / source / quicktime / quicktimecommon.hxx
blobb6f647417552ad7b119ed166ca77a0d16ba514d7
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: quicktimecommon.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _QUICKTIMECOMMON_HXX
32 #define _QUICKTIMECOMMON_HXX
34 #ifdef MACOSX
35 #include <premac.h>
36 #import <Cocoa/Cocoa.h>
37 #import <QTKit/QTKit.h>
38 #import <QuickTime/QuickTime.h>
39 #include <postmac.h>
40 #endif
41 #include <osl/mutex.hxx>
42 #ifndef __RTL_USTRING_
43 #include <rtl/ustring.hxx>
44 #endif
45 #include <tools/debug.hxx>
46 #include <tools/stream.hxx>
47 #include <tools/string.hxx>
48 #include <tools/urlobj.hxx>
49 #include <cppuhelper/implbase1.hxx>
50 #include <cppuhelper/implbase2.hxx>
51 #include <cppuhelper/weak.hxx>
52 #include <cppuhelper/factory.hxx>
54 #include <com/sun/star/uno/Reference.h>
55 #include <com/sun/star/uno/RuntimeException.hpp>
56 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
57 #include <com/sun/star/lang/XComponent.hpp>
58 #include <com/sun/star/registry/XRegistryKey.hpp>
59 #include <com/sun/star/lang/XComponent.hpp>
60 #include <com/sun/star/lang/XServiceInfo.hpp>
61 #include <com/sun/star/awt/Rectangle.hpp>
62 #include <com/sun/star/awt/KeyModifier.hpp>
63 #include <com/sun/star/awt/MouseButton.hpp>
64 #include <com/sun/star/media/XManager.hpp>
66 #define AVMEDIA_QUICKTIME_MANAGER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Manager_QuickTime"
67 #define AVMEDIA_QUICKTIME_MANAGER_SERVICENAME "com.sun.star.media.Manager_QuickTime"
69 #define AVMEDIA_QUICKTIME_PLAYER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Player_QuickTime"
70 #define AVMEDIA_QUICKTIME_PLAYER_SERVICENAME "com.sun.star.media.Player_QuickTime"
72 #define AVMEDIA_QUICKTIME_WINDOW_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Window_QuickTime"
73 #define AVMEDIA_QUICKTIME_WINDOW_SERVICENAME "com.sun.star.media.Window_QuickTime"
75 #define WM_GRAPHNOTIFY (WM_USER + 567)
77 // Quicktime 7+ in Mac OS X 10.4
78 #define QT701 0x07010000
80 // Quicktime 6.4+ in Mac OS X 10.3
81 #define QT64 0x06400000
84 #endif // _QUICKTIMECOMMOM_HXX