
29 Oct
2009
29 Oct
'09
3:17 p.m.
On Oct 29, 2009, at 7:42 AM, Krzysztof KosiĆski wrote:
I was wondering if Glib has a cross-platform inotify equivalent, and it does. This is what we need to implement external editing of embedded files. Just watch for file change events and update the embedded data whenever that happens. However, we need to at least partially move to GIO to make any use of this.
http://library.gnome.org/devel/gio/unstable/GFileMonitor.html
Well... inotify is a nice idea, but has some significant use issues.
But more importantly that is only one way to do such code. There are many other ways to do it. And most significant is that Inkscape already has such code and is doing such watching and updating.