diff options
author | Michal Ratajsky <[email protected]> | 2014-05-24 21:01:21 +0200 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-05-24 21:01:21 +0200 |
commit | 4db8dc0cbb3959d6278a9e7650d5103a475ab897 (patch) | |
tree | 4bc508298ce65013a5819cf0cdde7444c23abdb2 /libmatemixer/matemixer-device.h | |
parent | caf4d9b8b8b0d26856d2d64f00ab23756867a923 (diff) | |
download | libmatemixer-4db8dc0cbb3959d6278a9e7650d5103a475ab897.tar.bz2 libmatemixer-4db8dc0cbb3959d6278a9e7650d5103a475ab897.tar.xz |
General additions and improvements
Diffstat (limited to 'libmatemixer/matemixer-device.h')
-rw-r--r-- | libmatemixer/matemixer-device.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libmatemixer/matemixer-device.h b/libmatemixer/matemixer-device.h index af5a1ce..b601f7d 100644 --- a/libmatemixer/matemixer-device.h +++ b/libmatemixer/matemixer-device.h @@ -21,6 +21,9 @@ #include <glib.h> #include <glib-object.h> +#include <libmatemixer/matemixer-device-port.h> +#include <libmatemixer/matemixer-device-profile.h> + G_BEGIN_DECLS #define MATE_MIXER_TYPE_DEVICE \ @@ -40,12 +43,25 @@ struct _MateMixerDeviceInterface GTypeInterface parent; const GList *(*list_tracks) (MateMixerDevice *device); + const GList *(*get_ports) (MateMixerDevice *device); + const GList *(*get_profiles) (MateMixerDevice *device); + MateMixerDeviceProfile *(*get_active_profile) (MateMixerDevice *device); + gboolean (*set_active_profile) (MateMixerDevice *device, MateMixerDeviceProfile *profile); }; GType mate_mixer_device_get_type (void) G_GNUC_CONST; const GList *mate_mixer_device_list_tracks (MateMixerDevice *device); +const GList *mate_mixer_device_get_ports (MateMixerDevice *device); + +const GList *mate_mixer_device_get_profiles (MateMixerDevice *device); + +MateMixerDeviceProfile *mate_mixer_device_get_active_profile (MateMixerDevice *device); + +gboolean mate_mixer_device_set_active_profile (MateMixerDevice *device, + MateMixerDeviceProfile *profile); + G_END_DECLS #endif /* MATEMIXER_DEVICE_H */ |