diff options
Diffstat (limited to 'gdk/gdkdeviceprivate.h')
-rw-r--r-- | gdk/gdkdeviceprivate.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h index bdfc93a1e0..a0dad3ce46 100644 --- a/gdk/gdkdeviceprivate.h +++ b/gdk/gdkdeviceprivate.h @@ -30,8 +30,20 @@ G_BEGIN_DECLS #define GDK_DEVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDK_TYPE_DEVICE, GdkDeviceClass)) typedef struct _GdkDeviceClass GdkDeviceClass; +typedef struct _GdkDeviceToolClass GdkDeviceToolClass; typedef struct _GdkDeviceKey GdkDeviceKey; +struct _GdkDeviceTool +{ + GObject parent_instance; + guint64 serial; +}; + +struct _GdkDeviceToolClass +{ + GObjectClass parent_class; +}; + struct _GdkDeviceKey { guint keyval; @@ -184,6 +196,9 @@ GdkWindow * _gdk_device_window_at_position (GdkDevice *device, void gdk_device_set_seat (GdkDevice *device, GdkSeat *seat); +/* Device tools */ +GdkDeviceTool *gdk_device_tool_new (guint64 serial); + G_END_DECLS #endif /* __GDK_DEVICE_PRIVATE_H__ */ |