X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fschannel.h;h=465e7dc51fe9b7095dbf870ffec104dd0a14bc2a;hb=1ad4eb4c0cf0542a29c86ddb07a07d386bc30ac1;hp=4a4b1fdcfea5964d184f4fb5746a936c127bbc90;hpb=993f3a070baa8131ddd159a55d5cde43a91d2154;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/schannel.h b/libchimara/schannel.h index 4a4b1fd..465e7dc 100644 --- a/libchimara/schannel.h +++ b/libchimara/schannel.h @@ -5,6 +5,7 @@ #include #include "glk.h" #include "gi_dispa.h" +#include "chimara-glk.h" #ifdef GSTREAMER_SOUND #include #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;