On Tue, Oct 31, 2006 at 01:51:39PM -0600, David Sowder (Zothar) wrote:
> toad wrote:
> > On Tue, Oct 31, 2006 at 01:09:39PM -0600, David Sowder (Zothar) wrote:
> >   
> >> toad wrote:
> >>     
> >>> Why should a client care about WithDefaults ?
> >>>   
> >>>       
> >> This way the client knows what all the settings are set to without
> >> having to know anything special about Fred's current thoughts on what
> >> the defaults are.
> >>     
> >
> > Sure, so always show all of them?
> >   
> Could;  I guess the idea is that you can also get an exact copy of
> freenet.ini as well.

Not sure why you'd want to do that.

> >>> Also, clients should set one or two settings to change, not the whole
> >>> lot; there may be other changes going on in parallel.
> >>>   
> >>>       
> >> I believe the approach I used will set anywhere from one to all of the
> >> settings at once, depending on the needs of the client.  I tested it by
> >> changing my node's name without providing any other items.
> >>     
> >
> > Hmmm. So it will. Cool.
> >
> > The client also needs to be able to get the defaults, short and long
> > descriptions, whether a setting is expert etc, although the existing
> > code provides for the needs of most clients.
> >   
> I haven't quite sorted how I want to do the defaults, short/long
> descriptions.  Feel free to comment/hack.
> 
> Including the defaults would probably make withDefaults useless though... :)

Indeed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20061031/e47adda3/attachment.pgp>

Reply via email to