Mercurial > pidgin
annotate src/gtksound.h @ 9308:b3bda982996b
[gaim-migrate @ 10116]
Yikes.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 19 Jun 2004 04:57:43 +0000 |
parents | fa6395637e2c |
children | db62420a53a2 |
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 | |
25 #ifndef _GAIM_GTKSOUND_H_ | |
26 #define _GAIM_GTKSOUND_H_ | |
27 | |
28 /**************************************************************************/ | |
29 /** @name GTK+ Sound API */ | |
30 /**************************************************************************/ | |
31 /*@{*/ | |
32 | |
33 /** | |
34 * Gets GTK Sound UI opsA | |
35 * | |
36 * @return UI operations struct | |
37 */ | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
38 GaimSoundUiOps *gaim_gtk_sound_get_ui_ops(void); |
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
5684
diff
changeset
|
39 |
5684 | 40 /** |
41 * Mutes or un-mutes sounds. | |
42 * | |
43 * @param mute The mute state. | |
44 */ | |
45 void gaim_gtk_sound_set_mute(gboolean mute); | |
46 | |
47 /** | |
48 * Gets mute state for sounds. | |
49 * | |
50 * @return The mute state. | |
51 */ | |
52 gboolean gaim_gtk_sound_get_mute(); | |
53 | |
54 /** | |
55 * Mutes or un-mutes login sounds. | |
56 * | |
57 * @param mute The mute state. | |
58 */ | |
59 void gaim_gtk_sound_set_login_mute(gboolean mute); | |
60 | |
61 /** | |
62 * Get the prefs option for an event. | |
63 * | |
64 * @param event The event. | |
65 * @return The option. | |
66 */ | |
67 const char *gaim_gtk_sound_get_event_option(GaimSoundEventID event); | |
68 | |
69 /** | |
70 * Get the label for an event. | |
71 * | |
72 * @param event The event. | |
73 * @return The label. | |
74 */ | |
75 char *gaim_gtk_sound_get_event_label(GaimSoundEventID event); | |
76 | |
77 /*@}*/ | |
78 | |
79 #endif /* _GAIM_GTKSOUND_H_ */ |