On Fri, Sep 28, 2007 at 05:03:29AM +0200, Bastiaan Jacques wrote:
+ /// Add a listener with default priority that listens for IN and HUP
+ /// events on a file descriptor.
+ /// @param callback A pointer to a callback function with the
following
+ /// signature:
+ /// bool func(void*, int, void* data)
+ /// The first and second arguments should be ignored.
+ /// The last argument is a user-specified pointer. The
+ /// callback should return false if the listener is to be
removed.
The first and second arguments should be ignored ??
Yes. Since the first two arguments are data types from Glib, it is probably
undesirable to use them in GUI-neutral code.
When we have a generic interface
in the GUI (base) class, we can do better. For now, though, this should get
the job done.
What is the job, btw ?
--strk;