summaryrefslogtreecommitdiffstats
path: root/ext/aalib
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
committerJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
commit5acffea623eaa95469a8fb77260c85240c6c0a41 (patch)
tree5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /ext/aalib
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/aalib')
-rw-r--r--ext/aalib/gstaasink.h66
1 files changed, 31 insertions, 35 deletions
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 <aalib.h>
#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__ */