#include <gtask/gtask-stream-parser.h>#include <glib.h>Go to the source code of this file.
Data Structures | |
| struct | _GTaskEventDispatcher |
| struct | _GTaskEventDispatcherClass |
| struct | _GTaskEventDispatcherPrivate |
Defines | |
| #define | GTASK_EVENT_DISPATCHER_TYPE (gtask_event_dispatcher_get_type()) |
| #define | GTASK_EVENT_DISPATCHER(obj) |
| #define | GTASK_EVENT_DISPATCHER_CLASS(klass) |
| #define | GTASK_IS_EVENT_DISPATCHER(obj) |
| #define | GTASK_IS_EVENT_DISPATCHER_CLASS(klass) |
| #define | GTASK_EVENT_DISPATCHER_GET_CLASS(obj) |
Typedefs | |
| typedef _GTaskEventDispatcher | GTaskEventDispatcher |
| typedef _GTaskEventDispatcherPrivate | GTaskEventDispatcherPrivate |
| typedef _GTaskEventDispatcherClass | GTaskEventDispatcherClass |
| typedef gboolean(* | GTaskEventFunc )(GTaskEventDispatcher *, GObject *, gpointer) |
Functions | |
| GType | gtask_event_dispatcher_get_type (void) |
| GTaskEventDispatcher * | gtask_event_dispatcher_new_with_parser (GTaskStreamParser *parser) |
| Creates a new GTaskEventDispatcher bound to the passed in GTaskStreamParser. | |
| guint | gtask_event_dispatcher_add_watch (GTaskEventDispatcher *dispatch, GType watch_type, GTaskEventFunc func, gpointer user_data) |
| Adds a new watch to the GTaskEventDispatcher's watch list. Basically whenever the GTaskStreamParser passes back a GObject of GType watch_type your callback routine will be run. | |
| void | gtask_event_dispatcher_remove_watch (GTaskEventDispatcher *dispatch, guint watch_id) |
| Removes a watch from the passed in GTaskEventDispatcher. | |
| GTaskStreamParser * | gtask_event_dispatcher_get_stream_parser (GTaskEventDispatcher *dispatch) |
| Returns the GTaskStreamParser for the passed in GTaskEventDispatcher. | |
| gboolean | gtask_event_dispatcher_private_parse_callback (GIOChannel *chann, GIOCondition cond, gpointer data) |
| This is the callback that is generally run when the input GIOChannel on the GTaskConnection has data to read. | |
1.3.4