Debian Codegraph @

gdk/quartz/gdkquartzdnd.h

raw
1 /* gdkquartzdnd.h
2 *
3 * Copyright (C) 2010 Kristian Rietveld <[email protected]>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #ifndef __GDK_QUARTZ_DND_H__
20 #define __GDK_QUARTZ_DND_H__
21
22 #if !defined (GTK_COMPILATION) && !defined (GDK_COMPILATION)
23 #error "gdkquartzdnd.h is for Gtk's internal use only"
24 #endif
25
26 #include <gdk/gdk.h>
27
28 G_BEGIN_DECLS
29
30 #define GDK_TYPE_QUARTZ_DRAG_CONTEXT (gdk_quartz_drag_context_get_type ())
31 #define GDK_QUARTZ_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_QUARTZ_DRAG_CONTEXT, GdkQuartzDragContext))
32 #define GDK_QUARTZ_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_QUARTZ_DRAG_CONTEXT, GdkQuartzDragContextClass))
33 #define GDK_IS_QUARTZ_DRAG_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_QUARTZ_DRAG_CONTEXT))
34 #define GDK_IS_QUARTZ_DRAG_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_QUARTZ_DRAG_CONTEXT))
35 #define GDK_QUARTZ_DRAG_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_QUARTZ_DRAG_CONTEXT, GdkQuartzDragContextClass))
36
37 #ifdef GDK_COMPILATION
38 typedef struct _GdkQuartzDragContext GdkQuartzDragContext;
39 #else
40 typedef GdkDragContext GdkQuartzDragContext;
41 #endif
42 typedef struct _GdkQuartzDragContextClass GdkQuartzDragContextClass;
43
44
45 GDK_AVAILABLE_IN_ALL
46 GType gdk_quartz_drag_context_get_type (void);
47
48 GDK_AVAILABLE_IN_ALL
49 id gdk_quartz_drag_context_get_dragging_info_libgtk_only (GdkDragContext *context);
50
51 GDK_AVAILABLE_IN_ALL
52 GdkDragContext *gdk_quartz_drag_source_context_libgtk_only (void);
53
54 GDK_AVAILABLE_IN_3_24
55 void _gdk_quartz_drag_source_context_destroy_gtk_only ();
56
57 G_END_DECLS
58
59 #endif /* __GDK_QUARTZ_DRAG_CONTEXT_H__ */