Mercurial > pidgin
annotate src/gtksound.h @ 10007:267a2b69e36e
[gaim-migrate @ 10924]
Better i18nability and more uniform code?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 10 Sep 2004 04:30:37 +0000 |
parents | db62420a53a2 |
children | 2e225cd35615 |
rev | line source |
---|---|
5684 | 1 /** |
2 * @file gtksound.h GTK+ Sound API | |
3 * | |
4 * gaim | |
5 * | |
8046 | 6 * Gaim is the legal property of its developers, whose names are too numerous |
7 * to list here. Please refer to the COPYRIGHT file distributed with this | |
8 * source distribution. | |
5684 | 9 * |
10 * This program is free software; you can redistribute it and/or modify | |
11 * it under the terms of the GNU General Public License as published by | |
12 * the Free Software Foundation; either version 2 of the License, or | |
13 * (at your option) any later version. | |
14 * | |
15 * This program is distributed in the hope that it will be useful, | |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 * GNU General Public License for more details. | |
19 * | |
20 * You should have received a copy of the GNU General Public License | |
21 * along with this program; if not, write to the Free Software | |
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
23 */ | |
24 #ifndef _GAIM_GTKSOUND_H_ | |
25 #define _GAIM_GTKSOUND_H_ | |
26 | |
27 /**************************************************************************/ | |
28 /** @name GTK+ Sound API */ | |
29 /**************************************************************************/ | |
30 /*@{*/ | |
31 | |
32 /** | |
33 * Gets GTK Sound UI opsA | |
34 * | |
35 * @return UI operations struct | |
36 */ | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
37 GaimSoundUiOps *gaim_gtk_sound_get_ui_ops(void); |
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
38 |
5684 | 39 /** |
40 * Mutes or un-mutes sounds. | |
41 * | |
42 * @param mute The mute state. | |
43 */ | |
44 void gaim_gtk_sound_set_mute(gboolean mute); | |
45 | |
46 /** | |
47 * Gets mute state for sounds. | |
48 * | |
49 * @return The mute state. | |
50 */ | |
51 gboolean gaim_gtk_sound_get_mute(); | |
52 | |
53 /** | |
54 * Mutes or un-mutes login sounds. | |
55 * | |
56 * @param mute The mute state. | |
57 */ | |
58 void gaim_gtk_sound_set_login_mute(gboolean mute); | |
59 | |
60 /** | |
61 * Get the prefs option for an event. | |
62 * | |
63 * @param event The event. | |
64 * @return The option. | |
65 */ | |
66 const char *gaim_gtk_sound_get_event_option(GaimSoundEventID event); | |
67 | |
68 /** | |
69 * Get the label for an event. | |
70 * | |
71 * @param event The event. | |
72 * @return The label. | |
73 */ | |
74 char *gaim_gtk_sound_get_event_label(GaimSoundEventID event); | |
75 | |
76 /*@}*/ | |
77 | |
78 #endif /* _GAIM_GTKSOUND_H_ */ |