Mercurial > pidgin
annotate finch/gntsound.h @ 19125:915ef65d68e3
Changed the volume changer to a GntSlider.
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Fri, 29 Jun 2007 21:12:03 +0000 |
parents | 907c41608ada |
children | 5ff1231993af |
rev | line source |
---|---|
19100 | 1 /** |
2 * @file gntsound.h GNT Sound API | |
3 * @ingroup finch | |
4 * | |
5 * finch | |
6 * | |
7 * Finch is the legal property of its developers, whose names are too numerous | |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
10 * | |
11 * This program is free software; you can redistribute it and/or modify | |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 #ifndef _GNT_SOUND_H | |
26 #define _GNT_SOUND_H | |
27 | |
28 #include "sound.h" | |
29 | |
30 /**********************************************************************/ | |
31 /** @name GNT Sound API */ | |
32 /**********************************************************************/ | |
33 /*@{*/ | |
34 | |
35 /** | |
36 * Get the prefs option for an event. | |
37 * | |
38 * @param event The event. | |
39 * @return The option. | |
40 */ | |
41 const char *finch_sound_get_event_option(PurpleSoundEventID event); | |
42 | |
43 /** | |
44 * Get the label for an event. | |
45 * | |
46 * @param event The event. | |
47 * @return The label. | |
48 */ | |
49 const char *finch_sound_get_event_label(PurpleSoundEventID event); | |
50 | |
51 /** | |
52 * Gets GNT sound UI ops. | |
53 * | |
54 * @return The UI operations structure. | |
55 */ | |
56 PurpleSoundUiOps *finch_sound_get_ui_ops(void); | |
57 | |
58 /** | |
19117
907c41608ada
Added Sounds to the actions list
Eric Polino <aluink@pidgin.im>
parents:
19100
diff
changeset
|
59 * Show the sound settings dialog. |
907c41608ada
Added Sounds to the actions list
Eric Polino <aluink@pidgin.im>
parents:
19100
diff
changeset
|
60 */ |
907c41608ada
Added Sounds to the actions list
Eric Polino <aluink@pidgin.im>
parents:
19100
diff
changeset
|
61 void finch_sounds_show_all(void); |
907c41608ada
Added Sounds to the actions list
Eric Polino <aluink@pidgin.im>
parents:
19100
diff
changeset
|
62 |
907c41608ada
Added Sounds to the actions list
Eric Polino <aluink@pidgin.im>
parents:
19100
diff
changeset
|
63 /** |
19100 | 64 * Get the handle for the GNT sound system. |
65 * | |
66 * @return The handle to the sound system | |
67 */ | |
68 void *finch_sound_get_handle(void); | |
69 | |
70 /*@}*/ | |
71 | |
72 #endif |