From: <bar...@t-...> - 2002-09-28 22:56:58
|
hallo miguel, On 09/28, Miguel Freitas wrote: > On Sat, 2002-09-28 at 18:45, Guenter Bartsch wrote: > > /* > > * receive events > > * > > * use xine_event_free on the events received from these calls > > * when they're no longer needed > > */ > > > > xine_event_t *xine_event_get (xine_event_queue_t *queue); > > xine_event_t *xine_event_wait (xine_event_queue_t *queue); > > void xine_event_free (xine_event_t *event); > > Ok, with this idea what happens if i send an event for which no handler > is currently registered? > > And what if two listeners would like to handle the same event type? all events are always copied and added to all queues - just like the current sheme, everybody receives every event cheers, guenter -- We are all agreed that your theory is crazy. The question which divides us is whether it is crazy enough to have a chance of being correct. My own feeling is that it is not crazy enough. -- Niels Bohr |