Maks Orlovich mo002j at
Tue Jun 8 18:21:45 BST 2004

On Tuesday 08 June 2004 11:43 am, David Faure wrote:
> On Tuesday 08 June 2004 19:40, Olivier Goffart wrote:
> > I guess you removed it only for the extensibility reason.
> > But you let a default value in the fonction which has exactly the same
> > problem.
> No it doesn't. If you add a new feature, you won't add it to the default
> value of the parameter, in order to preserve former behavior, and
> everything will be fine.
> If you had All, then you would be very tempted to add the new feature to
> it, which would change existing behavior.

It's a good idea to add an MaxValue = 65535 or such, though, since otherwise 
the enum will be limited to how many bits it needs right now in some code 
paths using it, and so extending it will be risky BC-wise.

More information about the kde-core-devel mailing list