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