4 * Copyright (C) 2005-2007 Imendio AB
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.
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.
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/>.
20 #ifndef __GDK_QUARTZ_H__
21 #define __GDK_QUARTZ_H__
23 #include <AppKit/AppKit.h>
26 #include <gdk/gdkprivate.h>
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.
34 #ifndef NSINTEGER_DEFINED
35 typedef int NSInteger;
36 typedef unsigned int NSUInteger;
39 #ifndef CGFLOAT_DEFINED
40 typedef float CGFloat;
45 GDK_OSX_UNSUPPORTED = 0,
49 GDK_OSX_SNOW_LEOPARD = 6,
55 GdkOSXVersion gdk_quartz_osx_version (void);
59 #define __GDKQUARTZ_H_INSIDE__
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>
73 #undef __GDKQUARTZ_H_INSIDE__
75 #endif /* __GDK_QUARTZ_H__ */