ayttm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ayttm-devel] Prefs window


From: Andy
Subject: Re: [Ayttm-devel] Prefs window
Date: Sat, 22 Mar 2003 14:38:10 -0100
User-agent: KMail/1.4.3

On Saturday 22 March 2003 12:18, Philip S Tellis wrote:
> Agreed.  I had tried to start something like this, but it was too much
> of a headache - some other files also had to be changed.  If you think
> you can, then go ahead.

I'm starting to get the headache :-)  I really think this should be done 
though, so I'm going to press on.

> Also, speaking of C++, what do others think about writing some parts in
> C++?  We could have an abstract base prefs class, and let the Gtk+ one
> derive from it.

I'd be quite happy to move the whole thing to C++, but I know some others are 
against it...  :-)

> > struct prefs
> > {
> >     int             do_login_on_startup;
> >     int             do_ayttm_debug;
> >     int             do_ayttm_debug_html;
> > ...
> > };
>
> since the prefs list is potentially infinite, I'd suggest using a list
> of value_pairs.

Well, the thing I like about the struct is that all the prefs are explicit and 
can be copied easily.  What do you mean by 'potentially infinite'?

About the modules prefs - does the end user [or anyone for that matter] really 
need to set module paths and 'Rescan'?

Andy




reply via email to

[Prev in Thread] Current Thread [Next in Thread]