On Wed, 4 Jan 2012 09:59:19 -0300, David Capello <
davidcapello@xxxxxxxxxx> wrote:
> The basic idea is to be able to listen to file/directories
> changes. The API could be something like this:
>
> ALLEGRO_FS_ENTRY* fsentry = ...;
>
> al_register_event_source(queue,
> al_get_fs_entry_event_source(fsentry));
>
> while (...) {
> ALLEGRO_EVENT ev;
> al_wait_for_event(queue, &ev);
>
> switch (ev.type) {
> case ALLEGRO_EVENT_FS_ENTRY_CHANGED: ...; break;
> case ALLEGRO_EVENT_FS_ENTRY_DELETED: ...; break;
> case ALLEGRO_EVENT_FS_ENTRY_NEWCHILD: ...; break;
> }
> }
Can you make a case for why this feature needs to be in Allegro or an