Defined a stub glk_schannel_struct to fix another regression
authorfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Fri, 30 Apr 2010 11:08:05 +0000 (11:08 +0000)
committerfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Fri, 30 Apr 2010 11:08:05 +0000 (11:08 +0000)
libchimara/Makefile.am
libchimara/schannel.c
libchimara/schannel.h [new file with mode: 0644]

index de74326ae8a2abe122002d55f4045a7a35ce863d..b0ce28ead27c6b05e1a775865b3af24a73d3119b 100644 (file)
@@ -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 \
index c9911480b988aae8af9772ee95fd1b17f0dc3e8d..d8bfefc9945b685828f5e33033d923a8b4f0a5c2 100644 (file)
@@ -1,6 +1,9 @@
 #include <glib.h>
 #include <libchimara/glk.h>
 
+#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 (file)
index 0000000..6ec0ce3
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef __SCHANNEL_H__
+#define __SCHANNEL_H__
+
+#include <glib.h>
+#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