summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-03-13 13:45:24 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-03-13 13:45:35 +0000
commit3d1c00fbcd6a0d2b45bfffe8300479c65376075a (patch)
tree03d37d8d9f9222aa020f855b1f864e3ce7e4303f
parenteff9363d3c21e4b4740f9acce0fdc0db9a8ddd74 (diff)
ges: GST_EXPORT -> GST_GES_API
We need different export decorators for the different libs. For now no actual change though, just rename before the release, and add prelude headers to define the new decorator to GST_EXPORT.
-rw-r--r--docs/libs/meson.build2
-rw-r--r--ges/Makefile.am1
-rw-r--r--ges/ges-asset.h30
-rw-r--r--ges/ges-audio-source.h2
-rw-r--r--ges/ges-audio-test-source.h10
-rw-r--r--ges/ges-audio-track.h4
-rw-r--r--ges/ges-audio-transition.h4
-rw-r--r--ges/ges-audio-uri-source.h2
-rw-r--r--ges/ges-base-effect-clip.h2
-rw-r--r--ges/ges-base-effect.h2
-rw-r--r--ges/ges-base-transition-clip.h2
-rw-r--r--ges/ges-base-xml-formatter.h2
-rw-r--r--ges/ges-clip-asset.h6
-rw-r--r--ges/ges-clip.h28
-rw-r--r--ges/ges-command-line-formatter.h4
-rw-r--r--ges/ges-container.h14
-rw-r--r--ges/ges-effect-asset.h2
-rw-r--r--ges/ges-effect-clip.h4
-rw-r--r--ges/ges-effect.h6
-rw-r--r--ges/ges-enums.h21
-rw-r--r--ges/ges-extractable.h8
-rw-r--r--ges/ges-formatter.h14
-rw-r--r--ges/ges-group.h4
-rw-r--r--ges/ges-image-source.h2
-rw-r--r--ges/ges-internal.h4
-rw-r--r--ges/ges-layer.h30
-rw-r--r--ges/ges-meta-container.h76
-rw-r--r--ges/ges-multi-file-source.h4
-rw-r--r--ges/ges-operation-clip.h2
-rw-r--r--ges/ges-operation.h2
-rw-r--r--ges/ges-overlay-clip.h2
-rw-r--r--ges/ges-pipeline.h26
-rw-r--r--ges/ges-pitivi-formatter.h4
-rw-r--r--ges/ges-prelude.h31
-rw-r--r--ges/ges-project.h30
-rw-r--r--ges/ges-screenshot.h3
-rw-r--r--ges/ges-smart-adder.h4
-rw-r--r--ges/ges-source-clip.h2
-rw-r--r--ges/ges-source.h2
-rw-r--r--ges/ges-test-clip.h22
-rw-r--r--ges/ges-text-overlay-clip.h32
-rw-r--r--ges/ges-text-overlay.h32
-rw-r--r--ges/ges-timeline-element.h76
-rw-r--r--ges/ges-timeline.h52
-rw-r--r--ges/ges-title-clip.h36
-rw-r--r--ges/ges-title-source.h34
-rw-r--r--ges/ges-track-element-asset.h6
-rw-r--r--ges/ges-track-element.h50
-rw-r--r--ges/ges-track.h28
-rw-r--r--ges/ges-transition-clip.h6
-rw-r--r--ges/ges-transition.h2
-rw-r--r--ges/ges-types.h1
-rw-r--r--ges/ges-uri-asset.h24
-rw-r--r--ges/ges-uri-clip.h14
-rw-r--r--ges/ges-utils.h6
-rw-r--r--ges/ges-video-source.h2
-rw-r--r--ges/ges-video-test-source.h6
-rw-r--r--ges/ges-video-track.h4
-rw-r--r--ges/ges-video-transition.h16
-rw-r--r--ges/ges-video-uri-source.h2
-rw-r--r--ges/ges-xml-formatter.h2
-rw-r--r--ges/ges.h14
-rw-r--r--ges/meson.build1
63 files changed, 452 insertions, 414 deletions
diff --git a/docs/libs/meson.build b/docs/libs/meson.build
index a4d6f39a..e787fb98 100644
--- a/docs/libs/meson.build
+++ b/docs/libs/meson.build
@@ -20,7 +20,7 @@ gnome.gtkdoc('ges',
main_sgml : 'ges-docs.sgml',
src_dir : '@0@/../../ges'.format(meson.current_source_dir()),
scan_args : ['--deprecated-guards=GST_DISABLE_DEPRECATED',
- '--ignore-decorators=GST_EXPORT',
+ '--ignore-decorators=GES_API',
'--ignore-headers=gesmarshal.h ges-internal.h ges-auto-transition.h ges-structured-interface.h ges-structure-parser.h ges-smart-video-mixer.h gstframepositioner.h'
],
scanobjs_args : ['--type-init-func="gst_init(NULL,NULL)"'],
diff --git a/ges/Makefile.am b/ges/Makefile.am
index cdd2c086..797a7401 100644
--- a/ges/Makefile.am
+++ b/ges/Makefile.am
@@ -84,6 +84,7 @@ libges_@GST_API_VERSION@include_HEADERS = \
$(built_header_make) \
ges-types.h \
ges.h \
+ ges-prelude.h \
ges-enums.h \
ges-gerror.h \
ges-meta-container.h \
diff --git a/ges/ges-asset.h b/ges/ges-asset.h
index 1c298289..ecfc6b91 100644
--- a/ges/ges-asset.h
+++ b/ges/ges-asset.h
@@ -51,7 +51,7 @@ typedef enum
typedef struct _GESAssetPrivate GESAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_asset_get_type (void);
struct _GESAsset
@@ -89,43 +89,43 @@ struct _GESAssetClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_asset_get_extractable_type (GESAsset * self);
-GST_EXPORT
+GST_GES_API
void ges_asset_request_async (GType extractable_type,
const gchar * id,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_request (GType extractable_type,
const gchar * id,
GError **error);
-GST_EXPORT
+GST_GES_API
const gchar * ges_asset_get_id (GESAsset* self);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_request_finish (GAsyncResult *res,
GError **error);
-GST_EXPORT
+GST_GES_API
GError * ges_asset_get_error (GESAsset * self);
-GST_EXPORT
+GST_GES_API
GESExtractable * ges_asset_extract (GESAsset * self,
GError **error);
-GST_EXPORT
+GST_GES_API
GList * ges_list_assets (GType filter);
-GST_EXPORT
+GST_GES_API
gboolean ges_asset_set_proxy (GESAsset *asset, GESAsset *proxy);
-GST_EXPORT
+GST_GES_API
gboolean ges_asset_unproxy (GESAsset *asset, GESAsset * proxy);
-GST_EXPORT
+GST_GES_API
GList * ges_asset_list_proxies (GESAsset *asset);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_get_proxy_target(GESAsset *proxy);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_asset_get_proxy (GESAsset *asset);
-GST_EXPORT
+GST_GES_API
gboolean ges_asset_needs_reload (GType extractable_type,
const gchar * id);
diff --git a/ges/ges-audio-source.h b/ges/ges-audio-source.h
index cb536453..61a8aba3 100644
--- a/ges/ges-audio-source.h
+++ b/ges/ges-audio-source.h
@@ -83,7 +83,7 @@ struct _GESAudioSourceClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_source_get_type (void);
G_END_DECLS
diff --git a/ges/ges-audio-test-source.h b/ges/ges-audio-test-source.h
index 80e27cca..a66fa8d7 100644
--- a/ges/ges-audio-test-source.h
+++ b/ges/ges-audio-test-source.h
@@ -70,21 +70,21 @@ struct _GESAudioTestSourceClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_test_source_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_audio_test_source_set_freq(GESAudioTestSource *self,
gdouble freq);
-GST_EXPORT
+GST_GES_API
void ges_audio_test_source_set_volume(GESAudioTestSource *self,
gdouble volume);
-GST_EXPORT
+GST_GES_API
double ges_audio_test_source_get_freq(GESAudioTestSource *self);
-GST_EXPORT
+GST_GES_API
double ges_audio_test_source_get_volume(GESAudioTestSource *self);
G_END_DECLS
diff --git a/ges/ges-audio-track.h b/ges/ges-audio-track.h
index 333b1522..3767f1b4 100644
--- a/ges/ges-audio-track.h
+++ b/ges/ges-audio-track.h
@@ -54,9 +54,9 @@ struct _GESAudioTrack
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_track_get_type (void) G_GNUC_CONST;
-GST_EXPORT
+GST_GES_API
GESAudioTrack* ges_audio_track_new (void);
G_END_DECLS
diff --git a/ges/ges-audio-transition.h b/ges/ges-audio-transition.h
index 430eb970..2b8d7d97 100644
--- a/ges/ges-audio-transition.h
+++ b/ges/ges-audio-transition.h
@@ -68,10 +68,10 @@ struct _GESAudioTransitionClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_transition_get_type (void);
-GST_EXPORT
+GST_GES_API
GESAudioTransition* ges_audio_transition_new (void);
G_END_DECLS
diff --git a/ges/ges-audio-uri-source.h b/ges/ges-audio-uri-source.h
index 798483a6..71767ddd 100644
--- a/ges/ges-audio-uri-source.h
+++ b/ges/ges-audio-uri-source.h
@@ -69,7 +69,7 @@ struct _GESAudioUriSourceClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_audio_uri_source_get_type (void);
G_END_DECLS
diff --git a/ges/ges-base-effect-clip.h b/ges/ges-base-effect-clip.h
index 7863d474..db1fa955 100644
--- a/ges/ges-base-effect-clip.h
+++ b/ges/ges-base-effect-clip.h
@@ -70,7 +70,7 @@ struct _GESBaseEffectClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_base_effect_clip_get_type (void);
G_END_DECLS
diff --git a/ges/ges-base-effect.h b/ges/ges-base-effect.h
index f208f916..4d687dfe 100644
--- a/ges/ges-base-effect.h
+++ b/ges/ges-base-effect.h
@@ -68,7 +68,7 @@ struct _GESBaseEffectClass
};
-GST_EXPORT
+GST_GES_API
GType ges_base_effect_get_type (void);
G_END_DECLS
diff --git a/ges/ges-base-transition-clip.h b/ges/ges-base-transition-clip.h
index c6f11ae5..22ffd439 100644
--- a/ges/ges-base-transition-clip.h
+++ b/ges/ges-base-transition-clip.h
@@ -74,7 +74,7 @@ struct _GESBaseTransitionClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_base_transition_clip_get_type (void);
G_END_DECLS
diff --git a/ges/ges-base-xml-formatter.h b/ges/ges-base-xml-formatter.h
index 960b2805..c9eb73b2 100644
--- a/ges/ges-base-xml-formatter.h
+++ b/ges/ges-base-xml-formatter.h
@@ -64,7 +64,7 @@ struct _GESBaseXmlFormatterClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_base_xml_formatter_get_type (void);
G_END_DECLS
diff --git a/ges/ges-clip-asset.h b/ges/ges-clip-asset.h
index 1146e7e2..e704a80f 100644
--- a/ges/ges-clip-asset.h
+++ b/ges/ges-clip-asset.h
@@ -55,12 +55,12 @@ struct _GESClipAssetClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_clip_asset_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_clip_asset_set_supported_formats (GESClipAsset *self,
GESTrackType supportedformats);
-GST_EXPORT
+GST_GES_API
GESTrackType ges_clip_asset_get_supported_formats (GESClipAsset *self);
G_END_DECLS
diff --git a/ges/ges-clip.h b/ges/ges-clip.h
index 08737362..eedf4ca5 100644
--- a/ges/ges-clip.h
+++ b/ges/ges-clip.h
@@ -137,53 +137,53 @@ struct _GESClipClass
/****************************************************
* Standard *
****************************************************/
-GST_EXPORT
+GST_GES_API
GType ges_clip_get_type (void);
/****************************************************
* TrackElement handling *
****************************************************/
-GST_EXPORT
+GST_GES_API
GESTrackType ges_clip_get_supported_formats (GESClip *clip);
-GST_EXPORT
+GST_GES_API
void ges_clip_set_supported_formats (GESClip *clip, GESTrackType supportedformats);
-GST_EXPORT
+GST_GES_API
GESTrackElement* ges_clip_add_asset (GESClip *clip, GESAsset *asset);
-GST_EXPORT
+GST_GES_API
GESTrackElement* ges_clip_find_track_element (GESClip *clip, GESTrack *track,
GType type);
-GST_EXPORT
+GST_GES_API
GList * ges_clip_find_track_elements (GESClip * clip, GESTrack * track,
GESTrackType track_type, GType type);
/****************************************************
* Layer *
****************************************************/
-GST_EXPORT
+GST_GES_API
GESLayer* ges_clip_get_layer (GESClip *clip);
-GST_EXPORT
+GST_GES_API
gboolean ges_clip_move_to_layer (GESClip *clip, GESLayer *layer);
/****************************************************
* Effects *
****************************************************/
-GST_EXPORT
+GST_GES_API
GList* ges_clip_get_top_effects (GESClip *clip);
-GST_EXPORT
+GST_GES_API
gint ges_clip_get_top_effect_position (GESClip *clip, GESBaseEffect *effect);
-GST_EXPORT
+GST_GES_API
gint ges_clip_get_top_effect_index (GESClip *clip, GESBaseEffect *effect);
-GST_EXPORT
+GST_GES_API
gboolean ges_clip_set_top_effect_priority (GESClip *clip, GESBaseEffect *effect,
guint newpriority);
-GST_EXPORT
+GST_GES_API
gboolean ges_clip_set_top_effect_index (GESClip *clip, GESBaseEffect *effect,
guint newindex);
/****************************************************
* Editing *
****************************************************/
-GST_EXPORT
+GST_GES_API
GESClip* ges_clip_split (GESClip *clip, guint64 position);
G_END_DECLS
diff --git a/ges/ges-command-line-formatter.h b/ges/ges-command-line-formatter.h
index 52ca29bf..9033f5df 100644
--- a/ges/ges-command-line-formatter.h
+++ b/ges/ges-command-line-formatter.h
@@ -50,9 +50,9 @@ struct _GESCommandLineFormatter
GESCommandLineFormatterPrivate *priv;
};
-GST_EXPORT
+GST_GES_API
GType ges_command_line_formatter_get_type (void);
-GST_EXPORT
+GST_GES_API
gchar * ges_command_line_formatter_get_help (gint nargs, gchar ** commands);
G_END_DECLS
diff --git a/ges/ges-container.h b/ges/ges-container.h
index aedfd91f..6673bff8 100644
--- a/ges/ges-container.h
+++ b/ges/ges-container.h
@@ -134,22 +134,22 @@ struct _GESContainerClass
gpointer _ges_reserved[GES_PADDING_LARGE];
};
-GST_EXPORT
+GST_GES_API
GType ges_container_get_type (void);
/* Children handling */
-GST_EXPORT
+GST_GES_API
GList* ges_container_get_children (GESContainer *container, gboolean recursive);
-GST_EXPORT
+GST_GES_API
gboolean ges_container_add (GESContainer *container, GESTimelineElement *child);
-GST_EXPORT
+GST_GES_API
gboolean ges_container_remove (GESContainer *container, GESTimelineElement *child);
-GST_EXPORT
+GST_GES_API
GList * ges_container_ungroup (GESContainer * container, gboolean recursive);
-GST_EXPORT
+GST_GES_API
GESContainer *ges_container_group (GList *containers);
-GST_EXPORT
+GST_GES_API
gboolean ges_container_edit (GESContainer * container,
GList * layers, gint new_layer_priority,
GESEditMode mode,
diff --git a/ges/ges-effect-asset.h b/ges/ges-effect-asset.h
index 3e252a45..93117a26 100644
--- a/ges/ges-effect-asset.h
+++ b/ges/ges-effect-asset.h
@@ -54,7 +54,7 @@ struct _GESEffectAsset
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_effect_asset_get_type (void) G_GNUC_CONST;
G_END_DECLS
diff --git a/ges/ges-effect-clip.h b/ges/ges-effect-clip.h
index 8043b338..f00dc2d4 100644
--- a/ges/ges-effect-clip.h
+++ b/ges/ges-effect-clip.h
@@ -70,10 +70,10 @@ struct _GESEffectClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_effect_clip_get_type (void);
-GST_EXPORT GESEffectClip *
+GST_GES_API GESEffectClip *
ges_effect_clip_new (const gchar * video_bin_description,
const gchar * audio_bin_description);
diff --git a/ges/ges-effect.h b/ges/ges-effect.h
index 53483d92..9e8f9961 100644
--- a/ges/ges-effect.h
+++ b/ges/ges-effect.h
@@ -76,13 +76,13 @@ struct _GESEffectClass
};
-GST_EXPORT
+GST_GES_API
GType ges_effect_get_type (void);
-GST_EXPORT GESEffect*
+GST_GES_API GESEffect*
ges_effect_new (const gchar * bin_description);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_effect_class_register_rate_property (GESEffectClass *klass, const gchar *element_name, const gchar *property_name);
G_END_DECLS
diff --git a/ges/ges-enums.h b/ges/ges-enums.h
index c5b14978..7cd03c27 100644
--- a/ges/ges-enums.h
+++ b/ges/ges-enums.h
@@ -22,11 +22,12 @@
#define __GES_ENUMS_H__
#include <gst/gst.h>
+#include <ges/ges-prelude.h>
G_BEGIN_DECLS
#define GES_TYPE_TRACK_TYPE (ges_track_type_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_track_type_get_type (void);
/**
@@ -54,7 +55,7 @@ typedef enum {
} GESTrackType;
#define GES_META_FLAG_TYPE (ges_meta_flag_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_meta_flag_get_type (void);
/**
@@ -224,7 +225,7 @@ typedef enum {
#define GES_VIDEO_STANDARD_TRANSITION_TYPE_TYPE \
(ges_video_standard_transition_type_get_type())
-GST_EXPORT
+GST_GES_API
GType ges_video_standard_transition_type_get_type (void);
/**
@@ -251,7 +252,7 @@ typedef enum {
#define GES_TEXT_VALIGN_TYPE\
(ges_text_valign_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_text_valign_get_type (void);
/**
@@ -276,7 +277,7 @@ typedef enum {
#define GES_TEXT_HALIGN_TYPE\
(ges_text_halign_get_type ())
-GST_EXPORT
+GST_GES_API
GType ges_text_halign_get_type (void);
/**
@@ -328,7 +329,7 @@ typedef enum {
#define GES_VIDEO_TEST_PATTERN_TYPE\
ges_video_test_pattern_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_video_test_pattern_get_type (void);
/**
@@ -352,7 +353,7 @@ typedef enum {
#define GES_TYPE_PIPELINE_FLAGS\
ges_pipeline_flags_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_pipeline_flags_get_type (void);
/**
@@ -393,7 +394,7 @@ typedef enum {
#define GES_TYPE_EDIT_MODE ges_edit_mode_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_edit_mode_get_type (void);
/**
@@ -413,11 +414,11 @@ typedef enum {
#define GES_TYPE_EDGE ges_edge_get_type()
-GST_EXPORT
+GST_GES_API
GType ges_edge_get_type (void);
-GST_EXPORT
+GST_GES_API
const gchar * ges_track_type_name (GESTrackType type);
G_END_DECLS
diff --git a/ges/ges-extractable.h b/ges/ges-extractable.h
index 8b1b30cb..afb20c6b 100644
--- a/ges/ges-extractable.h
+++ b/ges/ges-extractable.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
#define GES_IS_EXTRACTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_EXTRACTABLE))
#define GES_EXTRACTABLE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GES_TYPE_EXTRACTABLE, GESExtractableInterface))
-GST_EXPORT
+GST_GES_API
GType ges_extractable_get_type (void);
/**
@@ -85,13 +85,13 @@ struct _GESExtractableInterface
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GESAsset* ges_extractable_get_asset (GESExtractable *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_extractable_set_asset (GESExtractable *self,
GESAsset *asset);
-GST_EXPORT
+GST_GES_API
gchar * ges_extractable_get_id (GESExtractable *self);
G_END_DECLS
diff --git a/ges/ges-formatter.h b/ges/ges-formatter.h
index 9ac6752e..8ba2cc50 100644
--- a/ges/ges-formatter.h
+++ b/ges/ges-formatter.h
@@ -138,10 +138,10 @@ struct _GESFormatterClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_formatter_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_formatter_class_register_metas (GESFormatterClass * klass,
const gchar *name,
const gchar *description,
@@ -150,25 +150,25 @@ void ges_formatter_class_register_metas (GESFormatterClass * klass,
gdouble version,
GstRank rank);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_can_load_uri (const gchar * uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_can_save_uri (const gchar * uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_load_from_uri (GESFormatter * formatter,
GESTimeline *timeline,
const gchar *uri,
GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_formatter_save_to_uri (GESFormatter * formatter,
GESTimeline *timeline,
const gchar *uri,
gboolean overwrite,
GError **error);
-GST_EXPORT
+GST_GES_API
GESAsset *ges_formatter_get_default (void);
G_END_DECLS
diff --git a/ges/ges-group.h b/ges/ges-group.h
index 2865a477..184f8feb 100644
--- a/ges/ges-group.h
+++ b/ges/ges-group.h
@@ -51,9 +51,9 @@ struct _GESGroupClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_group_get_type (void);
-GST_EXPORT
+GST_GES_API
GESGroup *ges_group_new (void);
G_END_DECLS
diff --git a/ges/ges-image-source.h b/ges/ges-image-source.h
index 898d47dd..43e64167 100644
--- a/ges/ges-image-source.h
+++ b/ges/ges-image-source.h
@@ -68,7 +68,7 @@ struct _GESImageSourceClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_image_source_get_type (void);
G_END_DECLS
diff --git a/ges/ges-internal.h b/ges/ges-internal.h
index 19da68d8..230abef7 100644
--- a/ges/ges-internal.h
+++ b/ges/ges-internal.h
@@ -145,10 +145,10 @@ ges_asset_cache_put (GESAsset * asset, GTask *task);
G_GNUC_INTERNAL gboolean
ges_asset_cache_set_loaded(GType extractable_type, const gchar * id, GError *error);
-GST_EXPORT GESAsset*
+GST_GES_API GESAsset*
ges_asset_cache_lookup(GType extractable_type, const gchar * id);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_asset_try_proxy (GESAsset *asset, const gchar *new_id);
G_GNUC_INTERNAL gboolean
diff --git a/ges/ges-layer.h b/ges/ges-layer.h
index df94d20f..c3015070 100644
--- a/ges/ges-layer.h
+++ b/ges/ges-layer.h
@@ -89,23 +89,23 @@ struct _GESLayerClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_layer_get_type (void);
-GST_EXPORT
+GST_GES_API
GESLayer* ges_layer_new (void);
-GST_EXPORT
+GST_GES_API
void ges_layer_set_timeline (GESLayer * layer,
GESTimeline * timeline);
-GST_EXPORT GESTimeline *
+GST_GES_API GESTimeline *
ges_layer_get_timeline (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_add_clip (GESLayer * layer,
GESClip * clip);
-GST_EXPORT
+GST_GES_API
GESClip * ges_layer_add_asset (GESLayer *layer,
GESAsset *asset,
GstClockTime start,
@@ -113,33 +113,33 @@ GESClip * ges_layer_add_asset (GESLayer *layer,
GstClockTime duration,
GESTrackType track_types);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_remove_clip (GESLayer * layer,
GESClip * clip);
-GST_EXPORT
+GST_GES_API
void ges_layer_set_priority (GESLayer * layer,
guint priority);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_is_empty (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
GList* ges_layer_get_clips_in_interval (GESLayer * layer, GstClockTime start, GstClockTime end);
-GST_EXPORT
+GST_GES_API
guint ges_layer_get_priority (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
gboolean ges_layer_get_auto_transition (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
void ges_layer_set_auto_transition (GESLayer * layer,
gboolean auto_transition);
-GST_EXPORT
+GST_GES_API
GList* ges_layer_get_clips (GESLayer * layer);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_layer_get_duration (GESLayer *layer);
G_END_DECLS
diff --git a/ges/ges-meta-container.h b/ges/ges-meta-container.h
index 2782df60..6aad3317 100644
--- a/ges/ges-meta-container.h
+++ b/ges/ges-meta-container.h
@@ -118,186 +118,186 @@ struct _GESMetaContainerInterface {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_meta_container_get_type (void);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_boolean (GESMetaContainer *container,
const gchar* meta_item,
gboolean value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_int (GESMetaContainer *container,
const gchar* meta_item,
gint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_uint (GESMetaContainer *container,
const gchar* meta_item,
guint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_int64 (GESMetaContainer *container,
const gchar* meta_item,
gint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_uint64 (GESMetaContainer *container,
const gchar* meta_item,
guint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_float (GESMetaContainer *container,
const gchar* meta_item,
gfloat value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_double (GESMetaContainer *container,
const gchar* meta_item,
gdouble value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_date (GESMetaContainer *container,
const gchar* meta_item,
const GDate* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_date_time (GESMetaContainer *container,
const gchar* meta_item,
const GstDateTime* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_string (GESMetaContainer *container,
const gchar* meta_item,
const gchar* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_set_meta (GESMetaContainer * container,
const gchar* meta_item,
const GValue *value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_boolean (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gboolean value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_int (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_uint (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
guint value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_int64 (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_uint64 (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
guint64 value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_float (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gfloat value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_double (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
gdouble value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_date (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const GDate* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_date_time (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const GstDateTime* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta_string (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const gchar* value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_register_meta (GESMetaContainer *container,
GESMetaFlag flags,
const gchar* meta_item,
const GValue * value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_check_meta_registered (GESMetaContainer *container,
const gchar * meta_item,
GESMetaFlag * flags,
GType * type);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_boolean (GESMetaContainer *container,
const gchar* meta_item,
gboolean* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_int (GESMetaContainer *container,
const gchar* meta_item,
gint* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_uint (GESMetaContainer *container,
const gchar* meta_item,
guint* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_int64 (GESMetaContainer *container,
const gchar* meta_item,
gint64* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_uint64 (GESMetaContainer *container,
const gchar* meta_item,
guint64* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_float (GESMetaContainer *container,
const gchar* meta_item,
gfloat* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_double (GESMetaContainer *container,
const gchar* meta_item,
gdouble* dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_date (GESMetaContainer *container,
const gchar* meta_item,
GDate** dest);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_get_date_time (GESMetaContainer *container,
const gchar* meta_item,
GstDateTime** dest);
-GST_EXPORT const gchar *
+GST_GES_API const gchar *
ges_meta_container_get_string (GESMetaContainer * container,
const gchar * meta_item);
-GST_EXPORT const GValue *
+GST_GES_API const GValue *
ges_meta_container_get_meta (GESMetaContainer * container,
const gchar * key);
@@ -307,15 +307,15 @@ typedef void
const GValue *value,
gpointer user_data);
-GST_EXPORT void
+GST_GES_API void
ges_meta_container_foreach (GESMetaContainer *container,
GESMetaForeachFunc func,
gpointer user_data);
-GST_EXPORT gchar *
+GST_GES_API gchar *
ges_meta_container_metas_to_string (GESMetaContainer *container);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_meta_container_add_metas_from_string (GESMetaContainer *container,
const gchar *str);
diff --git a/ges/ges-multi-file-source.h b/ges/ges-multi-file-source.h
index d5616425..9b61846e 100644
--- a/ges/ges-multi-file-source.h
+++ b/ges/ges-multi-file-source.h
@@ -62,10 +62,10 @@ struct _GESMultiFileSourceClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_multi_file_source_get_type (void);
-GST_EXPORT
+GST_GES_API
GESMultiFileSource *ges_multi_file_source_new (gchar * uri);
#define GES_MULTI_FILE_URI_PREFIX "multifile://"
diff --git a/ges/ges-operation-clip.h b/ges/ges-operation-clip.h
index 905d9a98..65c96ac8 100644
--- a/ges/ges-operation-clip.h
+++ b/ges/ges-operation-clip.h
@@ -74,7 +74,7 @@ struct _GESOperationClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_operation_clip_get_type (void);
G_END_DECLS
diff --git a/ges/ges-operation.h b/ges/ges-operation.h
index b4353332..c1443640 100644
--- a/ges/ges-operation.h
+++ b/ges/ges-operation.h
@@ -76,7 +76,7 @@ struct _GESOperationClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_operation_get_type (void);
G_END_DECLS
diff --git a/ges/ges-overlay-clip.h b/ges/ges-overlay-clip.h
index f627f33c..1c63edd8 100644
--- a/ges/ges-overlay-clip.h
+++ b/ges/ges-overlay-clip.h
@@ -73,7 +73,7 @@ struct _GESOverlayClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_overlay_clip_get_type (void);
G_END_DECLS
diff --git a/ges/ges-pipeline.h b/ges/ges-pipeline.h
index 04e7ae87..df2a956e 100644
--- a/ges/ges-pipeline.h
+++ b/ges/ges-pipeline.h
@@ -75,50 +75,50 @@ struct _GESPipelineClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_pipeline_get_type (void);
-GST_EXPORT
+GST_GES_API
GESPipeline* ges_pipeline_new (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_pipeline_set_timeline (GESPipeline * pipeline,
GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_pipeline_set_render_settings (GESPipeline *pipeline,
const gchar * output_uri,
GstEncodingProfile *profile);
-GST_EXPORT
+GST_GES_API
gboolean ges_pipeline_set_mode (GESPipeline *pipeline,
GESPipelineFlags mode);
-GST_EXPORT
+GST_GES_API
GESPipelineFlags ges_pipeline_get_mode (GESPipeline *pipeline);
-GST_EXPORT GstSample *
+GST_GES_API GstSample *
ges_pipeline_get_thumbnail(GESPipeline *self, GstCaps *caps);
-GST_EXPORT GstSample *
+GST_GES_API GstSample *
ges_pipeline_get_thumbnail_rgb24(GESPipeline *self,
gint width, gint height);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_pipeline_save_thumbnail(GESPipeline *self,
int width, int height, const gchar *format, const gchar *location,
GError **error);
-GST_EXPORT GstElement *
+GST_GES_API GstElement *
ges_pipeline_preview_get_video_sink (GESPipeline * self);
-GST_EXPORT void
+GST_GES_API void
ges_pipeline_preview_set_video_sink (GESPipeline * self,
GstElement * sink);
-GST_EXPORT GstElement *
+GST_GES_API GstElement *
ges_pipeline_preview_get_audio_sink (GESPipeline * self);
-GST_EXPORT void
+GST_GES_API void
ges_pipeline_preview_set_audio_sink (GESPipeline * self,
GstElement * sink);
diff --git a/ges/ges-pitivi-formatter.h b/ges/ges-pitivi-formatter.h
index 1b2d3fe8..ee970aec 100644
--- a/ges/ges-pitivi-formatter.h
+++ b/ges/ges-pitivi-formatter.h
@@ -67,9 +67,9 @@ struct _GESPitiviFormatterClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_pitivi_formatter_get_type (void);
-GST_EXPORT
+GST_GES_API
GESPitiviFormatter *ges_pitivi_formatter_new (void);
G_END_DECLS
diff --git a/ges/ges-prelude.h b/ges/ges-prelude.h
new file mode 100644
index 00000000..4503082a
--- /dev/null
+++ b/ges/ges-prelude.h
@@ -0,0 +1,31 @@
+/* GStreamer GES Library
+ * Copyright (C) 2018 GStreamer developers
+ *
+ * ges-prelude.h: prelude include header for gst-ges library
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __GST_GES_PRELUDE_H__
+#define __GST_GES_PRELUDE_H__
+
+#include <gst/gst.h>
+
+#ifndef GST_GES_API
+#define GST_GES_API GST_EXPORT
+#endif
+
+#endif /* __GST_GES_PRELUDE_H__ */
diff --git a/ges/ges-project.h b/ges/ges-project.h
index 03d18b32..032dbace 100644
--- a/ges/ges-project.h
+++ b/ges/ges-project.h
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
typedef struct _GESProjectPrivate GESProjectPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_project_get_type (void);
struct _GESProject
@@ -75,53 +75,53 @@ struct _GESProjectClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
gboolean ges_project_add_asset (GESProject* project,
GESAsset *asset);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_remove_asset (GESProject *project,
GESAsset * asset);
-GST_EXPORT
+GST_GES_API
GList * ges_project_list_assets (GESProject * project,
GType filter);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_save (GESProject * project,
GESTimeline * timeline,
const gchar *uri,
GESAsset * formatter_asset,
gboolean overwrite,
GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_load (GESProject * project,
GESTimeline * timeline,
GError **error);
-GST_EXPORT
+GST_GES_API
GESProject * ges_project_new (const gchar *uri);
-GST_EXPORT
+GST_GES_API
gchar * ges_project_get_uri (GESProject *project);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_project_get_asset (GESProject * project,
const gchar *id,
GType extractable_type);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_create_asset (GESProject * project,
const gchar *id,
GType extractable_type);
-GST_EXPORT
+GST_GES_API
GESAsset * ges_project_create_asset_sync (GESProject * project,
const gchar * id,
GType extractable_type,
GError **error);
-GST_EXPORT
+GST_GES_API
GList * ges_project_get_loading_assets (GESProject * project);
-GST_EXPORT
+GST_GES_API
gboolean ges_project_add_encoding_profile (GESProject *project,
GstEncodingProfile *profile);
-GST_EXPORT
+GST_GES_API
const GList *ges_project_list_encoding_profiles (GESProject *project);
-GST_EXPORT
+GST_GES_API
gboolean ges_add_missing_uri_relocation_uri (const gchar * uri,
gboolean recurse);
diff --git a/ges/ges-screenshot.h b/ges/ges-screenshot.h
index 80edd320..62868c34 100644
--- a/ges/ges-screenshot.h
+++ b/ges/ges-screenshot.h
@@ -22,10 +22,11 @@
#define __GES_SCREENSHOT_H__
#include <gst/gst.h>
+#include <ges/ges-prelude.h>
G_BEGIN_DECLS
-GST_EXPORT GstSample *
+GST_GES_API GstSample *
ges_play_sink_convert_frame (GstElement * playsink, GstCaps * caps);
G_END_DECLS
diff --git a/ges/ges-smart-adder.h b/ges/ges-smart-adder.h
index 01c65378..fc98eb95 100644
--- a/ges/ges-smart-adder.h
+++ b/ges/ges-smart-adder.h
@@ -61,10 +61,10 @@ struct _GESSmartAdder
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_smart_adder_get_type (void) G_GNUC_CONST;
-GST_EXPORT
+GST_GES_API
GstElement* ges_smart_adder_new (GESTrack *track);
G_END_DECLS
diff --git a/ges/ges-source-clip.h b/ges/ges-source-clip.h
index 334b9eb3..19b2f7f2 100644
--- a/ges/ges-source-clip.h
+++ b/ges/ges-source-clip.h
@@ -75,7 +75,7 @@ struct _GESSourceClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_source_clip_get_type (void);
G_END_DECLS
diff --git a/ges/ges-source.h b/ges/ges-source.h
index 0d1d6041..da50b453 100644
--- a/ges/ges-source.h
+++ b/ges/ges-source.h
@@ -77,7 +77,7 @@ struct _GESSourceClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_source_get_type (void);
G_END_DECLS
diff --git a/ges/ges-test-clip.h b/ges/ges-test-clip.h
index 83f4a378..f68cd68c 100644
--- a/ges/ges-test-clip.h
+++ b/ges/ges-test-clip.h
@@ -75,37 +75,37 @@ struct _GESTestClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_test_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_mute (GESTestClip * self, gboolean mute);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_vpattern (GESTestClip * self,
GESVideoTestPattern vpattern);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_frequency (GESTestClip * self, gdouble freq);
-GST_EXPORT void
+GST_GES_API void
ges_test_clip_set_volume (GESTestClip * self,
gdouble volume);
-GST_EXPORT GESVideoTestPattern
+GST_GES_API GESVideoTestPattern
ges_test_clip_get_vpattern (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
gboolean ges_test_clip_is_muted (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
gdouble ges_test_clip_get_frequency (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
gdouble ges_test_clip_get_volume (GESTestClip * self);
-GST_EXPORT
+GST_GES_API
GESTestClip* ges_test_clip_new (void);
-GST_EXPORT
+GST_GES_API
GESTestClip* ges_test_clip_new_for_nick(gchar * nick);
G_END_DECLS
diff --git a/ges/ges-text-overlay-clip.h b/ges/ges-text-overlay-clip.h
index 30eb5243..144d091e 100644
--- a/ges/ges-text-overlay-clip.h
+++ b/ges/ges-text-overlay-clip.h
@@ -69,60 +69,60 @@ struct _GESTextOverlayClipClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_text_overlay_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_text (GESTextOverlayClip * self,
const gchar * text);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_font_desc (GESTextOverlayClip * self,
const gchar * font_desc);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_valign (GESTextOverlayClip * self,
GESTextVAlign valign);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_halign (GESTextOverlayClip * self,
GESTextHAlign halign);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_color (GESTextOverlayClip * self,
guint32 color);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_xpos (GESTextOverlayClip * self,
gdouble position);
-GST_EXPORT void
+GST_GES_API void
ges_text_overlay_clip_set_ypos (GESTextOverlayClip * self,
gdouble position);
-GST_EXPORT
+GST_GES_API
const gchar *ges_text_overlay_clip_get_text (GESTextOverlayClip * self);
-GST_EXPORT
+GST_GES_API
const gchar *ges_text_overlay_clip_get_font_desc (GESTextOverlayClip *
self);
-GST_EXPORT GESTextVAlign
+GST_GES_API GESTextVAlign
ges_text_overlay_clip_get_valignment (GESTextOverlayClip * self);
-GST_EXPORT const guint32
+GST_GES_API const guint32
ges_text_overlay_clip_get_color (GESTextOverlayClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_text_overlay_clip_get_xpos (GESTextOverlayClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_text_overlay_clip_get_ypos (GESTextOverlayClip * self);
-GST_EXPORT GESTextHAlign
+GST_GES_API GESTextHAlign
ges_text_overlay_clip_get_halignment (GESTextOverlayClip * self);
-GST_EXPORT
+GST_GES_API
GESTextOverlayClip *ges_text_overlay_clip_new (void);
G_END_DECLS
diff --git a/ges/ges-text-overlay.h b/ges/ges-text-overlay.h
index c73b6347..a1755287 100644
--- a/ges/ges-text-overlay.h
+++ b/ges/ges-text-overlay.h
@@ -64,51 +64,51 @@ struct _GESTextOverlayClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_text_overlay_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_text (GESTextOverlay * self,
const gchar * text);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_font_desc (GESTextOverlay * self,
const gchar * font_desc);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_halignment (GESTextOverlay * self,
GESTextHAlign halign);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_valignment (GESTextOverlay * self,
GESTextVAlign valign);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_color (GESTextOverlay * self,
guint32 color);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_xpos (GESTextOverlay * self,
gdouble position);
-GST_EXPORT
+GST_GES_API
void ges_text_overlay_set_ypos (GESTextOverlay * self,
gdouble position);
-GST_EXPORT
+GST_GES_API
const gchar *ges_text_overlay_get_text (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
const char *ges_text_overlay_get_font_desc (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
GESTextHAlign ges_text_overlay_get_halignment (GESTextOverlay *
self);
-GST_EXPORT
+GST_GES_API
GESTextVAlign ges_text_overlay_get_valignment (GESTextOverlay *
self);
-GST_EXPORT
+GST_GES_API
const guint32 ges_text_overlay_get_color (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
const gdouble ges_text_overlay_get_xpos (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
const gdouble ges_text_overlay_get_ypos (GESTextOverlay * self);
-GST_EXPORT
+GST_GES_API
GESTextOverlay *ges_text_overlay_new (void);
G_END_DECLS
diff --git a/ges/ges-timeline-element.h b/ges/ges-timeline-element.h
index e0c5380b..06fc85a6 100644
--- a/ges/ges-timeline-element.h
+++ b/ges/ges-timeline-element.h
@@ -201,120 +201,120 @@ struct _GESTimelineElementClass
gpointer _ges_reserved[GES_PADDING_LARGE - 2];
};
-GST_EXPORT
+GST_GES_API
GType ges_timeline_element_get_type (void) G_GNUC_CONST;
-GST_EXPORT GESTimelineElement *
+GST_GES_API GESTimelineElement *
ges_timeline_element_get_toplevel_parent (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_element_get_parent (GESTimelineElement * self);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_parent (GESTimelineElement *self, GESTimelineElement *parent);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_timeline (GESTimelineElement *self, GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_start (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_inpoint (GESTimelineElement *self, GstClockTime inpoint);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_duration (GESTimelineElement *self, GstClockTime duration);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_max_duration (GESTimelineElement *self, GstClockTime maxduration);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_priority (GESTimelineElement *self, guint32 priority);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_start (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_inpoint (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_duration (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_element_get_max_duration (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
GESTimeline * ges_timeline_element_get_timeline (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
guint32 ges_timeline_element_get_priority (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_ripple (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_ripple_end (GESTimelineElement *self, GstClockTime end);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_roll_start (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_roll_end (GESTimelineElement *self, GstClockTime end);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_trim (GESTimelineElement *self, GstClockTime start);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_element_copy (GESTimelineElement *self, gboolean deep);
-GST_EXPORT
+GST_GES_API
gchar * ges_timeline_element_get_name (GESTimelineElement *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_name (GESTimelineElement *self, const gchar *name);
-GST_EXPORT GParamSpec **
+GST_GES_API GParamSpec **
ges_timeline_element_list_children_properties (GESTimelineElement *self,
guint *n_properties);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_lookup_child (GESTimelineElement *self,
const gchar *prop_name,
GObject **child,
GParamSpec **pspec);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_get_child_property_by_pspec (GESTimelineElement * self,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_get_child_property_valist (GESTimelineElement * self,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_get_child_properties (GESTimelineElement *self,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_set_child_property_valist (GESTimelineElement * self,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT void
+GST_GES_API void
ges_timeline_element_set_child_property_by_pspec (GESTimelineElement * self,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT
+GST_GES_API
void ges_timeline_element_set_child_properties (GESTimelineElement * self,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_set_child_property (GESTimelineElement *self,
const gchar *property_name,
GValue * value);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_get_child_property (GESTimelineElement *self,
const gchar *property_name,
GValue * value);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_add_child_property (GESTimelineElement * self,
GParamSpec *pspec,
GObject *child);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_element_remove_child_property(GESTimelineElement * self,
GParamSpec *pspec);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_element_paste (GESTimelineElement * self,
GstClockTime paste_position);
-GST_EXPORT
+GST_GES_API
GESTrackType ges_timeline_element_get_track_types (GESTimelineElement * self);
G_END_DECLS
diff --git a/ges/ges-timeline.h b/ges/ges-timeline.h
index 477a5e42..f44f0b95 100644
--- a/ges/ges-timeline.h
+++ b/ges/ges-timeline.h
@@ -99,66 +99,66 @@ struct _GESTimelineClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_timeline_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTimeline* ges_timeline_new (void);
-GST_EXPORT
+GST_GES_API
GESTimeline* ges_timeline_new_from_uri (const gchar *uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_load_from_uri (GESTimeline *timeline, const gchar *uri, GError **error);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_save_to_uri (GESTimeline * timeline, const gchar * uri,
GESAsset *formatter_asset, gboolean overwrite, GError ** error);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_add_layer (GESTimeline *timeline, GESLayer *layer);
-GST_EXPORT
+GST_GES_API
GESLayer * ges_timeline_append_layer (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_remove_layer (GESTimeline *timeline, GESLayer *layer);
-GST_EXPORT
+GST_GES_API
GList* ges_timeline_get_layers (GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
GESLayer* ges_timeline_get_layer (GESTimeline *timeline, guint priority);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_add_track (GESTimeline *timeline, GESTrack *track);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_remove_track (GESTimeline *timeline, GESTrack *track);
-GST_EXPORT
+GST_GES_API
GESTrack * ges_timeline_get_track_for_pad (GESTimeline *timeline, GstPad *pad);
-GST_EXPORT
+GST_GES_API
GstPad * ges_timeline_get_pad_for_track (GESTimeline * timeline, GESTrack *track);
-GST_EXPORT
+GST_GES_API
GList *ges_timeline_get_tracks (GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
GList* ges_timeline_get_groups (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_commit (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_commit_sync (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_get_duration (GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_get_auto_transition (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
void ges_timeline_set_auto_transition (GESTimeline * timeline, gboolean auto_transition);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_timeline_get_snapping_distance (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
void ges_timeline_set_snapping_distance (GESTimeline * timeline, GstClockTime snapping_distance);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_get_element (GESTimeline * timeline, const gchar *name);
-GST_EXPORT
+GST_GES_API
gboolean ges_timeline_is_empty (GESTimeline * timeline);
-GST_EXPORT
+GST_GES_API
GESTimelineElement * ges_timeline_paste_element (GESTimeline * timeline,
GESTimelineElement * element, GstClockTime position, gint layer_priority);
diff --git a/ges/ges-title-clip.h b/ges/ges-title-clip.h
index 0151360a..c10e8974 100644
--- a/ges/ges-title-clip.h
+++ b/ges/ges-title-clip.h
@@ -71,66 +71,66 @@ struct _GESTitleClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_title_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_text( GESTitleClip * self,
const gchar * text);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_font_desc (GESTitleClip * self,
const gchar * font_desc);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_valignment (GESTitleClip * self,
GESTextVAlign valign);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_halignment (GESTitleClip * self,
GESTextHAlign halign);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_color (GESTitleClip * self,
guint32 color);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_background (GESTitleClip * self,
guint32 background);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_xpos (GESTitleClip * self,
gdouble position);
-GST_EXPORT void
+GST_GES_API void
ges_title_clip_set_ypos (GESTitleClip * self,
gdouble position);
-GST_EXPORT const gchar*
+GST_GES_API const gchar*
ges_title_clip_get_font_desc (GESTitleClip * self);
-GST_EXPORT GESTextVAlign
+GST_GES_API GESTextVAlign
ges_title_clip_get_valignment (GESTitleClip * self);
-GST_EXPORT GESTextHAlign
+GST_GES_API GESTextHAlign
ges_title_clip_get_halignment (GESTitleClip * self);
-GST_EXPORT const guint32
+GST_GES_API const guint32
ges_title_clip_get_text_color (GESTitleClip * self);
-GST_EXPORT const guint32
+GST_GES_API const guint32
ges_title_clip_get_background_color (GESTitleClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_title_clip_get_xpos (GESTitleClip * self);
-GST_EXPORT const gdouble
+GST_GES_API const gdouble
ges_title_clip_get_ypos (GESTitleClip * self);
-GST_EXPORT
+GST_GES_API
const gchar* ges_title_clip_get_text (GESTitleClip * self);
-GST_EXPORT
+GST_GES_API
GESTitleClip* ges_title_clip_new (void);
G_END_DECLS
diff --git a/ges/ges-title-source.h b/ges/ges-title-source.h
index 362e2804..8931a5f4 100644
--- a/ges/ges-title-source.h
+++ b/ges/ges-title-source.h
@@ -73,53 +73,53 @@ struct _GESTitleSourceClass {
gpointer _ges_reserved[GES_PADDING - 1];
};
-GST_EXPORT
+GST_GES_API
GType ges_title_source_get_type (void);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_text (GESTitleSource *self,
const gchar *text);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_font_desc (GESTitleSource *self,
const gchar *font_desc);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_halignment (GESTitleSource *self,
GESTextHAlign halign);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_valignment (GESTitleSource *self,
GESTextVAlign valign);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_text_color (GESTitleSource *self,
guint32 color);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_background_color (GESTitleSource *self,
guint32 color);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_xpos (GESTitleSource *self,
gdouble position);
-GST_EXPORT
+GST_GES_API
void ges_title_source_set_ypos (GESTitleSource *self,
gdouble position);
-GST_EXPORT
+GST_GES_API
const gchar *ges_title_source_get_text (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const gchar *ges_title_source_get_font_desc (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
GESTextHAlign ges_title_source_get_halignment (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
GESTextVAlign ges_title_source_get_valignment (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const guint32 ges_title_source_get_text_color (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const guint32 ges_title_source_get_background_color (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const gdouble ges_title_source_get_xpos (GESTitleSource *source);
-GST_EXPORT
+GST_GES_API
const gdouble ges_title_source_get_ypos (GESTitleSource *source);
G_END_DECLS
diff --git a/ges/ges-track-element-asset.h b/ges/ges-track-element-asset.h
index 0f0c1d69..4f2a49e9 100644
--- a/ges/ges-track-element-asset.h
+++ b/ges/ges-track-element-asset.h
@@ -36,7 +36,7 @@ G_BEGIN_DECLS
typedef struct _GESTrackElementAssetPrivate GESTrackElementAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_track_element_asset_get_type (void);
struct _GESTrackElementAsset
@@ -57,9 +57,9 @@ struct _GESTrackElementAssetClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
const GESTrackType ges_track_element_asset_get_track_type (GESTrackElementAsset *asset);
-GST_EXPORT
+GST_GES_API
void ges_track_element_asset_set_track_type (GESTrackElementAsset * asset, GESTrackType type);
G_END_DECLS
diff --git a/ges/ges-track-element.h b/ges/ges-track-element.h
index 679b2664..2eaceaed 100644
--- a/ges/ges-track-element.h
+++ b/ges/ges-track-element.h
@@ -125,106 +125,106 @@ struct _GESTrackElementClass {
gpointer _ges_reserved[GES_PADDING_LARGE];
};
-GST_EXPORT
+GST_GES_API
GType ges_track_element_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTrack* ges_track_element_get_track (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
GESTrackType ges_track_element_get_track_type (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
void ges_track_element_set_track_type (GESTrackElement * object,
GESTrackType type);
-GST_EXPORT
+GST_GES_API
GstElement * ges_track_element_get_nleobject (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
GstElement * ges_track_element_get_gnlobject (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
GstElement * ges_track_element_get_element (GESTrackElement * object);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_set_active (GESTrackElement * object,
gboolean active);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_is_active (GESTrackElement * object);
-GST_EXPORT GParamSpec **
+GST_GES_API GParamSpec **
ges_track_element_list_children_properties (GESTrackElement *object,
guint *n_properties);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_lookup_child (GESTrackElement *object,
const gchar *prop_name,
GstElement **element,
GParamSpec **pspec);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_get_child_property_by_pspec (GESTrackElement * object,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_get_child_property_valist (GESTrackElement * object,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT
+GST_GES_API
void ges_track_element_get_child_properties (GESTrackElement *object,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT void
+GST_GES_API void
ges_track_element_set_child_property_valist (GESTrackElement * object,
const gchar * first_property_name,
va_list var_args);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_set_child_property_by_pspec (GESTrackElement * object,
GParamSpec * pspec,
GValue * value);
-GST_EXPORT
+GST_GES_API
void ges_track_element_set_child_properties (GESTrackElement * object,
const gchar * first_property_name,
...) G_GNUC_NULL_TERMINATED;
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_set_child_property (GESTrackElement *object,
const gchar *property_name,
GValue * value);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_element_get_child_property (GESTrackElement *object,
const gchar *property_name,
GValue * value);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_track_element_edit (GESTrackElement * object,
GList *layers, GESEditMode mode,
GESEdge edge, guint64 position);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_track_element_set_control_source (GESTrackElement *object,
GstControlSource *source,
const gchar *property_name,
const gchar *binding_type);
-GST_EXPORT GstControlBinding *
+GST_GES_API GstControlBinding *
ges_track_element_get_control_binding (GESTrackElement *object,
const gchar *property_name);
-GST_EXPORT void
+GST_GES_API void
ges_track_element_add_children_props (GESTrackElement *self,
GstElement *element,
const gchar ** wanted_categories,
const gchar **blacklist,
const gchar **whitelist);
-GST_EXPORT GHashTable *
+GST_GES_API GHashTable *
ges_track_element_get_all_control_bindings (GESTrackElement * trackelement);
-GST_EXPORT gboolean
+GST_GES_API gboolean
ges_track_element_remove_control_binding (GESTrackElement * object,
const gchar * property_name);
G_END_DECLS
diff --git a/ges/ges-track.h b/ges/ges-track.h
index 3befcfe5..942c7b53 100644
--- a/ges/ges-track.h
+++ b/ges/ges-track.h
@@ -81,35 +81,35 @@ struct _GESTrackClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
const GstCaps* ges_track_get_caps (GESTrack *track);
-GST_EXPORT
+GST_GES_API
GList* ges_track_get_elements (GESTrack *track);
-GST_EXPORT
+GST_GES_API
const GESTimeline* ges_track_get_timeline (GESTrack *track);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_commit (GESTrack *track);
-GST_EXPORT
+GST_GES_API
void ges_track_set_timeline (GESTrack *track, GESTimeline *timeline);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_add_element (GESTrack *track, GESTrackElement *object);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_remove_element (GESTrack *track, GESTrackElement *object);
-GST_EXPORT
+GST_GES_API
void ges_track_set_create_element_for_gap_func (GESTrack *track, GESCreateElementForGapFunc func);
-GST_EXPORT
+GST_GES_API
void ges_track_set_mixing (GESTrack *track, gboolean mixing);
-GST_EXPORT
+GST_GES_API
gboolean ges_track_get_mixing (GESTrack *track);
-GST_EXPORT
+GST_GES_API
void ges_track_set_restriction_caps (GESTrack *track, const GstCaps *caps);
-GST_EXPORT
+GST_GES_API
void ges_track_update_restriction_caps (GESTrack *track, const GstCaps *caps);
/* standard methods */
-GST_EXPORT
+GST_GES_API
GType ges_track_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTrack* ges_track_new (GESTrackType type, GstCaps * caps);
G_END_DECLS
diff --git a/ges/ges-transition-clip.h b/ges/ges-transition-clip.h
index 48e63693..fa4976b6 100644
--- a/ges/ges-transition-clip.h
+++ b/ges/ges-transition-clip.h
@@ -78,12 +78,12 @@ struct _GESTransitionClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_transition_clip_get_type (void);
-GST_EXPORT
+GST_GES_API
GESTransitionClip *ges_transition_clip_new (GESVideoStandardTransitionType vtype);
-GST_EXPORT
+GST_GES_API
GESTransitionClip *ges_transition_clip_new_for_nick (char *nick);
G_END_DECLS
diff --git a/ges/ges-transition.h b/ges/ges-transition.h
index f77e5afa..d52fc211 100644
--- a/ges/ges-transition.h
+++ b/ges/ges-transition.h
@@ -81,7 +81,7 @@ struct _GESTransitionClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_transition_get_type (void);
G_END_DECLS
diff --git a/ges/ges-types.h b/ges/ges-types.h
index 05181c4f..4a66d1fd 100644
--- a/ges/ges-types.h
+++ b/ges/ges-types.h
@@ -22,6 +22,7 @@
#define __GES_TYPES_H__
#include <glib.h>
+#include <ges/ges-prelude.h>
G_BEGIN_DECLS
diff --git a/ges/ges-uri-asset.h b/ges/ges-uri-asset.h
index fc5eaa88..c746814b 100644
--- a/ges/ges-uri-asset.h
+++ b/ges/ges-uri-asset.h
@@ -43,7 +43,7 @@ G_BEGIN_DECLS
typedef struct _GESUriClipAssetPrivate GESUriClipAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_uri_clip_asset_get_type (void);
struct _GESUriClipAsset
@@ -68,23 +68,23 @@ struct _GESUriClipAssetClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GstDiscovererInfo *ges_uri_clip_asset_get_info (const GESUriClipAsset * self);
-GST_EXPORT
+GST_GES_API
GstClockTime ges_uri_clip_asset_get_duration (GESUriClipAsset *self);
-GST_EXPORT
+GST_GES_API
gboolean ges_uri_clip_asset_is_image (GESUriClipAsset *self);
-GST_EXPORT
+GST_GES_API
void ges_uri_clip_asset_new (const gchar *uri,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-GST_EXPORT
+GST_GES_API
GESUriClipAsset* ges_uri_clip_asset_request_sync (const gchar *uri, GError **error);
-GST_EXPORT
+GST_GES_API
void ges_uri_clip_asset_class_set_timeout (GESUriClipAssetClass *klass,
GstClockTime timeout);
-GST_EXPORT
+GST_GES_API
const GList * ges_uri_clip_asset_get_stream_assets (GESUriClipAsset *self);
#define GES_TYPE_URI_SOURCE_ASSET ges_uri_source_asset_get_type()
@@ -101,7 +101,7 @@ const GList * ges_uri_clip_asset_get_stream_assets (GESUriClipAsset *self);
typedef struct _GESUriSourceAssetPrivate GESUriSourceAssetPrivate;
-GST_EXPORT
+GST_GES_API
GType ges_uri_source_asset_get_type (void);
struct _GESUriSourceAsset
@@ -121,11 +121,11 @@ struct _GESUriSourceAssetClass
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GstDiscovererStreamInfo * ges_uri_source_asset_get_stream_info (GESUriSourceAsset *asset);
-GST_EXPORT
+GST_GES_API
const gchar * ges_uri_source_asset_get_stream_uri (GESUriSourceAsset *asset);
-GST_EXPORT
+GST_GES_API
const GESUriClipAsset *ges_uri_source_asset_get_filesource_asset (GESUriSourceAsset *asset);
G_END_DECLS
diff --git a/ges/ges-uri-clip.h b/ges/ges-uri-clip.h
index 09271b2d..30fa19e9 100644
--- a/ges/ges-uri-clip.h
+++ b/ges/ges-uri-clip.h
@@ -69,24 +69,24 @@ struct _GESUriClipClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_uri_clip_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_uri_clip_set_mute (GESUriClip * self, gboolean mute);
-GST_EXPORT void
+GST_GES_API void
ges_uri_clip_set_is_image (GESUriClip * self,
gboolean is_image);
-GST_EXPORT
+GST_GES_API
gboolean ges_uri_clip_is_muted (GESUriClip * self);
-GST_EXPORT
+GST_GES_API
gboolean ges_uri_clip_is_image (GESUriClip * self);
-GST_EXPORT
+GST_GES_API
const gchar *ges_uri_clip_get_uri (GESUriClip * self);
-GST_EXPORT
+GST_GES_API
GESUriClip* ges_uri_clip_new (const gchar *uri);
G_END_DECLS
diff --git a/ges/ges-utils.h b/ges/ges-utils.h
index ce07c2c6..d3354d2c 100644
--- a/ges/ges-utils.h
+++ b/ges/ges-utils.h
@@ -26,11 +26,11 @@
G_BEGIN_DECLS
-GST_EXPORT
+GST_GES_API
GESTimeline * ges_timeline_new_audio_video (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_pspec_equal (gconstpointer key_spec_1, gconstpointer key_spec_2);
-GST_EXPORT
+GST_GES_API
guint ges_pspec_hash (gconstpointer key_spec);
diff --git a/ges/ges-video-source.h b/ges/ges-video-source.h
index 1e8a65ec..cd1f28a5 100644
--- a/ges/ges-video-source.h
+++ b/ges/ges-video-source.h
@@ -88,7 +88,7 @@ struct _GESVideoSourceClass {
} ABI;
};
-GST_EXPORT
+GST_GES_API
GType ges_video_source_get_type (void);
G_END_DECLS
diff --git a/ges/ges-video-test-source.h b/ges/ges-video-test-source.h
index d1454792..169fe078 100644
--- a/ges/ges-video-test-source.h
+++ b/ges/ges-video-test-source.h
@@ -67,13 +67,13 @@ struct _GESVideoTestSourceClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_test_source_get_type (void);
-GST_EXPORT void
+GST_GES_API void
ges_video_test_source_set_pattern(GESVideoTestSource *self,
GESVideoTestPattern pattern);
-GST_EXPORT GESVideoTestPattern
+GST_GES_API GESVideoTestPattern
ges_video_test_source_get_pattern (GESVideoTestSource *source);
G_END_DECLS
diff --git a/ges/ges-video-track.h b/ges/ges-video-track.h
index 0051c205..35fcfc4b 100644
--- a/ges/ges-video-track.h
+++ b/ges/ges-video-track.h
@@ -54,10 +54,10 @@ struct _GESVideoTrack
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_track_get_type (void) G_GNUC_CONST;
-GST_EXPORT
+GST_GES_API
GESVideoTrack * ges_video_track_new (void);
G_END_DECLS
diff --git a/ges/ges-video-transition.h b/ges/ges-video-transition.h
index 5262b5b2..afa442fc 100644
--- a/ges/ges-video-transition.h
+++ b/ges/ges-video-transition.h
@@ -75,27 +75,27 @@ struct _GESVideoTransitionClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_transition_get_type (void);
-GST_EXPORT
+GST_GES_API
GESVideoTransition* ges_video_transition_new (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_video_transition_set_transition_type (GESVideoTransition * self,
GESVideoStandardTransitionType type);
-GST_EXPORT GESVideoStandardTransitionType
+GST_GES_API GESVideoStandardTransitionType
ges_video_transition_get_transition_type (GESVideoTransition * trans);
-GST_EXPORT
+GST_GES_API
void ges_video_transition_set_border (GESVideoTransition * self,
guint value);
-GST_EXPORT
+GST_GES_API
gint ges_video_transition_get_border (GESVideoTransition * self);
-GST_EXPORT
+GST_GES_API
void ges_video_transition_set_inverted (GESVideoTransition * self,
gboolean inverted);
-GST_EXPORT
+GST_GES_API
gboolean ges_video_transition_is_inverted (GESVideoTransition * self);
G_END_DECLS
diff --git a/ges/ges-video-uri-source.h b/ges/ges-video-uri-source.h
index b91ede3b..f8c314c8 100644
--- a/ges/ges-video-uri-source.h
+++ b/ges/ges-video-uri-source.h
@@ -69,7 +69,7 @@ struct _GESVideoUriSourceClass {
gpointer _ges_reserved[GES_PADDING];
};
-GST_EXPORT
+GST_GES_API
GType ges_video_uri_source_get_type (void);
G_END_DECLS
diff --git a/ges/ges-xml-formatter.h b/ges/ges-xml-formatter.h
index 66061036..e06fdcf2 100644
--- a/ges/ges-xml-formatter.h
+++ b/ges/ges-xml-formatter.h
@@ -48,7 +48,7 @@ typedef struct
gpointer _ges_reserved[GES_PADDING];
} GESXmlFormatterClass;
-GST_EXPORT
+GST_GES_API
GType ges_xml_formatter_get_type (void);
G_END_DECLS
diff --git a/ges/ges.h b/ges/ges.h
index a6acf1fd..c23a839b 100644
--- a/ges/ges.h
+++ b/ges/ges.h
@@ -20,9 +20,11 @@
#ifndef __GES_H__
#define __GES_H__
+
#include <glib.h>
#include <gst/gst.h>
+#include <ges/ges-prelude.h>
#include <ges/ges-types.h>
#include <ges/ges-enums.h>
@@ -85,18 +87,18 @@
G_BEGIN_DECLS
-GST_EXPORT
+GST_GES_API
gboolean ges_init (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_init_check (int *argc, char **argv[], GError ** err);
-GST_EXPORT
+GST_GES_API
void ges_deinit (void);
-GST_EXPORT
+GST_GES_API
void ges_version (guint * major, guint * minor, guint * micro,
guint * nano);
-GST_EXPORT GOptionGroup *
+GST_GES_API GOptionGroup *
ges_init_get_option_group (void);
-GST_EXPORT
+GST_GES_API
gboolean ges_validate_register_action_types (void);
G_END_DECLS
diff --git a/ges/meson.build b/ges/meson.build
index 675d4599..fe6ca740 100644
--- a/ges/meson.build
+++ b/ges/meson.build
@@ -67,6 +67,7 @@ ges_sources = [
ges_headers = [
'ges-types.h',
'ges.h',
+ 'ges-prelude.h',
'ges-enums.h',
'ges-gerror.h',
'ges-meta-container.h',