summaryrefslogtreecommitdiff
path: root/src/totem.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-01-23 12:24:20 +0100
committerBastien Nocera <hadess@hadess.net>2014-01-23 12:28:50 +0100
commit67021249bb5311da03b2426e73df648e21a5dc59 (patch)
treea39c569e8e09e7bb3cb741c1dfe3126c5825d97d /src/totem.h
parent3dc8d1d3cf01cb3358b13c5a5ecd1c3bd11af3e4 (diff)
downloadtotem-67021249bb5311da03b2426e73df648e21a5dc59.tar.gz
main: Modify totem_object_add_to_playlist_and_play()
Rename totem_object_add_to_playlist_and_play() to totem_object_add_to_playlist(), and pass whether to play the added media as an additional parameter.
Diffstat (limited to 'src/totem.h')
-rw-r--r--src/totem.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/totem.h b/src/totem.h
index 0c39bc579..ca113af88 100644
--- a/src/totem.h
+++ b/src/totem.h
@@ -206,9 +206,10 @@ int totem_object_get_playlist_pos (TotemObject *totem);
char * totem_object_get_title_at_playlist_pos (TotemObject *totem,
guint playlist_index);
void totem_object_clear_playlist (TotemObject *totem);
-void totem_object_add_to_playlist_and_play (TotemObject *totem,
- const char *uri,
- const char *display_name);
+void totem_object_add_to_playlist (TotemObject *totem,
+ const char *uri,
+ const char *display_name,
+ gboolean play);
char * totem_object_get_current_mrl (TotemObject *totem);
void totem_object_set_current_subtitle (TotemObject *totem,
const char *subtitle_uri);