1 #ifndef fooglibmainloophfoo
2 #define fooglibmainloophfoo
6 #include "mainloop-api.h"
10 * GLIB main loop support */
14 /** \struct pa_glib_mainloop
15 * A GLIB main loop object */
16 struct pa_glib_mainloop;
18 /** Create a new GLIB main loop object for the specified GLIB main loop context. If c is NULL the default context is used. */
19 struct pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c);
21 /** Free the GLIB main loop object */
22 void pa_glib_mainloop_free(struct pa_glib_mainloop* g);
24 /** Return the abstract main loop API vtable for the GLIB main loop object */
25 struct pa_mainloop_api* pa_glib_mainloop_get_api(struct pa_glib_mainloop *g);