fix broken compilation due to lack of setters for mpd_song

This commit is contained in:
Andrzej Rybczak
2009-10-04 16:10:37 +02:00
parent 0d9f6fab7d
commit de6db568c1
7 changed files with 91 additions and 119 deletions

View File

@@ -69,8 +69,6 @@ std::string IntoStr(mpd_tag_type tag) // this is only for left column's title in
return "Comment";
case MPD_TAG_DISC:
return "Disc";
case MPD_TAG_FILE:
return "Filename";
default:
return "";
}
@@ -170,8 +168,6 @@ MPD::Song::SetFunction IntoSetFunction(mpd_tag_type tag)
return &MPD::Song::SetComment;
case MPD_TAG_DISC:
return &MPD::Song::SetDisc;
case MPD_TAG_FILE:
return &MPD::Song::SetNewName;
default:
return 0;
}