Implemented sound notification events
[projects/chimara/chimara.git] / libchimara / schannel.h
index 4a4b1fdcfea5964d184f4fb5746a936c127bbc90..465e7dc51fe9b7095dbf870ffec104dd0a14bc2a 100644 (file)
@@ -5,6 +5,7 @@
 #include <glib.h>
 #include "glk.h"
 #include "gi_dispa.h"
+#include "chimara-glk.h"
 #ifdef GSTREAMER_SOUND
 #include <gst/gst.h>
 #endif
@@ -17,7 +18,11 @@ struct glk_schannel_struct
        /* Pointer to the list node in the global sound channel list that contains 
         this sound channel */
        GList *schannel_list;
+       /* Pointer to the GTK widget this sound channel belongs to, for convenience */
+       ChimaraGlk *glk;
 
+       /* Resource number and notification ID of last played sound */
+       glui32 resource, notify;
        /* How many times to repeat the last sound played (-1 = forever) */
        glui32 repeats;