]> Pileus Git - ~andy/gtk/blob - gdk/quartz/gdkdnd-quartz.h
quartz: use already existing current_button_state variable
[~andy/gtk] / gdk / quartz / gdkdnd-quartz.h
1 /* gdkdnd-quartz.h
2  *
3  * Copyright (C) 2005 Imendio AB
4  * Copyright (C) 2010  Kristian Rietveld  <kris@gtk.org>
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, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #ifndef __GDK_QUARTZ_DND__
23 #define __GDK_QUARTZ_DND__
24
25 #include <gdkdndprivate.h>
26 #include <gdkquartzdnd.h>
27
28 #include <AppKit/AppKit.h>
29
30 G_BEGIN_DECLS
31
32 struct _GdkQuartzDragContext
33 {
34   GdkDragContext context;
35
36   id <NSDraggingInfo> dragging_info;
37   GdkDevice *device;
38 };
39
40 struct _GdkQuartzDragContextClass
41 {
42   GdkDragContextClass context_class;
43 };
44
45 G_END_DECLS
46
47 #endif /* __GDK_QUARTZ_DND__ */