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

List:       kde-core-devel
Subject:    klibfactory cleanup
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2001-09-23 15:32:53
[Download RAW message or body]

Hi,

What do you think about renaming KLibFactory to KComponentFactory
and putting it into its own header file? 

(of course we can keep source compat through a KDE_NO_COMPAT guarded 
typedef)

Also I'm thinking about defining a macro like

#define KDE_EXPORT_COMPONENT_FACTORY( factory ) \
    extern "C" { void *kde_initFactory() { return new factory; } }

to hide a bit of the uglyness :)

Opinions?

Simon

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

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