~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy

« back to all changes in this revision

Viewing changes to alsaMixer/src/applet-mixer.h

Tags: upstream-3.0.0.0beta1
ImportĀ upstreamĀ versionĀ 3.0.0.0beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
* This file is a part of the Cairo-Dock project
3
 
*
4
 
* Copyright : (C) see the 'copyright' file.
5
 
* E-mail    : see the 'copyright' file.
6
 
*
7
 
* This program is free software; you can redistribute it and/or
8
 
* modify it under the terms of the GNU General Public License
9
 
* as published by the Free Software Foundation; either version 3
10
 
* of the License, or (at your option) any later version.
11
 
*
12
 
* This program is distributed in the hope that it will be useful,
13
 
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
* GNU General Public License for more details.
16
 
* You should have received a copy of the GNU General Public License
17
 
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
*/
19
 
 
20
 
 
21
 
#ifndef __APPLET_MIXER__
22
 
#define  __APPLET_MIXER__
23
 
 
24
 
 
25
 
#include <gtk/gtk.h>
26
 
 
27
 
 
28
 
void mixer_init (gchar *cCardID);
29
 
 
30
 
void mixer_stop (void);
31
 
 
32
 
GList *mixer_get_elements_list (void);
33
 
 
34
 
void mixer_get_controlled_element (void);
35
 
 
36
 
 
37
 
int mixer_get_mean_volume (void);
38
 
 
39
 
 
40
 
void mixer_set_volume (int iNewVolume);
41
 
 
42
 
gboolean mixer_is_mute (void);
43
 
 
44
 
void mixer_switch_mute (void);
45
 
 
46
 
 
47
 
GtkWidget *mixer_build_widget (gboolean bHorizontal);
48
 
 
49
 
void mixer_set_volume_with_no_callback (GtkWidget *pScale, int iVolume);
50
 
 
51
 
void mixer_show_hide_dialog (void);
52
 
 
53
 
gboolean mixer_check_events (gpointer data);
54
 
 
55
 
#endif