[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Fwd: Re: class KWin for win32
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-07-22 16:48:38
Message-ID: 200607221848.39172.thiago () kde ! org
[Download RAW message or body]
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
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic