diff options
author | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
commit | 39fd8a2dbd436cbabe5e336d1145b62c2a885ed5 (patch) | |
tree | 61df7da4a9d2b8bdb853af50a27219a8921bf5e4 /gst-libs/gst/colorbalance/colorbalance.h | |
parent | 1633bd8693c54cbc5f6648703a7ecf01548ec55f (diff) | |
download | gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.gz gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.tar.bz2 gst-plugins-bad-39fd8a2dbd436cbabe5e336d1145b62c2a885ed5.zip |
*.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
Diffstat (limited to 'gst-libs/gst/colorbalance/colorbalance.h')
-rw-r--r-- | gst-libs/gst/colorbalance/colorbalance.h | 46 |
1 files changed, 27 insertions, 19 deletions
diff --git a/gst-libs/gst/colorbalance/colorbalance.h b/gst-libs/gst/colorbalance/colorbalance.h index d0347579..d7b92171 100644 --- a/gst-libs/gst/colorbalance/colorbalance.h +++ b/gst-libs/gst/colorbalance/colorbalance.h @@ -27,6 +27,7 @@ #include <gst/colorbalance/colorbalance-enumtypes.h> G_BEGIN_DECLS + #define GST_TYPE_COLOR_BALANCE \ (gst_color_balance_get_type ()) #define GST_COLOR_BALANCE(obj) \ @@ -41,48 +42,55 @@ G_BEGIN_DECLS (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_COLOR_BALANCE)) #define GST_COLOR_BALANCE_GET_CLASS(inst) \ (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_COLOR_BALANCE, GstColorBalanceClass)) + #define GST_COLOR_BALANCE_TYPE(klass) (klass->balance_type) -typedef struct _GstColorBalance GstColorBalance; +typedef struct _GstColorBalance GstColorBalance; + typedef enum { GST_COLOR_BALANCE_HARDWARE, GST_COLOR_BALANCE_SOFTWARE } GstColorBalanceType; -typedef struct _GstColorBalanceClass -{ +typedef struct _GstColorBalanceClass { GTypeInterface klass; GstColorBalanceType balance_type; - + /* virtual functions */ - const GList *(*list_channels) (GstColorBalance * balance); + const GList * (* list_channels) (GstColorBalance *balance); - void (*set_value) (GstColorBalance * balance, - GstColorBalanceChannel * channel, gint value); - gint (*get_value) (GstColorBalance * balance, - GstColorBalanceChannel * channel); + void (* set_value) (GstColorBalance *balance, + GstColorBalanceChannel *channel, + gint value); + gint (* get_value) (GstColorBalance *balance, + GstColorBalanceChannel *channel); /* signals */ - void (*value_changed) (GstColorBalance * balance, - GstColorBalanceChannel * channel, gint value); + void (* value_changed) (GstColorBalance *balance, + GstColorBalanceChannel *channel, + gint value); gpointer _gst_reserved[GST_PADDING]; } GstColorBalanceClass; -GType gst_color_balance_get_type (void); +GType gst_color_balance_get_type (void); /* virtual class function wrappers */ -const GList *gst_color_balance_list_channels (GstColorBalance * balance); -void gst_color_balance_set_value (GstColorBalance * balance, - GstColorBalanceChannel * channel, gint value); -gint gst_color_balance_get_value (GstColorBalance * balance, - GstColorBalanceChannel * channel); +const GList * + gst_color_balance_list_channels (GstColorBalance *balance); +void gst_color_balance_set_value (GstColorBalance *balance, + GstColorBalanceChannel *channel, + gint value); +gint gst_color_balance_get_value (GstColorBalance *balance, + GstColorBalanceChannel *channel); /* trigger signal */ -void gst_color_balance_value_changed (GstColorBalance * balance, - GstColorBalanceChannel * channel, gint value); +void gst_color_balance_value_changed (GstColorBalance *balance, + GstColorBalanceChannel *channel, + gint value); G_END_DECLS + #endif /* __GST_COLOR_BALANCE_H__ */ |