summaryrefslogtreecommitdiff
path: root/cogl/cogl-types.h
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-06-28 13:38:50 +0100
committerRobert Bragg <robert@linux.intel.com>2011-06-30 14:33:13 +0100
commit3b64a439f08dd9fceebfdf5243c434334c9e61c2 (patch)
tree79037da76527791748c86c524236bcd8e1802a27 /cogl/cogl-types.h
parentf0a28f4287d509be8e9a320ad4c29ec2319490da (diff)
downloadcogl-3b64a439f08dd9fceebfdf5243c434334c9e61c2.tar.gz
replace public native_event APIs with typesafe APIs
This adds Xlib and Win32 typesafe replacements for cogl_renderer_handle_native_event, cogl_renderer_add_native_filter, cogl_renderer_remove_native_filter. The old functions are kept as an implementation detail so we can share code. Signed-off-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl-types.h')
-rw-r--r--cogl/cogl-types.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/cogl/cogl-types.h b/cogl/cogl-types.h
index ab610c17..55f22969 100644
--- a/cogl/cogl-types.h
+++ b/cogl/cogl-types.h
@@ -671,28 +671,6 @@ typedef enum _CoglWinsysFeature
COGL_WINSYS_FEATURE_N_FEATURES
} CoglWinsysFeature;
-/* XXX: Note these enum types are only referenced by experimental API
- * so although they aren't explicitly guarded they are implicitly
- * experimental too. */
-
-/*
- * CoglNativeFilterFunc:
- * @native_event: A pointer to the native system event
- * @data: The data that was given when the filter was added
- *
- * A callback function that can be registered with
- * cogl_renderer_add_native_filter(). The function should return
- * %COGL_FILTER_REMOVE if it wants to prevent further processing or
- * %COGL_FILTER_CONTINUE otherwise.
- *
- * The type that @native_event points to depends on the type of the
- * underlying renderer. On xlib based renderers this would point to an
- * XEvent struct and on Windows it would point to a MSG struct.
- */
-typedef CoglFilterReturn (* CoglNativeFilterFunc) (void *native_event,
- void *data);
-
-
G_END_DECLS
#endif /* __COGL_TYPES_H__ */