]> Pileus Git - ~andy/gtk/blob - gdk/quartz/gdkquartz.h
Change FSF Address
[~andy/gtk] / gdk / quartz / gdkquartz.h
1
2 /* gdkquartz.h
3  *
4  * Copyright (C) 2005-2007 Imendio AB
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #ifndef __GDK_QUARTZ_H__
21 #define __GDK_QUARTZ_H__
22
23 #include <AppKit/AppKit.h>
24
25 #include <gdk/gdk.h>
26 #include <gdk/gdkprivate.h>
27
28 G_BEGIN_DECLS
29
30 /* NSInteger only exists in Leopard and newer.  This check has to be
31  * done after inclusion of the system headers.  If NSInteger has not
32  * been defined, we know for sure that we are on 32-bit.
33  */
34 #ifndef NSINTEGER_DEFINED
35 typedef int NSInteger;
36 typedef unsigned int NSUInteger;
37 #endif
38
39 #ifndef CGFLOAT_DEFINED
40 typedef float CGFloat;
41 #endif
42
43 typedef enum
44 {
45   GDK_OSX_UNSUPPORTED = 0,
46   GDK_OSX_MIN = 4,
47   GDK_OSX_TIGER = 4,
48   GDK_OSX_LEOPARD = 5,
49   GDK_OSX_SNOW_LEOPARD = 6,
50   GDK_OSX_LION = 7,
51   GDK_OSX_CURRENT = 7,
52   GDK_OSX_NEW = 99
53 } GdkOSXVersion;
54
55 GdkOSXVersion gdk_quartz_osx_version (void);
56
57 G_END_DECLS
58
59 #define __GDKQUARTZ_H_INSIDE__
60
61 #include <gdk/quartz/gdkquartzcursor.h>
62 #include <gdk/quartz/gdkquartzdevice-core.h>
63 #include <gdk/quartz/gdkquartzdevicemanager-core.h>
64 #include <gdk/quartz/gdkquartzdisplay.h>
65 #include <gdk/quartz/gdkquartzdisplaymanager.h>
66 #include <gdk/quartz/gdkquartzdnd.h>
67 #include <gdk/quartz/gdkquartzkeys.h>
68 #include <gdk/quartz/gdkquartzscreen.h>
69 #include <gdk/quartz/gdkquartzutils.h>
70 #include <gdk/quartz/gdkquartzvisual.h>
71 #include <gdk/quartz/gdkquartzwindow.h>
72
73 #undef __GDKQUARTZ_H_INSIDE__
74
75 #endif /* __GDK_QUARTZ_H__ */