2011-08-13 22:29:11 +00:00
|
|
|
|
2007-11-01 08:45:30 +00:00
|
|
|
/* gdkquartz.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005-2007 Imendio AB
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2012-02-27 13:01:10 +00:00
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
2007-11-01 08:45:30 +00:00
|
|
|
*/
|
|
|
|
|
2005-11-22 10:03:32 +00:00
|
|
|
#ifndef __GDK_QUARTZ_H__
|
|
|
|
#define __GDK_QUARTZ_H__
|
|
|
|
|
2007-02-18 10:26:49 +00:00
|
|
|
#include <AppKit/AppKit.h>
|
2010-12-23 11:59:26 +00:00
|
|
|
|
|
|
|
#include <gdk/gdk.h>
|
2007-11-13 21:05:09 +00:00
|
|
|
#include <gdk/gdkprivate.h>
|
2006-03-21 08:02:17 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2010-06-27 08:32:12 +00:00
|
|
|
/* NSInteger only exists in Leopard and newer. This check has to be
|
|
|
|
* done after inclusion of the system headers. If NSInteger has not
|
|
|
|
* been defined, we know for sure that we are on 32-bit.
|
|
|
|
*/
|
|
|
|
#ifndef NSINTEGER_DEFINED
|
|
|
|
typedef int NSInteger;
|
|
|
|
typedef unsigned int NSUInteger;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CGFLOAT_DEFINED
|
|
|
|
typedef float CGFloat;
|
|
|
|
#endif
|
|
|
|
|
2011-08-13 22:29:11 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GDK_OSX_UNSUPPORTED = 0,
|
|
|
|
GDK_OSX_MIN = 4,
|
|
|
|
GDK_OSX_TIGER = 4,
|
|
|
|
GDK_OSX_LEOPARD = 5,
|
|
|
|
GDK_OSX_SNOW_LEOPARD = 6,
|
|
|
|
GDK_OSX_LION = 7,
|
2012-11-29 13:51:59 +00:00
|
|
|
GDK_OSX_MOUNTAIN_LION = 8,
|
2017-07-09 19:04:00 +00:00
|
|
|
GDK_OSX_MAVERICKS = 9,
|
|
|
|
GDK_OSX_YOSEMITE = 10,
|
|
|
|
GDK_OSX_EL_CAPITAN = 11,
|
|
|
|
GDK_OSX_SIERRA = 12,
|
2018-10-15 17:41:15 +00:00
|
|
|
GDK_OSX_HIGH_SIERRA = 13,
|
|
|
|
GDK_OSX_MOJAVE = 14,
|
|
|
|
GDK_OSX_CURRENT = 14,
|
2011-08-13 22:29:11 +00:00
|
|
|
GDK_OSX_NEW = 99
|
|
|
|
} GdkOSXVersion;
|
|
|
|
|
2013-03-15 09:58:39 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2011-08-13 22:29:11 +00:00
|
|
|
GdkOSXVersion gdk_quartz_osx_version (void);
|
|
|
|
|
2018-02-16 12:16:02 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2012-12-30 16:09:22 +00:00
|
|
|
GdkAtom gdk_quartz_pasteboard_type_to_atom_libgtk_only (NSString *type);
|
2018-02-16 12:16:02 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2012-12-30 16:09:22 +00:00
|
|
|
NSString *gdk_quartz_target_to_pasteboard_type_libgtk_only (const gchar *target);
|
2018-02-16 12:16:02 +00:00
|
|
|
GDK_AVAILABLE_IN_ALL
|
2012-12-30 16:09:22 +00:00
|
|
|
NSString *gdk_quartz_atom_to_pasteboard_type_libgtk_only (GdkAtom atom);
|
|
|
|
|
2006-03-21 08:02:17 +00:00
|
|
|
G_END_DECLS
|
2005-11-22 10:03:32 +00:00
|
|
|
|
2010-12-23 11:59:26 +00:00
|
|
|
#define __GDKQUARTZ_H_INSIDE__
|
|
|
|
|
|
|
|
#include <gdk/quartz/gdkquartzcursor.h>
|
|
|
|
#include <gdk/quartz/gdkquartzdevice-core.h>
|
|
|
|
#include <gdk/quartz/gdkquartzdevicemanager-core.h>
|
|
|
|
#include <gdk/quartz/gdkquartzdisplay.h>
|
|
|
|
#include <gdk/quartz/gdkquartzdisplaymanager.h>
|
|
|
|
#include <gdk/quartz/gdkquartzdnd.h>
|
|
|
|
#include <gdk/quartz/gdkquartzkeys.h>
|
2017-03-10 13:48:36 +00:00
|
|
|
#include <gdk/quartz/gdkquartzmonitor.h>
|
2010-12-23 11:59:26 +00:00
|
|
|
#include <gdk/quartz/gdkquartzscreen.h>
|
|
|
|
#include <gdk/quartz/gdkquartzutils.h>
|
|
|
|
#include <gdk/quartz/gdkquartzvisual.h>
|
|
|
|
#include <gdk/quartz/gdkquartzwindow.h>
|
|
|
|
|
|
|
|
#undef __GDKQUARTZ_H_INSIDE__
|
|
|
|
|
2005-11-22 10:03:32 +00:00
|
|
|
#endif /* __GDK_QUARTZ_H__ */
|