aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-12-23 14:35:46 +0100
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-12-23 14:35:46 +0100
commitc0b4e9399cd68e10489108a3f50556b6d86727a4 (patch)
treef67ee5f85c29c732f9f73abbbab371c279b1caab /src/volume-control.vala
parentda78e6c75cab23d837cb4768efa3838ddb2286e7 (diff)
parent9da17031233db5f7961f3dd7be69c8a3bc13bb27 (diff)
downloadayatana-indicator-sound-c0b4e9399cd68e10489108a3f50556b6d86727a4.tar.gz
ayatana-indicator-sound-c0b4e9399cd68e10489108a3f50556b6d86727a4.tar.bz2
ayatana-indicator-sound-c0b4e9399cd68e10489108a3f50556b6d86727a4.zip
Conflicts resolved with restored branch
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index 8e615ea..30dcfcf 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -36,7 +36,8 @@ public abstract class VolumeControl : Object
USB_SPEAKER,
USB_HEADPHONES,
HDMI_SPEAKER,
- HDMI_HEADPHONES
+ HDMI_HEADPHONES,
+ CALL_MODE
}
public class Volume : Object {
@@ -48,6 +49,7 @@ public abstract class VolumeControl : Object
public virtual bool ready { get { return false; } set { } }
public virtual bool active_mic { get { return false; } set { } }
public virtual bool high_volume { get { return false; } protected set { } }
+ public virtual bool below_warning_volume { get { return false; } protected set { } }
public virtual bool mute { get { return false; } }
public virtual bool is_playing { get { return false; } }
public virtual VolumeControl.ActiveOutput active_output { get { return VolumeControl.ActiveOutput.SPEAKERS; } }
@@ -59,6 +61,7 @@ public abstract class VolumeControl : Object
public virtual bool high_volume_approved { get { return false; } protected set { } }
public virtual void approve_high_volume() { }
public virtual void clamp_to_high_volume() { }
+ public virtual void set_warning_volume() { }
public abstract void set_mute (bool mute);