gntsound.h
Go to the documentation of this file.
1
6 /* finch
7 *
8 * Finch is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
25 */
26 #ifndef _GNT_SOUND_H
27 #define _GNT_SOUND_H
28
29 #include "sound.h"
30
31 /**********************************************************************/
33 /**********************************************************************/
43 const char *finch_sound_get_active_profile(void);
44
52 void finch_sound_set_active_profile(const char *name);
53
62 GList *finch_sound_get_profiles(void);
63
72 gboolean finch_sound_is_enabled(void);
73
81 PurpleSoundUiOps *finch_sound_get_ui_ops(void);
82
88 void finch_sounds_show_all(void);
89
92 #endif
finch_sound_set_active_profile
void finch_sound_set_active_profile(const char *name)
Set the active profile.
sound.h
Sound API.
finch_sound_is_enabled
gboolean finch_sound_is_enabled(void)
Determine whether any sound will be played or not.
_PurpleSoundUiOps
Operations used by the core to request that particular sound files, or the sound associated with a pa...
Definition: sound.h:62
finch_sound_get_active_profile
const char * finch_sound_get_active_profile(void)
Get the name of the active sound profile.
finch_sounds_show_all
void finch_sounds_show_all(void)
Show the sound settings dialog.
finch_sound_get_ui_ops
PurpleSoundUiOps * finch_sound_get_ui_ops(void)
Gets GNT sound UI ops.
finch_sound_get_profiles
GList * finch_sound_get_profiles(void)
Get a list of available sound profiles.