[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Queue Manager
From:       furt () gmx ! de
Date:       2010-02-01 1:06:07
Message-ID: 201002010206.08048.furt () gmx ! de
[Download RAW message or body]

Hello,

I just started work on a Queue Manager for Amarok 2. What I have so far is a 
very basic read-only Queue View Applet for the context view and a bunch of 
questions.

First of all, is there already some ongoing work concerning the queue manager? 
If not, is there interest in adding one? I'll implement one anyway, because I 
personally need one, but if there is general interest, we should sync our 
plans, so the community can benefit from my work.

Concerning the actual implementation: currently I use a very basic approach by 
simply polling TrackNavigator::queue() from within a QueueEngine and 
subscribing to the QueueEngine from a QueueManager context applet. To be able 
to access the queue from within the QueueEngine I had to AMAROK_EXPORT the 
class TrackNavigator, but probably it would be better to create an observer 
pattern like a separate TrackQueue-class and a TrackQueueObserver. What do you 
think about this approach?

Please note that today was the first time I had a look at the source of Amarok 
and at KDE applications in general, so if you think there is a better 
approach, don't hesitate to tell me.

Cheers,
Marius
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic