Hi!

On Sat, Nov 11, 2006 at 12:13:57AM +0100, Quentin Math? wrote:
> I just committed a basic SystemConfig prototype to ?toil? repository.  
> It's mainly an API until it gets updated with real code.

I recently took a quick look at the API. I'm not sure if this simple API
will be sufficient for system configuration.

First, I would like to have an API for retrieving information about what
the system supports. How shall the keyboard preferences dialog and
screen resolution dialog offer options to choose from, if they don't
know which keyboard types and screen properties are supported by the
system?

Also very important IMHO would be to have a defined API on how
SystemConfig gives back error information. Sometimes, hardware just
fails, and SystemConfig should let you know if that happens, especially
when changing a system preference fails.

I would also like to have SystemConfig objects send notifications when
they changed. That would integrate nicely with MVC. We don't have any
implementation yet, but the notification name should still be defined
and the same for all OS-specific implementations.

Another thing (but this is just a wish), is that I'd like to have the
plain SystemConfig classes call [self subclassResponsibility: _cmd], as
i assume the OS-specific implementations are going to be done in
subclasses, whose instances are returned by some factory class. Putting
every OS-specific implementation in one file would end up in a mess of
#defines.

I'm sorry that I don't have the time to implement that now, put I'd be
delighted if someone picked up these ideas. :-)

-Guenther



_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to