From 5acffea623eaa95469a8fb77260c85240c6c0a41 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 15 Mar 2004 16:32:54 +0000 Subject: *.h: Revert indenting Original commit message from CVS: * *.h: Revert indenting --- ext/aalib/gstaasink.h | 66 ++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 35 deletions(-) (limited to 'ext/aalib') diff --git a/ext/aalib/gstaasink.h b/ext/aalib/gstaasink.h index d11ff20e..e50362f6 100644 --- a/ext/aalib/gstaasink.h +++ b/ext/aalib/gstaasink.h @@ -26,9 +26,8 @@ #include #ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ +extern "C" { +#endif /* __cplusplus */ #define GST_TYPE_AASINK \ @@ -42,51 +41,48 @@ extern "C" #define GST_IS_AASINK_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AASINK)) - typedef enum - { - GST_AASINK_OPEN = GST_ELEMENT_FLAG_LAST, +typedef enum { + GST_AASINK_OPEN = GST_ELEMENT_FLAG_LAST, - GST_AASINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, - } GstAASinkFlags; + GST_AASINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, +} GstAASinkFlags; - typedef struct _GstAASink GstAASink; - typedef struct _GstAASinkClass GstAASinkClass; +typedef struct _GstAASink GstAASink; +typedef struct _GstAASinkClass GstAASinkClass; - struct _GstAASink - { - GstElement element; +struct _GstAASink { + GstElement element; - GstPad *sinkpad; + GstPad *sinkpad; - gulong format; - gint width, height; + gulong format; + gint width, height; - gint frames_displayed; - guint64 frame_time; + gint frames_displayed; + guint64 frame_time; - GstClock *clock; + GstClock *clock; - aa_context *context; - struct aa_hardware_params ascii_surf; - struct aa_renderparams ascii_parms; - aa_palette palette; - gint aa_driver; - }; + aa_context *context; + struct aa_hardware_params ascii_surf; + struct aa_renderparams ascii_parms; + aa_palette palette; + gint aa_driver; +}; - struct _GstAASinkClass - { - GstElementClass parent_class; +struct _GstAASinkClass { + GstElementClass parent_class; - /* signals */ - void (*frame_displayed) (GstElement * element); - void (*have_size) (GstElement * element, guint width, guint height); - }; + /* signals */ + void (*frame_displayed) (GstElement *element); + void (*have_size) (GstElement *element, guint width, guint height); +}; - GType gst_aasink_get_type (void); +GType gst_aasink_get_type(void); #ifdef __cplusplus } -#endif /* __cplusplus */ +#endif /* __cplusplus */ -#endif /* __GST_AASINKE_H__ */ +#endif /* __GST_AASINKE_H__ */ -- cgit