27#ifndef _PURPLE_SOUND_H_
28#define _PURPLE_SOUND_H_
66 void (*play_file)(
const char *filename);
69 void (*_purple_reserved1)(void);
70 void (*_purple_reserved2)(void);
71 void (*_purple_reserved3)(void);
72 void (*_purple_reserved4)(void);
enum _PurpleSoundEventID PurpleSoundEventID
Data Structures
PurpleSoundUiOps * purple_sound_get_ui_ops(void)
Gets the UI sound operations.
void * purple_sounds_get_handle(void)
Returns the sound subsystem handle.
void purple_sound_play_file(const char *filename, const PurpleAccount *account)
Plays the specified sound file.
struct _PurpleSoundUiOps PurpleSoundUiOps
Operations used by the core to request that particular sound files, or the sound associated with a pa...
void purple_sound_set_ui_ops(PurpleSoundUiOps *ops)
Sets the UI sound operations.
void purple_sound_play_event(PurpleSoundEventID event, const PurpleAccount *account)
Plays the sound associated with the specified event.
void purple_sound_uninit(void)
Shuts down the sound subsystem.
void purple_sound_init(void)
Initializes the sound subsystem.
_PurpleSoundEventID
Data Structures
@ PURPLE_NUM_SOUNDS
Total number of sounds.
@ PURPLE_SOUND_CHAT_LEAVE
Someone leaves a chat.
@ PURPLE_SOUND_BUDDY_LEAVE
Buddy signs off.
@ PURPLE_SOUND_BUDDY_ARRIVE
Buddy signs on.
@ PURPLE_SOUND_POUNCE_DEFAULT
Default sound for a buddy pounce.
@ PURPLE_SOUND_CHAT_NICK
Someone says your name in a chat.
@ PURPLE_SOUND_CHAT_SAY
Someone else says somthing in a chat.
@ PURPLE_SOUND_GOT_ATTENTION
Got an attention
@ PURPLE_SOUND_RECEIVE
Receive an IM.
@ PURPLE_SOUND_FIRST_RECEIVE
Receive an IM that starts a conv.
@ PURPLE_SOUND_CHAT_YOU_SAY
You say something in a chat.
@ PURPLE_SOUND_SEND
Send an IM.
@ PURPLE_SOUND_CHAT_JOIN
Someone joins a chat.
Structure representing an account.
Operations used by the core to request that particular sound files, or the sound associated with a pa...