stubbing KStartupInfo -- win32 feedback? (was Re: A little review of kdecore & kdeui)

David Faure faure at kde.org
Tue Apr 11 22:32:28 BST 2006


On Tuesday 11 April 2006 23:16, Ralf Habacker wrote:
> b. using the same class KStartupInfo placed into platform related files 
> like qt does eg. kstartupinfo_win.cpp, kstartupinfo_mac.cpp  and so on.
> 
> Choice b seems to be the easier way, but may result in more duplicated 
> code, if ther are many common parts.

Not necessarily: the qt solution is to have a kstartupinfo.cpp for the methods that
are common to all platforms. No duplication.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list