summaryrefslogtreecommitdiff
path: root/clutter/clutter-event-private.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-02-18 16:27:49 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-02-18 16:35:36 +0000
commit3e5aa9ed6348008bcbf21355e9e06bb50c90baf7 (patch)
treea1b2196181f8fa5eec8e99b84d816e1f34cddc40 /clutter/clutter-event-private.h
parentd27b335b61bba50ba6b156d32cf3bdf094181104 (diff)
downloadclutter-3e5aa9ed6348008bcbf21355e9e06bb50c90baf7.tar.gz
Add private header for event-related API
Diffstat (limited to 'clutter/clutter-event-private.h')
-rw-r--r--clutter/clutter-event-private.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/clutter/clutter-event-private.h b/clutter/clutter-event-private.h
new file mode 100644
index 000000000..d9673196d
--- /dev/null
+++ b/clutter/clutter-event-private.h
@@ -0,0 +1,28 @@
+#ifndef __CLUTTER_EVENT_PRIVATE_H__
+#define __CLUTTER_EVENT_PRIVATE_H__
+
+#include <clutter/clutter-event.h>
+
+G_BEGIN_DECLS
+
+/* Reinjecting queued events for processing */
+void _clutter_process_event (ClutterEvent *event);
+
+/* clears the event queue inside the main context */
+void _clutter_clear_events_queue (void);
+void _clutter_clear_events_queue_for_stage (ClutterStage *stage);
+
+void _clutter_event_set_platform_data (ClutterEvent *event,
+ gpointer data);
+gpointer _clutter_event_get_platform_data (const ClutterEvent *event);
+
+void _clutter_event_push (const ClutterEvent *event,
+ gboolean do_copy);
+void _clutter_event_set_device (ClutterEvent *event,
+ ClutterInputDevice *device);
+void _clutter_event_set_source_device (ClutterEvent *event,
+ ClutterInputDevice *device);
+
+G_END_DECLS
+
+#endif /* __CLUTTER_EVENT_PRIVATE_H__ */