Mercurial > pidgin
annotate src/gtksound.h @ 12373:508512caa22e
[gaim-migrate @ 14677]
deryni pointed out that ggp_buddy_get_name leaks when the user isn't a buddy. I went to fix that and tweaked a bunch of code.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 06 Dec 2005 19:50:47 +0000 |
parents | fc464a0abccc |
children | b9fb09bc5b32 |
rev | line source |
---|---|
5684 | 1 /** |
2 * @file gtksound.h GTK+ Sound API | |
10322 | 3 * @ingroup gtkui |
5684 | 4 * |
5 * gaim | |
6 * | |
8046 | 7 * Gaim 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. | |
5684 | 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 _GAIM_GTKSOUND_H_ | |
26 #define _GAIM_GTKSOUND_H_ | |
27 | |
28 /**************************************************************************/ | |
29 /** @name GTK+ Sound API */ | |
30 /**************************************************************************/ | |
31 /*@{*/ | |
32 | |
33 /** | |
34 * Get the prefs option for an event. | |
35 * | |
36 * @param event The event. | |
37 * @return The option. | |
38 */ | |
39 const char *gaim_gtk_sound_get_event_option(GaimSoundEventID event); | |
40 | |
41 /** | |
42 * Get the label for an event. | |
43 * | |
44 * @param event The event. | |
45 * @return The label. | |
46 */ | |
47 char *gaim_gtk_sound_get_event_label(GaimSoundEventID event); | |
48 | |
10322 | 49 /** |
50 * Gets GTK+ sound UI ops. | |
51 * | |
52 * @return The UI operations structure. | |
53 */ | |
54 GaimSoundUiOps *gaim_gtk_sound_get_ui_ops(void); | |
55 | |
56 /** | |
57 * Get the handle for the GTK+ sound system. | |
58 * | |
59 * @return The handle to the sound system | |
60 */ | |
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
10322
diff
changeset
|
61 void *gaim_gtk_sound_get_handle(void); |
10322 | 62 |
5684 | 63 /*@}*/ |
64 | |
65 #endif /* _GAIM_GTKSOUND_H_ */ |