Le 18 août 06 à 19:43, Günther Noack a écrit :
Am 18.08.2006 um 10:54 schrieb Damien Pollet:
On 8/12/06, Günther Noack <[EMAIL PROTECTED]> wrote:
Attached to this mail, you'll find a simple GUI sketch of the
preferences window.
<lurker mode="pedantic">
the [rescan] button isn't needed, the app should instead register for
file system notifications :)
</lurker>
That's a good point.
Is it realistic to implement it this way given the current state of
Etoile? Do the Etoile target platforms support this?
I also don't know how to do it. :-> Is it an Etoile extension?
In EtoileExtensionsKit framework, there is a protocol UKFileWatcher
to support this feature. However there is a concrete implementation
only for kqueue enabled system (like FreeBSD, Darwin, NetBSD and
other BSDs too I think now), the name of the class implementing
kqueue support is UKKQueue.
It should be possible without too much difficulties to write a
similar class implementing UKFileWatcher protocol on Linux by relying
on inotify API (or dnotify if the kernel is a bit older).
For Solaris, well I don't know whether such kernel API is provided or
not. Not sure Solaris is really a target for us right now ;-)
Quentin.
--
Quentin Mathé
[EMAIL PROTECTED]
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev