Roflincopter / dmp

Distributed Music Player
Other
1 stars 1 forks source link

The playlist type in libdmpcommon:message.hpp should become It's own class #2

Closed Roflincopter closed 10 years ago

Roflincopter commented 10 years ago

There are 2 places where this type is magically introduced in the code. This should be fixed by creating a class. That contains the same type but more preferably a struct and a vector of structs to also remove the magic std::get(tuple) code that is used in the dmp_radio.{hpp,cpp}.

Roflincopter commented 10 years ago

Refactored in bc91d69c32675411efd8ba52e7aef4eca2a32f5a

The Playlist type is now defined in libdmp-common playlist.hpp