ges: Use #pragma once everywhere

This commit is contained in:
Thibault Saunier 2020-03-17 18:13:51 -03:00
parent 0012c6a3b0
commit ff2180b284
72 changed files with 85 additions and 297 deletions

View file

@ -19,8 +19,7 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_ASSET_
#define _GES_ASSET_
#pragma once
#include <glib-object.h>
#include <ges/ges-extractable.h>
@ -145,4 +144,3 @@ gboolean ges_asset_needs_reload (GType extractable_type,
const gchar * id);
G_END_DECLS
#endif /* _GES_ASSET */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_AUDIO_SOURCE
#define _GES_AUDIO_SOURCE
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -68,5 +67,3 @@ struct _GESAudioSourceClass {
};
G_END_DECLS
#endif /* _GES_AUDIO_SOURCE */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_AUDIO_TEST_SOURCE
#define _GES_AUDIO_TEST_SOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -66,6 +65,3 @@ double ges_audio_test_source_get_freq(GESAudioTestSource *self);
GES_API
double ges_audio_test_source_get_volume(GESAudioTestSource *self);
G_END_DECLS
#endif /* _GES_AUDIO_TEST_SOURCE */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_AUDIO_TRACK_H_
#define _GES_AUDIO_TRACK_H_
#pragma once
#include <glib-object.h>
@ -52,5 +51,4 @@ struct _GESAudioTrack
GES_API
GESAudioTrack* ges_audio_track_new (void);
G_END_DECLS
#endif /* _GES_AUDIO_TRACK_H_ */
G_END_DECLS

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_AUDIO_TRANSITION
#define _GES_AUDIO_TRANSITION
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -56,6 +55,3 @@ GES_API
GESAudioTransition* ges_audio_transition_new (void);
G_END_DECLS
#endif /* _GES_TRACK_AUDIO_transition */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_AUDIO_URI_SOURCE
#define _GES_AUDIO_URI_SOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -54,6 +53,3 @@ struct _GESAudioUriSourceClass {
};
G_END_DECLS
#endif /* _GES_AUDIO_URI_SOURCE */

View file

@ -17,8 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.";
*/
#ifndef _GES_AUTO_TRANSITION_H_
#define _GES_AUTO_TRANSITION_H_
#pragma once
#include <glib-object.h>
#include "ges-track-element.h"
@ -68,5 +67,4 @@ G_GNUC_INTERNAL GESAutoTransition * ges_auto_transition_new (GESTrackElement * t
GESTrackElement * previous_source,
GESTrackElement * next_source);
G_END_DECLS
#endif /* _GES_AUTO_TRANSITION_H_ */
G_END_DECLS

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_BASE_EFFECT_CLIP
#define _GES_BASE_EFFECT_CLIP
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -54,5 +53,4 @@ struct _GESBaseEffectClipClass {
gpointer _ges_reserved[GES_PADDING];
};
G_END_DECLS
#endif /* _GES_BASE_EFFECT_CLIP */
G_END_DECLS

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_BASE_EFFECT
#define _GES_BASE_EFFECT
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -57,4 +56,3 @@ struct _GESBaseEffectClass
};
G_END_DECLS
#endif /* _GES_BASE_EFFECT */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_BASE_TRANSITION_CLIP
#define _GES_BASE_TRANSITION_CLIP
#pragma once
#include "ges-operation-clip.h"
@ -59,5 +58,3 @@ struct _GESBaseTransitionClipClass {
};
G_END_DECLS
#endif /* _GES_BASE_TRANSITION_CLIP */

View file

@ -20,8 +20,7 @@
#include "ges-formatter.h"
#ifndef GES_BASE_XML_FORMATTER_H
#define GES_BASE_XML_FORMATTER_H
#pragma once
G_BEGIN_DECLS
typedef struct _GESBaseXmlFormatter GESBaseXmlFormatter;
@ -61,4 +60,3 @@ struct _GESBaseXmlFormatterClass
};
G_END_DECLS
#endif /* _GES_BASE_XML_FORMATTER_H */

View file

@ -20,8 +20,7 @@
*/
#ifndef GES_CLIP_ASSET_H
#define GES_CLIP_ASSET_H
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -56,4 +55,3 @@ GES_API
GESTrackType ges_clip_asset_get_supported_formats (GESClipAsset *self);
G_END_DECLS
#endif /* _GES_CLIP_ASSET_H */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_CLIP
#define _GES_CLIP
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -186,5 +185,4 @@ gboolean ges_clip_set_top_effect_index (GESClip *clip, GESBaseEffect *effect,
GES_API
GESClip* ges_clip_split (GESClip *clip, guint64 position);
G_END_DECLS
#endif /* _GES_CLIP */
G_END_DECLS

View file

@ -18,8 +18,7 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_COMMAND_LINE_FORMATTER_H_
#define _GES_COMMAND_LINE_FORMATTER_H_
#pragma once
#include <glib-object.h>
#include "ges-formatter.h"
@ -48,6 +47,3 @@ GES_API
gchar * ges_command_line_formatter_get_help (gint nargs, gchar ** commands);
G_END_DECLS
#endif /* _GES_COMMAND_LINE_FORMATTER_H_ */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_CONTAINER
#define _GES_CONTAINER
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -157,4 +156,3 @@ gboolean ges_container_edit (GESContainer * container,
guint64 position);
G_END_DECLS
#endif /* _GES_CONTAINER */

View file

@ -18,8 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.";
*/
#ifndef _GES_EFFECT_ASSET_H_
#define _GES_EFFECT_ASSET_H_
#pragma once
#include <glib-object.h>
#include "ges-track-element-asset.h"
@ -46,6 +45,3 @@ struct _GESEffectAsset
};
G_END_DECLS
#endif /* _GES_EFFECT_ASSET_H_ */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_EFFECT_CLIP
#define _GES_EFFECT_CLIP
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -58,5 +57,4 @@ GES_API GESEffectClip *
ges_effect_clip_new (const gchar * video_bin_description,
const gchar * audio_bin_description);
G_END_DECLS
#endif /* _GES_EFFECT_CLIP */
G_END_DECLS

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_EFFECT
#define _GES_EFFECT
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -65,5 +64,4 @@ ges_effect_new (const gchar * bin_description);
GES_API gboolean
ges_effect_class_register_rate_property (GESEffectClass *klass, const gchar *element_name, const gchar *property_name);
G_END_DECLS
#endif /* _GES_EFFECT */
G_END_DECLS

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef __GES_ENUMS_H__
#define __GES_ENUMS_H__
#pragma once
#include <gst/gst.h>
#include <ges/ges-prelude.h>
@ -478,5 +477,3 @@ GType ges_edge_get_type (void);
GES_API
const gchar * ges_track_type_name (GESTrackType type);
G_END_DECLS
#endif /* __GES_ENUMS_H__ */

View file

@ -18,8 +18,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_EXTRACTABLE_
#define _GES_EXTRACTABLE_
#pragma once
typedef struct _GESExtractable GESExtractable;
@ -147,5 +146,4 @@ gboolean ges_extractable_set_asset (GESExtractable *self,
GES_API
gchar * ges_extractable_get_id (GESExtractable *self);
G_END_DECLS
#endif /* _GES_EXTRACTABLE_ */
G_END_DECLS

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_FORMATTER
#define _GES_FORMATTER
#pragma once
#include <glib-object.h>
#include <ges/ges-timeline.h>
@ -157,5 +156,3 @@ GES_API
GESAsset *ges_find_formatter_for_uri (const gchar *uri);
G_END_DECLS
#endif /* _GES_FORMATTER */

View file

@ -16,9 +16,7 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GES_ERROR_H__
#define __GES_ERROR_H__
#pragma once
/**
* SECTION: ges-gerror
@ -48,5 +46,4 @@ typedef enum
GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE,
} GESError;
G_END_DECLS
#endif /* __GES_ERROR_H__ */
G_END_DECLS

View file

@ -17,8 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef GES_GROUP_H
#define GES_GROUP_H
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -49,4 +48,3 @@ GES_API
GESGroup *ges_group_new (void);
G_END_DECLS
#endif /* _GES_GROUP_H */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_IMAGE_SOURCE
#define _GES_IMAGE_SOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -53,6 +52,3 @@ struct _GESImageSourceClass {
};
G_END_DECLS
#endif /* _GES_IMAGE_SOURCE */

View file

@ -18,8 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef __GES_INTERNAL_H__
#define __GES_INTERNAL_H__
#pragma once
#include <gst/gst.h>
#include <gst/pbutils/encoding-profile.h>
#include <gio/gio.h>
@ -504,5 +504,3 @@ G_GNUC_INTERNAL gboolean ges_nle_composition_remove_object (GstElement *comp, Gs
G_GNUC_INTERNAL gboolean ges_nle_object_commit (GstElement * nlesource, gboolean recurse);
G_END_DECLS
#endif /* __GES_INTERNAL_H__ */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_LAYER
#define _GES_LAYER
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -124,5 +123,3 @@ GES_API
GstClockTime ges_layer_get_duration (GESLayer *layer);
G_END_DECLS
#endif /* _GES_LAYER */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_MARKER_LIST
#define _GES_MARKER_LIST
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -56,5 +55,3 @@ GES_API
gboolean ges_marker_list_move (GESMarkerList *list, GESMarker *marker, GstClockTime position);
G_END_DECLS
#endif /* _GES_MARKER_LIST */

View file

@ -16,9 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_META_CONTAINER
#define _GES_META_CONTAINER
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -334,4 +332,3 @@ ges_meta_container_add_metas_from_string (GESMetaContainer *container,
const gchar *str);
G_END_DECLS
#endif /* _GES_META_CONTAINER */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_MULTI_FILE_SOURCE
#define _GES_MULTI_FILE_SOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -58,4 +57,3 @@ GESMultiFileSource *ges_multi_file_source_new (gchar * uri);
#define GES_MULTI_FILE_URI_PREFIX "multifile://"
G_END_DECLS
#endif /* _GES_MULTI_FILE_SOURCE */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_OPERATION_CLIP
#define _GES_OPERATION_CLIP
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -59,6 +58,3 @@ struct _GESOperationClipClass {
};
G_END_DECLS
#endif /* _GES_OPERATION_CLIP */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_OPERATION
#define _GES_OPERATION
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -61,5 +60,3 @@ struct _GESOperationClass {
};
G_END_DECLS
#endif /* _GES_OPERATION */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_OVERLAY_CLIP
#define _GES_OVERLAY_CLIP
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -57,6 +56,3 @@ struct _GESOverlayClipClass {
gpointer _ges_reserved[GES_PADDING];
};
G_END_DECLS
#endif /* _GES_OVERLAY_CLIP */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_PIPELINE
#define _GES_PIPELINE
#pragma once
#include <glib-object.h>
#include <ges/ges.h>
@ -104,6 +103,3 @@ ges_pipeline_preview_set_audio_sink (GESPipeline * self,
GstElement * sink);
G_END_DECLS
#endif /* _GES_PIPELINE */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_PITIVI_FORMATTER
#define _GES_PITIVI_FORMATTER
#pragma once
G_BEGIN_DECLS
@ -54,5 +53,3 @@ GES_API
GESPitiviFormatter *ges_pitivi_formatter_new (void);
G_END_DECLS
#endif /* _GES_PITIVI_FORMATTER */

View file

@ -18,9 +18,7 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GST_GES_PRELUDE_H__
#define __GST_GES_PRELUDE_H__
#pragma once
#include <gst/gst.h>
@ -39,5 +37,3 @@
#define GES_DEPRECATED G_DEPRECATED GES_API
#define GES_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GES_API
#endif
#endif /* __GST_GES_PRELUDE_H__ */

View file

@ -17,8 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_PROJECT_
#define _GES_PROJECT_
#pragma once
#include <glib-object.h>
#include <gio/gio.h>
@ -121,5 +120,3 @@ GES_API
void ges_project_add_formatter (GESProject * project, GESFormatter * formatter);
G_END_DECLS
#endif /* _GES_PROJECT */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef __GES_SCREENSHOT_H__
#define __GES_SCREENSHOT_H__
#pragma once
#include <gst/gst.h>
#include <ges/ges-prelude.h>
@ -30,5 +29,3 @@ GES_DEPRECATED GstSample *
ges_play_sink_convert_frame (GstElement * playsink, GstCaps * caps);
G_END_DECLS
#endif /* __GES_SCREENSHOT_H__ */

View file

@ -17,8 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.";
*/
#ifndef _GES_SMART_ADDER_H_
#define _GES_SMART_ADDER_H_
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -68,4 +67,3 @@ GES_API
GstElement* ges_smart_adder_new (GESTrack *track);
G_END_DECLS
#endif /* _GES_SMART_ADDER_H_ */

View file

@ -17,8 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.";
*/
#ifndef _GES_SMART_MIXER_H_
#define _GES_SMART_MIXER_H_
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -68,5 +67,4 @@ ges_smart_mixer_get_mixer_pad (GESSmartMixer *self, GstPad **mixerpad);
G_GNUC_INTERNAL
GstElement* ges_smart_mixer_new (GESTrack *track);
G_END_DECLS
#endif /* _GES_SMART_MIXER_H_ */
G_END_DECLS

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_SOURCE_CLIP
#define _GES_SOURCE_CLIP
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -60,6 +59,3 @@ struct _GESSourceClipClass {
};
G_END_DECLS
#endif /* _GES_SOURCE_CLIP */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_SOURCE
#define _GES_SOURCE
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -62,5 +61,3 @@ struct _GESSourceClass {
};
G_END_DECLS
#endif /* _GES_SOURCE */

View file

@ -17,8 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_STRUCTURE_PARSER_H
#define _GES_STRUCTURE_PARSER_H
#pragma once
#include <glib.h>
#include <gst/gst.h>
@ -61,5 +60,3 @@ G_GNUC_INTERNAL void ges_structure_parser_end_of_file (GESStructureParser *self)
G_GNUC_INTERNAL GESStructureParser *ges_structure_parser_new(void);
G_END_DECLS
#endif /* _GES_STRUCTURE_PARSER_H */

View file

@ -17,9 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GES_STRUCTURED_INTERFACE__
#define __GES_STRUCTURED_INTERFACE__
#pragma once
#include <ges/ges.h>
@ -60,5 +58,3 @@ G_GNUC_INTERNAL gboolean
_ges_save_timeline_if_needed (GESTimeline* timeline, GstStructure* structure, GError** error);
G_END_DECLS
#endif /* __GES_STRUCTURED_INTERFACE__*/

View file

@ -18,8 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TL_TESTSOURCE
#define _GES_TL_TESTSOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-enums.h>
@ -90,6 +90,3 @@ GES_API
GESTestClip* ges_test_clip_new_for_nick(gchar * nick);
G_END_DECLS
#endif /* _GES_TL_TESTSOURCE */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_OVERLAY_TEXT_CLIP
#define _GES_OVERLAY_TEXT_CLIP
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -113,4 +112,3 @@ GES_API
GESTextOverlayClip *ges_text_overlay_clip_new (void);
G_END_DECLS
#endif /* _GES_TL_OVERLAY */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TEXT_OVERLAY
#define _GES_TEXT_OVERLAY
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -99,4 +98,3 @@ GES_API
const gdouble ges_text_overlay_get_ypos (GESTextOverlay * self);
G_END_DECLS
#endif /* _GES_TEXT_OVERLAY */

View file

@ -17,8 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _GES_TIMELINE_ELEMENT_H_
#define _GES_TIMELINE_ELEMENT_H_
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -392,5 +391,3 @@ gboolean ges_timeline_element_edit (GESTimeli
GESEdge edge,
guint64 position);
G_END_DECLS
#endif /* _GES_TIMELINE_ELEMENT_H_ */

View file

@ -1,5 +1,4 @@
#ifndef __GES_TIMELINE_TREE__
#define __GES_TIMELINE_TREE__
#pragma once
#include <ges/ges.h>
#include "ges-auto-transition.h"
@ -75,5 +74,3 @@ void
timeline_update_duration (GESTimeline * timeline);
void timeline_tree_init_debug (void);
#endif // __GES_TIMELINE_TREE__

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TIMELINE
#define _GES_TIMELINE
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -150,6 +149,3 @@ GES_API
gboolean ges_timeline_move_layer (GESTimeline *timeline, GESLayer *layer, guint new_layer_priority);
G_END_DECLS
#endif /* _GES_TIMELINE */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TIMELINE_TITLESOURCE
#define _GES_TIMELINE_TITLESOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -107,6 +106,3 @@ GES_API
GESTitleClip* ges_title_clip_new (void);
G_END_DECLS
#endif /* _GES_TIMELINE_TITLESOURCE */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TITLE_SOURCE
#define _GES_TITLE_SOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -104,6 +103,3 @@ GES_API
const gdouble ges_title_source_get_ypos (GESTitleSource *source);
G_END_DECLS
#endif /* _GES_TITLE_SOURCE */

View file

@ -17,8 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_TRACK_ELEMENT_ASSET_
#define _GES_TRACK_ELEMENT_ASSET_
#pragma once
#include <glib-object.h>
#include <gio/gio.h>
@ -54,5 +53,3 @@ GES_API
void ges_track_element_asset_set_track_type (GESTrackElementAsset * asset, GESTrackType type);
G_END_DECLS
#endif /* _GES_TRACK_ELEMENT_ASSET */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TRACK_ELEMENT
#define _GES_TRACK_ELEMENT
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -175,4 +174,3 @@ ges_track_element_remove_control_binding (GESTrackElement * object,
#include "ges-track-element-deprecated.h"
G_END_DECLS
#endif /* _GES_TRACK_ELEMENT */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TRACK
#define _GES_TRACK
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -106,5 +105,3 @@ GES_API
GESTrack* ges_track_new (GESTrackType type, GstCaps * caps);
G_END_DECLS
#endif /* _GES_TRACK */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TRANSITION_CLIP
#define _GES_TRANSITION_CLIP
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -68,5 +67,3 @@ GES_API
GESTransitionClip *ges_transition_clip_new_for_nick (char *nick);
G_END_DECLS
#endif /* _GES_TRANSITION_CLIP */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TRANSITION
#define _GES_TRANSITION
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -63,5 +62,3 @@ struct _GESTransitionClass {
};
G_END_DECLS
#endif

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef __GES_TYPES_H__
#define __GES_TYPES_H__
#pragma once
#include <glib.h>
#include <ges/ges-prelude.h>
@ -226,5 +225,3 @@ typedef struct _GESXmlFormatter GESXmlFormatter;
G_GNUC_END_IGNORE_DEPRECATIONS
G_END_DECLS
#endif /* __GES_TYPES_H__ */

View file

@ -18,8 +18,8 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_URI_CLIP_ASSET_
#define _GES_URI_CLIP_ASSET_
#pragma once
#include <glib-object.h>
#include <gio/gio.h>
@ -109,5 +109,4 @@ const gchar * ges_uri_source_asset_get_stream_uri (GESUriSource
GES_API
const GESUriClipAsset *ges_uri_source_asset_get_filesource_asset (GESUriSourceAsset *asset);
G_END_DECLS
#endif /* _GES_URI_CLIP_ASSET */
G_END_DECLS

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_URI_CLIP
#define _GES_URI_CLIP
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -71,6 +70,3 @@ GES_API
GESUriClip* ges_uri_clip_new (const gchar *uri);
G_END_DECLS
#endif /* _GES_URI_CLIP */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_UTILS
#define _GES_UTILS
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -35,6 +34,3 @@ guint ges_pspec_hash (gconstpointer key_spec);
G_END_DECLS
#endif /* _GES_UTILS */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef __GES_VERSION_H__
#define __GES_VERSION_H__
#pragma once
G_BEGIN_DECLS
@ -28,5 +27,3 @@ G_BEGIN_DECLS
#define GES_VERSION_NANO (@GES_VERSION_NANO@)
G_END_DECLS
#endif /* __GES_H__ */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_VIDEO_SOURCE
#define _GES_VIDEO_SOURCE
#pragma once
#include <glib-object.h>
#include <gst/gst.h>
@ -78,5 +77,3 @@ GES_API
gboolean ges_video_source_get_natural_size(GESVideoSource* self, gint* width, gint* height);
G_END_DECLS
#endif /* _GES_VIDEO_SOURCE */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_VIDEO_TEST_SOURCE
#define _GES_VIDEO_TEST_SOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-enums.h>
@ -58,5 +57,3 @@ GES_API GESVideoTestPattern
ges_video_test_source_get_pattern (GESVideoTestSource *source);
G_END_DECLS
#endif /* _GES_VIDEO_TEST_SOURCE */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_VIDEO_TRACK_H_
#define _GES_VIDEO_TRACK_H_
#pragma once
#include <glib-object.h>
@ -52,4 +51,3 @@ GES_API
GESVideoTrack * ges_video_track_new (void);
G_END_DECLS
#endif /* _GES_VIDEO_TRACK_H_ */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_VIDEO_TRANSITION
#define _GES_VIDEO_TRANSITION
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -81,6 +80,3 @@ GES_API
gboolean ges_video_transition_is_inverted (GESVideoTransition * self);
G_END_DECLS
#endif /* _GES_TRACK_VIDEO_transition */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_VIDEO_URI_SOURCE
#define _GES_VIDEO_URI_SOURCE
#pragma once
#include <glib-object.h>
#include <ges/ges-types.h>
@ -54,6 +53,3 @@ struct _GESVideoUriSourceClass {
};
G_END_DECLS
#endif /* _GES_VIDEO_URI_SOURCE */

View file

@ -17,12 +17,10 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#pragma once
#include "ges-base-xml-formatter.h"
#ifndef GES_XML_FORMATTER_H
#define GES_XML_FORMATTER_H
G_BEGIN_DECLS
#define GES_TYPE_XML_FORMATTER (ges_xml_formatter_get_type ())
GES_DECLARE_TYPE(XmlFormatter, xml_formatter, XML_FORMATTER);
@ -44,4 +42,3 @@ struct _GESXmlFormatterClass
};
G_END_DECLS
#endif /* _GES_XML_FORMATTER_H */

View file

@ -18,8 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef __GES_H__
#define __GES_H__
#pragma once
#include <glib.h>
#include <gst/gst.h>
@ -112,5 +111,3 @@ GES_API
gboolean ges_is_initialized (void);
G_END_DECLS
#endif /* __GES_H__ */

View file

@ -21,8 +21,7 @@
*
*/
#ifndef __GES_BASE_BIN_H__
#define __GES_BASE_BIN_H__
#pragma once
#include <gst/gst.h>
#include <gst/base/gstflowcombiner.h>
@ -42,4 +41,3 @@ gboolean ges_base_bin_set_timeline (GESBaseBin * self, GESTimeline * timeline);
GESTimeline * ges_base_bin_get_timeline (GESBaseBin * self);
G_END_DECLS
#endif /* __GES_BASE_BIN_H__ */

View file

@ -18,9 +18,7 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_TEST_UTILS
#define _GES_TEST_UTILS
#pragma once
#include <ges/ges.h>
#include <gst/check/gstcheck.h>
@ -192,5 +190,3 @@ G_STMT_START { \
void print_timeline(GESTimeline *timeline);
#endif /* _GES_TEST_UTILS */

View file

@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef _GES_LAUNCHER
#define _GES_LAUNCHER
#pragma once
#include <ges/ges.h>
@ -68,5 +67,3 @@ gint ges_launcher_get_exit_status (GESLauncher *self);
gboolean ges_launcher_parse_options(GESLauncher* self, gchar*** arguments, gint *argc, GOptionContext* ctx, GError** error);
G_END_DECLS
#endif /* _GES_LAUNCHER */

View file

@ -17,8 +17,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _GES_VALIDATE_
#define _GES_VALIDATE_
#pragma once
#include <glib.h>
#include <gio/gio.h>
@ -40,5 +39,3 @@ void ges_validate_handle_request_state_change (GstMessage *message, GApplication
gint ges_validate_print_action_types (const gchar **types, gint num_types);
G_END_DECLS
#endif /* _GES_VALIDATE */