Closed GoogleCodeExporter closed 9 years ago
Not sure about the singleton yet. I'll start hooking up the controls and
explore
possible solutions.
Original comment by bjorn.ol...@gmail.com
on 7 Apr 2008 at 4:53
Just a startup example of my idea regarding the Coordinator (in lack for a
better name):
class Coordinator{
public:
static Coordinator& Instance();
void Play(musik::core::tracklist::IRandomAccess &playlist);
// Will copy a playlist to "now playing" and start playing it.
void Play();
void Stop();
void Pause();
void Next();
void Previous();
// We should probably need some signals for callback events
// that we hook into the transportview
protected:
musik::core::tracklist::Standard nowPlaying;
};
Note: This is just a suggestion. Just think that a singleton is the best so
that we
do not need to locate the transportview every time we need to copy a tracklist
and
start playing it.
Original comment by onne...@gmail.com
on 7 Apr 2008 at 7:55
Original comment by bjorn.ol...@gmail.com
on 18 Apr 2008 at 5:50
Original issue reported on code.google.com by
onne...@gmail.com
on 6 Apr 2008 at 6:24