3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _PIDGINSOUND_H_
23 #define _PIDGINSOUND_H_
26 * @section_id: pidgin-gtksound
27 * @short_description: <filename>gtksound.h</filename>
35 /**************************************************************************/
37 /**************************************************************************/
40 * pidgin_sound_get_event_option:
43 * Get the prefs option for an event.
45 * Returns: The option.
47 const char *pidgin_sound_get_event_option(PurpleSoundEventID event
);
50 * pidgin_sound_get_event_label:
53 * Get the label for an event.
57 const char *pidgin_sound_get_event_label(PurpleSoundEventID event
);
60 * pidgin_sound_get_ui_ops:
62 * Gets GTK+ sound UI ops.
64 * Returns: The UI operations structure.
66 PurpleSoundUiOps
*pidgin_sound_get_ui_ops(void);
69 * pidgin_sound_get_handle:
71 * Get the handle for the GTK+ sound system.
73 * Returns: The handle to the sound system
75 void *pidgin_sound_get_handle(void);
78 * pidgin_sound_is_customized:
80 * Returns true Pidgin is using customized sounds
82 * Returns: TRUE if non default sounds are used.
84 gboolean
pidgin_sound_is_customized(void);
88 #endif /* _PIDGINSOUND_H_ */