Fwd: Re: class KWin for win32
Thiago Macieira
thiago at kde.org
Sat Jul 22 17:48:38 BST 2006
Jarosław Staniek wrote:
>Inheritance:
>
>KWin (interface, only common methods here)
>
> : KX11Win (X11-specific methods are added here)
> : KWindowsWin (stupid name, win32-specific can be added here)
> : KMacWin (...)
>
>What do you think?
Why inherit at all? One single class should do.
If there are platform-specific methods, make sure they are properly
described as such, so that people won't try to call them when not needed.
I don't have to say we should keep the number of such methods to a
minimum.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060722/e33b3fa2/attachment.sig>
More information about the kde-core-devel
mailing list