[Kommander-devel] Re: Kommander plugins

Andras Mantia amantia at kdewebdev.org
Mon Apr 14 02:51:12 EDT 2008


Hi,

On Monday 14 April 2008, Eric Laffoon wrote:
> Hi Andras,
> I thought I'd post this on the developer list. Funny how little
> changes between versions can expand your understanding of what the
> hey was going on. so the last issue I have is that my plugin is not
> finding any library for kommanderplugin. I thought I'd add it to
> CMakeLists.txt as more of my trial by fire with cmake and it squaked
> that it didn't have a source file... which is when I saw that you had
> included it in kommandercore. That raises the question, do you want
> to have it there and call kdecore with plugins? Off the top of my
> head that seems inefficient and potentially deangerous depending on
> how everything is declared and loaded. I may give it a try, but I
> wanted to ask you your thoughts when you did this first.


I simply merged all those little libraries that depended on each other 
in Kommander 1.x. Now you have one library that builds the widgets 
(factory), loads the plugins (plugin) and has the helper classes 
(widget). The widgets library now is a plugin as it is any other 
plugin. Whenever you change a widget, you change only in one place, in 
that plugin, not like in 1.x where you changed I think in 3 or 4 places 
to make it work correctly.
 This isn't more dangerous, nor less efficient. actually would make the 
startup of Kommander scripts faster as there are less libraries to find 
and probably less symbols to resolve.

Andras


-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail01.fortunecookiestudios.com/pipermail/kommander-devel/attachments/20080414/65d11fb8/attachment.pgp


More information about the Kommander-devel mailing list