Hi all,
I just committed a basic SystemConfig prototype to Étoilé repository.
It's mainly an API until it gets updated with real code.
SystemConfig is a framework which provides a common way to set system
specific preferences by interfacing with the host system.
The currently included classes are SCMonitor, SCSound, SCKeyboard and
SCMouse to set preferences respectively for monitor, sound, keyboard
and mouse :)
You can contribute with code in order to have each method implemented
for as many host systems as possible. If the method implementation is
dependent on X11, it will be easier since that's the only window
server we support at this time. When the code tends to get too much
complicated in a class, I think we should convert it in a class
cluster or some similar pattern.
If it's possible, I plan to interface many methods with GNOME
system-tools-backend to have rapidly a large range of host systems
supported.
I plan to write a basic daemon 'etoile_configServer' to monitor
kernel events and process every preference modification requests in a
queue. I think a simple NSDistributedLock could do the trick until
this daemon is added.
<http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Frameworks/
SystemConfig/>
That's it for now,
Quentin.
--
Quentin Mathé
[EMAIL PROTECTED]
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev