diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:48:38 +0200 |
commit | ff626ac76357940b2f0ac5cb243a68ac13df0f8a (patch) | |
tree | 493888a28950f75f5e254c0ded9dc9703ee83dc3 /src/PlaylistSave.hxx | |
parent | 59f8144c50765189594d5932fc25869f9ea6e265 (diff) | |
download | mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.gz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.xz mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.zip |
*: use references instead of pointers
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistSave.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PlaylistSave.hxx b/src/PlaylistSave.hxx index f85558755..54f48f4b8 100644 --- a/src/PlaylistSave.hxx +++ b/src/PlaylistSave.hxx @@ -31,7 +31,7 @@ struct player_control; class Error; void -playlist_print_song(FILE *fp, const Song *song); +playlist_print_song(FILE *fp, const Song &song); void playlist_print_uri(FILE *fp, const char *uri); @@ -40,20 +40,20 @@ playlist_print_uri(FILE *fp, const char *uri); * Saves a queue object into a stored playlist file. */ enum playlist_result -spl_save_queue(const char *name_utf8, const struct queue *queue); +spl_save_queue(const char *name_utf8, const queue &queue); /** * Saves a playlist object into a stored playlist file. */ enum playlist_result -spl_save_playlist(const char *name_utf8, const struct playlist *playlist); +spl_save_playlist(const char *name_utf8, const playlist &playlist); /** * Loads a stored playlist file, and append all songs to the global * playlist. */ bool -playlist_load_spl(struct playlist *playlist, struct player_control *pc, +playlist_load_spl(struct playlist &playlist, player_control &pc, const char *name_utf8, unsigned start_index, unsigned end_index, Error &error); |