From: fliep Date: Fri, 30 Apr 2010 11:08:05 +0000 (+0000) Subject: Defined a stub glk_schannel_struct to fix another regression X-Git-Tag: v0.9~215 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=d25a05379c19a2e851918cf7130fbd04fef5f7ef;p=projects%2Fchimara%2Fchimara.git Defined a stub glk_schannel_struct to fix another regression --- diff --git a/libchimara/Makefile.am b/libchimara/Makefile.am index de74326..b0ce28e 100644 --- a/libchimara/Makefile.am +++ b/libchimara/Makefile.am @@ -35,7 +35,7 @@ libchimara_la_SOURCES = \ mouse.c mouse.h \ pager.c pager.h \ resource.c resource.h \ - schannel.c \ + schannel.c schannel.h \ stream.c stream.h \ strio.c strio.h \ style.c style.h \ diff --git a/libchimara/schannel.c b/libchimara/schannel.c index c991148..d8bfefc 100644 --- a/libchimara/schannel.c +++ b/libchimara/schannel.c @@ -1,6 +1,9 @@ #include #include +#include "magic.h" +#include "schannel.h" + /** * glk_schannel_create: * @rock: The rock value to give the new sound channel. diff --git a/libchimara/schannel.h b/libchimara/schannel.h new file mode 100644 index 0000000..6ec0ce3 --- /dev/null +++ b/libchimara/schannel.h @@ -0,0 +1,18 @@ +#ifndef __SCHANNEL_H__ +#define __SCHANNEL_H__ + +#include +#include "glk.h" +#include "gi_dispa.h" + +struct glk_schannel_struct +{ + /*< private >*/ + glui32 magic, rock; + gidispatch_rock_t disprock; + /* Pointer to the list node in the global sound channel list that contains + this sound channel */ + GList *schannel_list; +}; + +#endif \ No newline at end of file