diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-02-16 15:21:48 +0000 |
---|---|---|
committer | Alessandro Decina <alessandro.decina@collabora.co.uk> | 2011-03-01 17:29:09 +0100 |
commit | a35a29a8100cffe5e3fef0707ad078c7e3f2cd42 (patch) | |
tree | e4647bf62c0ee1f51be510abb58ba48b1b3a25f1 /ges/ges-formatter.h | |
parent | b04055de407ef0226e9e188f83c89b861ad59b4e (diff) |
ges: make uri strings const
Diffstat (limited to 'ges/ges-formatter.h')
-rw-r--r-- | ges/ges-formatter.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ges/ges-formatter.h b/ges/ges-formatter.h index 25566c3b..488fa9e4 100644 --- a/ges/ges-formatter.h +++ b/ges/ges-formatter.h @@ -59,8 +59,8 @@ struct _GESFormatter { gpointer _ges_reserved[GES_PADDING]; }; -typedef gboolean (*GESFormatterCanLoadURIMethod) (gchar * uri); -typedef gboolean (*GESFormatterCanSaveURIMethod) (gchar * uri); +typedef gboolean (*GESFormatterCanLoadURIMethod) (const gchar * uri); +typedef gboolean (*GESFormatterCanSaveURIMethod) (const gchar * uri); /** * GESFormatterLoadFromURIMethod: @@ -77,7 +77,7 @@ typedef gboolean (*GESFormatterCanSaveURIMethod) (gchar * uri); **/ typedef gboolean (*GESFormatterLoadFromURIMethod) (GESFormatter *formatter, GESTimeline *timeline, - gchar * uri); + const gchar * uri); /** * GESFormatterSaveToURIMethod: @@ -94,7 +94,7 @@ typedef gboolean (*GESFormatterLoadFromURIMethod) (GESFormatter *formatter, */ typedef gboolean (*GESFormatterSaveToURIMethod) (GESFormatter *formatter, GESTimeline *timeline, - gchar * uri); + const gchar * uri); typedef gboolean (*GESFormatterSaveMethod) (GESFormatter * formatter, GESTimeline * timeline); typedef gboolean (*GESFormatterLoadMethod) (GESFormatter * formatter, @@ -134,19 +134,19 @@ struct _GESFormatterClass { GType ges_formatter_get_type (void); /* Main Formatter methods */ -GESFormatter *ges_formatter_new_for_uri (gchar *uri); +GESFormatter *ges_formatter_new_for_uri (const gchar *uri); GESFormatter *ges_default_formatter_new (void); -gboolean ges_formatter_can_load_uri (gchar * uri); -gboolean ges_formatter_can_save_uri (gchar * uri); +gboolean ges_formatter_can_load_uri (const gchar * uri); +gboolean ges_formatter_can_save_uri (const gchar * uri); gboolean ges_formatter_load_from_uri (GESFormatter * formatter, GESTimeline *timeline, - gchar *uri); + const gchar *uri); gboolean ges_formatter_save_to_uri (GESFormatter * formatter, GESTimeline *timeline, - gchar *uri); + const gchar *uri); /* Non-standard methods. WILL BE DEPRECATED */ gboolean ges_formatter_load (GESFormatter * formatter, |