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

List:       kde-panel-devel
Subject:    Re: Plugins: Use Qt plugin art. or XML?
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-07-14 7:39:11
Message-ID: 200807140139.11751.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 14 July 2008, Kelly Miller wrote:
> I mean, where the plasmoid itself is programmed to use a generic class, and
> then each media player has a class that inherits from the generic class
> used.  That way, all that has to be done to add support for a media player
> is to write a single class library.
..
> As for what XML has to do with this, one idea I had was to use a single XML
> file for each "media player driver", and then follow the instructions there
> to properly communicate with the media player chosen...

in the plugin scenario, you should be using KDE's plugin system (built on top 
of Qt's plugin system) which is documented in tutorials on techbase, iirc.

to give you more specific suggestions, if you could provide the API of the 
generic class or at enumerate the funtionality the class would provide then i 
might be able to suggest some things.

(what would be beautiful is if all the media players had a consistent d-bus 
interface, but i daren't dream that far ;)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech


["signature.asc" (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


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

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