summaryrefslogtreecommitdiff
path: root/gdk/gdkdevicetoolprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-04-09 15:20:07 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-04-09 15:48:34 -0400
commit9044f78751b1f795257bcd35ac37b8d39b0ae3be (patch)
tree100421d831ccc4333d771ba3e370079465a92c71 /gdk/gdkdevicetoolprivate.h
parent6db7de3f7ba42d667c305d76aaef55f09e0c26d9 (diff)
downloadgtk+-9044f78751b1f795257bcd35ac37b8d39b0ae3be.tar.gz
Move GdkDeviceTool into its own files
Diffstat (limited to 'gdk/gdkdevicetoolprivate.h')
-rw-r--r--gdk/gdkdevicetoolprivate.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/gdk/gdkdevicetoolprivate.h b/gdk/gdkdevicetoolprivate.h
new file mode 100644
index 0000000000..ff9a40403e
--- /dev/null
+++ b/gdk/gdkdevicetoolprivate.h
@@ -0,0 +1,46 @@
+/* GDK - The GIMP Drawing Kit
+ * Copyright (C) 2009 Carlos Garnacho <carlosg@gnome.org>
+ *
+ * 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
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GDK_DEVICE_TOOL_PRIVATE_H__
+#define __GDK_DEVICE_TOOL_PRIVATE_H__
+
+#include "gdkdevicetool.h"
+
+G_BEGIN_DECLS
+
+typedef struct _GdkDeviceToolClass GdkDeviceToolClass;
+
+struct _GdkDeviceTool
+{
+ GObject parent_instance;
+ guint64 serial;
+ GdkDeviceToolType type;
+ GdkAxisFlags tool_axes;
+};
+
+struct _GdkDeviceToolClass
+{
+ GObjectClass parent_class;
+};
+
+GdkDeviceTool *gdk_device_tool_new (guint64 serial,
+ GdkDeviceToolType type,
+ GdkAxisFlags tool_axes);
+
+G_END_DECLS
+
+#endif /* __GDK_DEVICE_TOOL_PRIVATE_H__ */