2
* Copyright 2016 Canonical Ltd.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3, as published
6
* by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranties of
10
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11
* PURPOSE. See the GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License along
14
* with this program. If not, see <http://www.gnu.org/licenses/>.
17
* Charles Kerr <charles.kerr@canonical.com>
20
#ifndef __INDICATOR_POWER_SOUND_PLAYER_GST__H__
21
#define __INDICATOR_POWER_SOUND_PLAYER_GST__H__
23
#include <glib-object.h> /* parent class */
25
#include "device-provider.h"
29
#define INDICATOR_TYPE_POWER_SOUND_PLAYER_GST \
30
(indicator_power_sound_player_gst_get_type())
32
#define INDICATOR_POWER_SOUND_PLAYER_GST(o) \
33
(G_TYPE_CHECK_INSTANCE_CAST ((o), \
34
INDICATOR_TYPE_POWER_SOUND_PLAYER_GST, \
35
IndicatorPowerSoundPlayerGST))
37
#define INDICATOR_POWER_SOUND_PLAYER_GST_GET_CLASS(o) \
38
(G_TYPE_INSTANCE_GET_CLASS ((o), \
39
INDICATOR_TYPE_POWER_SOUND_PLAYER_GST, \
40
IndicatorPowerSoundPlayerGSTClass))
42
#define INDICATOR_IS_POWER_SOUND_PLAYER_GST(o) \
43
(G_TYPE_CHECK_INSTANCE_TYPE ((o), \
44
INDICATOR_TYPE_POWER_SOUND_PLAYER_GST))
46
typedef struct _IndicatorPowerSoundPlayerGST
47
IndicatorPowerSoundPlayerGST;
48
typedef struct _IndicatorPowerSoundPlayerGSTClass
49
IndicatorPowerSoundPlayerGSTClass;
52
* An IndicatorPowerSoundPlayer which gets its devices from GST.
54
struct _IndicatorPowerSoundPlayerGST
56
GObject parent_instance;
59
struct _IndicatorPowerSoundPlayerGSTClass
61
GObjectClass parent_class;
64
GType indicator_power_sound_player_gst_get_type (void);
66
IndicatorPowerSoundPlayer * indicator_power_sound_player_gst_new (void);
70
#endif /* __INDICATOR_POWER_SOUND_PLAYER_GST__H__ */