From d3b48855fd805b88e48f59585df7e76317bcc1d5 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Tue, 14 Aug 2012 23:55:22 +0200 Subject: [PATCH] remove Song::SetPosition --- src/song.cpp | 5 ----- src/song.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/song.cpp b/src/song.cpp index f5c76cd0..766c0c5a 100644 --- a/src/song.cpp +++ b/src/song.cpp @@ -322,11 +322,6 @@ void MPD::Song::SetComment(const std::string &str, unsigned pos) SetTag(MPD_TAG_COMMENT, pos, str); } -void MPD::Song::SetPosition(unsigned pos) -{ - mpd_song_set_pos(itsSong, pos); -} - void MPD::Song::SetTags(SetFunction f, const std::string &value) { unsigned pos = 0; diff --git a/src/song.h b/src/song.h index cba72824..a63cf4a8 100644 --- a/src/song.h +++ b/src/song.h @@ -81,7 +81,6 @@ namespace MPD void SetPerformer(const std::string &, unsigned = 0); void SetDisc(const std::string &, unsigned = 0); void SetComment(const std::string &, unsigned = 0); - void SetPosition(unsigned); void SetTags(SetFunction, const std::string &);