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

List:       kde-core-devel
Subject:    Re: [PATCH] kcmoduleinfo [WAS] Plugin linking problem
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-08-10 14:29:01
Message-ID: 20070810142901.GA1050 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 10.08.07 15:33:43, Matthias Kretz wrote:
> On Friday 10 August 2007, David Faure wrote:
> > because it  keeps the code much more modular. You can just link together
> > your kcontrol module code and your ktexteditor code plugin code, without the
> > need for those two pieces of code to know about each other. If you had to
> > create one mega-factory which can create both kinds of things, then you need
> > to tie them together at the code level, making future refactorings more
> > difficult.
> 
> Right.
[...]
> Anyway, by deriving from a KCModuleFactory type of class it could look like 
> this:

Hmm, this looks like a quite good solution to me.

Andreas

-- 
You will gain money by an immoral action.
[prev in list] [next in list] [prev in thread] [next in thread] 

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