ges: Include indentation fixes

This commit is contained in:
Edward Hervey 2011-05-06 19:36:35 +02:00
parent bca106e4b3
commit 88ab612df2
3 changed files with 99 additions and 68 deletions

View file

@ -203,20 +203,27 @@ struct _GESTimelineObjectClass {
GType ges_timeline_object_get_type (void); GType ges_timeline_object_get_type (void);
void ges_timeline_object_set_start (GESTimelineObject * object, guint64 start); /* Setters */
void ges_timeline_object_set_inpoint (GESTimelineObject * object, guint64 inpoint); void ges_timeline_object_set_start (GESTimelineObject * object,
void ges_timeline_object_set_duration (GESTimelineObject * object, guint64 duration); guint64 start);
void ges_timeline_object_set_priority (GESTimelineObject * object, guint priority); void ges_timeline_object_set_inpoint (GESTimelineObject * object,
guint64 inpoint);
void ges_timeline_object_set_duration (GESTimelineObject * object,
guint64 duration);
void ges_timeline_object_set_priority (GESTimelineObject * object,
guint priority);
void ges_timeline_object_set_layer (GESTimelineObject * object, void ges_timeline_object_set_layer (GESTimelineObject * object,
GESTimelineLayer * layer); GESTimelineLayer * layer);
/* TrackObject handling */
GESTrackObject * GESTrackObject *
ges_timeline_object_create_track_object (GESTimelineObject * object, ges_timeline_object_create_track_object (GESTimelineObject * object,
GESTrack * track); GESTrack * track);
gboolean ges_timeline_object_create_track_objects (GESTimelineObject * gboolean
object, GESTrack * track); ges_timeline_object_create_track_objects (GESTimelineObject * object,
GESTrack * track);
gboolean gboolean
ges_timeline_object_release_track_object (GESTimelineObject * object, ges_timeline_object_release_track_object (GESTimelineObject * object,
@ -234,13 +241,15 @@ ges_timeline_object_find_track_object (GESTimelineObject * object,
GList * GList *
ges_timeline_object_get_track_objects (GESTimelineObject *object); ges_timeline_object_get_track_objects (GESTimelineObject *object);
gboolean
ges_timeline_object_add_track_object (GESTimelineObject *object,
GESTrackObject *trobj);
/* Layer */
GESTimelineLayer * GESTimelineLayer *
ges_timeline_object_get_layer (GESTimelineObject *object); ges_timeline_object_get_layer (GESTimelineObject *object);
gboolean /* Effects */
ges_timeline_object_add_track_object (GESTimelineObject *object, GESTrackObject
*trobj);
GList * GList *
ges_timeline_object_get_top_effects (GESTimelineObject *object); ges_timeline_object_get_top_effects (GESTimelineObject *object);
@ -250,7 +259,8 @@ ges_timeline_object_get_top_effect_position (GESTimelineObject *object,
gboolean gboolean
ges_timeline_object_set_top_effect_priority (GESTimelineObject *object, ges_timeline_object_set_top_effect_priority (GESTimelineObject *object,
GESTrackEffect *effect, guint newpriority); GESTrackEffect *effect,
guint newpriority);
G_END_DECLS G_END_DECLS

View file

@ -72,8 +72,9 @@ struct _GESTimelineParseLaunchEffectClass {
GType ges_timeline_parse_launch_effect_get_type (void); GType ges_timeline_parse_launch_effect_get_type (void);
GESTimelineParseLaunchEffect *ges_timeline_parse_launch_effect_new (const gchar * GESTimelineParseLaunchEffect *
video_bin_description, const gchar * audio_bin_description); ges_timeline_parse_launch_effect_new (const gchar * video_bin_description,
const gchar * audio_bin_description);
G_END_DECLS G_END_DECLS
#endif /* _GES_TIMELINE_PARSE_LAUNCH_EFFECT */ #endif /* _GES_TIMELINE_PARSE_LAUNCH_EFFECT */

View file

@ -97,12 +97,13 @@ struct _GESTrackObject {
* GESTrackObjectClass: * GESTrackObjectClass:
* @gnlobject_factorytype: name of the GNonLin GStElementFactory type to use. * @gnlobject_factorytype: name of the GNonLin GStElementFactory type to use.
* @create_gnl_object: method to create the GNonLin container object. * @create_gnl_object: method to create the GNonLin container object.
* @get_props_hastable: method to list children properties that user could like to * @get_props_hastable: method to list children properties that user could like
* configure. * to configure.
* @list_children_properties: method to get children properties that user could like to * @list_children_properties: method to get children properties that user could
* configure. * like to configure.
* The default implementation will create an object of type @gnlobject_factorytype * The default implementation will create an object
* and call @create_element. * of type @gnlobject_factorytype and call
* @create_element.
* @create_element: method to return the GstElement to put in the gnlobject. * @create_element: method to return the GstElement to put in the gnlobject.
* @start_changed: start property of gnlobject has changed * @start_changed: start property of gnlobject has changed
* @media_start_changed: media-start property of gnlobject has changed * @media_start_changed: media-start property of gnlobject has changed
@ -123,7 +124,8 @@ struct _GESTrackObjectClass {
GstElement* (*create_gnl_object) (GESTrackObject * object); GstElement* (*create_gnl_object) (GESTrackObject * object);
GstElement* (*create_element) (GESTrackObject * object); GstElement* (*create_element) (GESTrackObject * object);
GHashTable* (*get_props_hastable) (GESTrackObject * object); GHashTable* (*get_props_hastable) (GESTrackObject * object);
GParamSpec** (*list_children_properties) (GESTrackObject *object, guint *n_properties); GParamSpec** (*list_children_properties) (GESTrackObject * object,
guint *n_properties);
void (*start_changed) (GESTrackObject *object, guint64 start); void (*start_changed) (GESTrackObject *object, guint64 start);
void (*media_start_changed) (GESTrackObject *object, guint64 media_start); void (*media_start_changed) (GESTrackObject *object, guint64 media_start);
@ -141,23 +143,32 @@ struct _GESTrackObjectClass {
GType ges_track_object_get_type (void); GType ges_track_object_get_type (void);
gboolean ges_track_object_set_track (GESTrackObject * object, GESTrack * track); gboolean ges_track_object_set_track (GESTrackObject * object,
GESTrack * track);
GESTrack* ges_track_object_get_track (GESTrackObject * object); GESTrack* ges_track_object_get_track (GESTrackObject * object);
void ges_track_object_set_timeline_object (GESTrackObject * object, GESTimelineObject * tlobject); void ges_track_object_set_timeline_object (GESTrackObject * object,
GESTimelineObject * ges_track_object_get_timeline_object (GESTrackObject* object); GESTimelineObject * tlobject);
GESTimelineObject *
ges_track_object_get_timeline_object (GESTrackObject* object);
GstElement * ges_track_object_get_gnlobject (GESTrackObject * object); GstElement * ges_track_object_get_gnlobject (GESTrackObject * object);
GstElement * ges_track_object_get_element (GESTrackObject * object); GstElement * ges_track_object_get_element (GESTrackObject * object);
void ges_track_object_set_locked (GESTrackObject * object, gboolean locked); void ges_track_object_set_locked (GESTrackObject * object,
gboolean locked);
gboolean ges_track_object_is_locked (GESTrackObject * object); gboolean ges_track_object_is_locked (GESTrackObject * object);
void ges_track_object_set_start (GESTrackObject * object, guint64 start); void ges_track_object_set_start (GESTrackObject * object,
void ges_track_object_set_inpoint (GESTrackObject * object, guint64 inpoint); guint64 start);
void ges_track_object_set_duration (GESTrackObject * object, guint64 duration); void ges_track_object_set_inpoint (GESTrackObject * object,
void ges_track_object_set_priority (GESTrackObject * object, guint32 priority); guint64 inpoint);
gboolean ges_track_object_set_active (GESTrackObject * object, gboolean active); void ges_track_object_set_duration (GESTrackObject * object,
guint64 duration);
void ges_track_object_set_priority (GESTrackObject * object,
guint32 priority);
gboolean ges_track_object_set_active (GESTrackObject * object,
gboolean active);
guint64 ges_track_object_get_start (GESTrackObject * object); guint64 ges_track_object_get_start (GESTrackObject * object);
guint64 ges_track_object_get_inpoint (GESTrackObject * object); guint64 ges_track_object_get_inpoint (GESTrackObject * object);
@ -165,24 +176,33 @@ guint64 ges_track_object_get_duration (GESTrackObject * object);
guint32 ges_track_object_get_priority (GESTrackObject * object); guint32 ges_track_object_get_priority (GESTrackObject * object);
gboolean ges_track_object_is_active (GESTrackObject * object); gboolean ges_track_object_is_active (GESTrackObject * object);
GParamSpec ** ges_track_object_list_children_properties (GESTrackObject *object, GParamSpec **
ges_track_object_list_children_properties (GESTrackObject *object,
guint *n_properties); guint *n_properties);
gboolean ges_track_object_lookup_child (GESTrackObject *object, gboolean ges_track_object_lookup_child (GESTrackObject *object,
const gchar *prop_name, GstElement **element, GParamSpec **pspec); const gchar *prop_name,
GstElement **element,
GParamSpec **pspec);
void ges_track_object_get_child_property_by_pspec (GESTrackObject * object, void ges_track_object_get_child_property_by_pspec (GESTrackObject * object,
GParamSpec * pspec, GValue * value); GParamSpec * pspec,
GValue * value);
void ges_track_object_get_child_property_valist (GESTrackObject * object, void ges_track_object_get_child_property_valist (GESTrackObject * object,
const gchar * first_property_name, va_list var_args); const gchar * first_property_name,
va_list var_args);
void ges_track_object_get_child_property (GESTrackObject *object, void ges_track_object_get_child_property (GESTrackObject *object,
const gchar * first_property_name, ...) G_GNUC_NULL_TERMINATED; const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
void ges_track_object_set_child_property_valist (GESTrackObject * object, void ges_track_object_set_child_property_valist (GESTrackObject * object,
const gchar * first_property_name, va_list var_args); const gchar * first_property_name,
va_list var_args);
void ges_track_object_set_child_property_by_pspec (GESTrackObject * object, void ges_track_object_set_child_property_by_pspec (GESTrackObject * object,
GParamSpec * pspec, GValue * value); GParamSpec * pspec,
GValue * value);
void ges_track_object_set_child_property (GESTrackObject * object, void ges_track_object_set_child_property (GESTrackObject * object,
const gchar * first_property_name, ...) G_GNUC_NULL_TERMINATED; const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
G_END_DECLS G_END_DECLS
#endif /* _GES_TRACK_OBJECT */ #endif /* _GES_TRACK_OBJECT */