comparison finch/gntsound.h @ 18473:38ff7582c569

Silent sound for finch. The audible stuff will get in in a later release.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 11 Jul 2007 17:45:09 +0000
parents
children 1a9b30a95fa6
comparison
equal deleted inserted replaced
18472:58aeac6930fa 18473:38ff7582c569
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 name of the active sound profile.
37 *
38 * @return The name of the profile
39 */
40 const char *finch_sound_get_active_profile(void);
41
42 /**
43 * Set the active profile. If the profile doesn't exist, nothing is changed.
44 *
45 * @param name The name of the profile
46 */
47 void finch_sound_set_active_profile(const char *name);
48
49 /**
50 * Get a list of available sound profiles.
51 *
52 * @return A list of strings denoting sound profile names.
53 * Caller must free the list (but not the data).
54 */
55 GList *finch_sound_get_profiles(void);
56
57 /**
58 * Gets GNT sound UI ops.
59 *
60 * @return The UI operations structure.
61 */
62 PurpleSoundUiOps *finch_sound_get_ui_ops(void);
63
64 /**
65 * Show the sound settings dialog.
66 */
67 void finch_sounds_show_all(void);
68
69 /*@}*/
70
71 #endif