summaryrefslogtreecommitdiff
path: root/gst/gstchildproxy.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-11 16:52:41 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-11 17:30:03 +0100
commit4a7c3b929add1c96b853c0c93676879345a77b8d (patch)
tree634de0ed084744c641bed697bbb9a0920a9d843f /gst/gstchildproxy.h
parent870a5b0e12a5da2564982803039c14490a764af9 (diff)
.h: fix header files
Ensure correct indentation and :retab. Make sure all structures have padding Fix up some old ABI additions.
Diffstat (limited to 'gst/gstchildproxy.h')
-rw-r--r--gst/gstchildproxy.h62
1 files changed, 36 insertions, 26 deletions
diff --git a/gst/gstchildproxy.h b/gst/gstchildproxy.h
index ebb2d14d97..fda5ce75f9 100644
--- a/gst/gstchildproxy.h
+++ b/gst/gstchildproxy.h
@@ -28,10 +28,10 @@
G_BEGIN_DECLS
-#define GST_TYPE_CHILD_PROXY (gst_child_proxy_get_type ())
-#define GST_CHILD_PROXY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_CHILD_PROXY, GstChildProxy))
-#define GST_IS_CHILD_PROXY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_CHILD_PROXY))
-#define GST_CHILD_PROXY_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_CHILD_PROXY, GstChildProxyInterface))
+#define GST_TYPE_CHILD_PROXY (gst_child_proxy_get_type ())
+#define GST_CHILD_PROXY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_CHILD_PROXY, GstChildProxy))
+#define GST_IS_CHILD_PROXY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_CHILD_PROXY))
+#define GST_CHILD_PROXY_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_CHILD_PROXY, GstChildProxyInterface))
/**
* GstChildProxy:
@@ -54,12 +54,12 @@ struct _GstChildProxyInterface
GTypeInterface parent;
/* methods */
- GstObject *(*get_child_by_index) (GstChildProxy * parent, guint index);
- guint (*get_children_count) (GstChildProxy * parent);
+ GstObject * (*get_child_by_index) (GstChildProxy * parent, guint index);
+ guint (*get_children_count) (GstChildProxy * parent);
/*< private >*/
/* signals */
- void (*child_added) (GstChildProxy * parent, GstObject * child);
- void (*child_removed) (GstChildProxy * parent, GstObject * child);
+ void (*child_added) (GstChildProxy * parent, GstObject * child);
+ void (*child_removed) (GstChildProxy * parent, GstObject * child);
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
@@ -67,24 +67,34 @@ struct _GstChildProxyInterface
GType gst_child_proxy_get_type (void);
-GstObject *gst_child_proxy_get_child_by_name (GstChildProxy * parent, const gchar * name);
-GstObject *gst_child_proxy_get_child_by_index (GstChildProxy * parent, guint index);
-guint gst_child_proxy_get_children_count (GstChildProxy * parent);
-
-gboolean gst_child_proxy_lookup (GstObject *object, const gchar *name,
- GstObject **target, GParamSpec **pspec);
-void gst_child_proxy_get_property (GstObject * object, const gchar *name, GValue *value);
-void gst_child_proxy_get_valist (GstObject * object,
- const gchar * first_property_name, va_list var_args);
-void gst_child_proxy_get (GstObject * object, const gchar * first_property_name,
- ...) G_GNUC_NULL_TERMINATED;
-void gst_child_proxy_set_property (GstObject * object, const gchar *name, const GValue *value);
-void gst_child_proxy_set_valist (GstObject* object,
- const gchar * first_property_name, va_list var_args);
-void gst_child_proxy_set (GstObject * object, const gchar * first_property_name,
- ...) G_GNUC_NULL_TERMINATED;
-void gst_child_proxy_child_added (GstObject * object, GstObject * child);
-void gst_child_proxy_child_removed (GstObject * object, GstObject * child);
+GstObject * gst_child_proxy_get_child_by_name (GstChildProxy * parent, const gchar * name);
+
+guint gst_child_proxy_get_children_count (GstChildProxy * parent);
+GstObject * gst_child_proxy_get_child_by_index (GstChildProxy * parent, guint index);
+
+gboolean gst_child_proxy_lookup (GstObject *object, const gchar *name,
+ GstObject **target, GParamSpec **pspec);
+
+void gst_child_proxy_get_property (GstObject * object, const gchar *name,
+ GValue *value);
+void gst_child_proxy_get_valist (GstObject * object,
+ const gchar * first_property_name,
+ va_list var_args);
+void gst_child_proxy_get (GstObject * object,
+ const gchar * first_property_name,
+ ...) G_GNUC_NULL_TERMINATED;
+
+void gst_child_proxy_set_property (GstObject * object, const gchar *name,
+ const GValue *value);
+void gst_child_proxy_set_valist (GstObject* object,
+ const gchar * first_property_name,
+ va_list var_args);
+void gst_child_proxy_set (GstObject * object,
+ const gchar * first_property_name,
+ ...) G_GNUC_NULL_TERMINATED;
+
+void gst_child_proxy_child_added (GstObject * object, GstObject * child);
+void gst_child_proxy_child_removed (GstObject * object, GstObject * child);
G_END_DECLS