![]() |
![]() |
![]() |
libmatemixer Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <libmatemixer/matemixer.h> enum MateMixerDeviceSwitchRole; MateMixerDeviceSwitch; struct MateMixerDeviceSwitchClass; MateMixerDeviceSwitchRole mate_mixer_device_switch_get_role (MateMixerDeviceSwitch *swtch
); MateMixerDevice * mate_mixer_device_switch_get_device (MateMixerDeviceSwitch *swtch
);
"device" MateMixerDevice* : Read / Write / Construct Only "role" MateMixerDeviceSwitchRole : Read / Write / Construct Only
typedef enum { MATE_MIXER_DEVICE_SWITCH_ROLE_UNKNOWN, MATE_MIXER_DEVICE_SWITCH_ROLE_PROFILE, } MateMixerDeviceSwitchRole;
typedef struct _MateMixerDeviceSwitch MateMixerDeviceSwitch;
The MateMixerDeviceSwitch structure contains only private data and should only be accessed using the provided API.
struct MateMixerDeviceSwitchClass { MateMixerSwitchClass parent_class; };
The class structure for MateMixerDeviceSwitch.
MateMixerSwitchClass |
The parent class. |
MateMixerDeviceSwitchRole mate_mixer_device_switch_get_role
(MateMixerDeviceSwitch *swtch
);
Gets the role of the switch. The role identifies the purpose of the switch.
|
a MateMixerDeviceSwitch |
Returns : |
the switch role. |
MateMixerDevice * mate_mixer_device_switch_get_device (MateMixerDeviceSwitch *swtch
);
|
a MateMixerDeviceSwitch |
"device"
property"device" MateMixerDevice* : Read / Write / Construct Only
Device owning the switch.
"role"
property"role" MateMixerDeviceSwitchRole : Read / Write / Construct Only
Role of the switch.
Default value: MATE_MIXER_DEVICE_SWITCH_ROLE_UNKNOWN