aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-01-05 13:13:23 -0600
committerCharles Kerr <charles.kerr@canonical.com>2016-01-05 13:13:23 -0600
commit3c528a11f39af91d2856aeac606fdaf8a6c6b673 (patch)
treeb91e31644dd757bad22f2241532100f9009bad92 /src/volume-control.vala
parentcbca1818ef142938022511abded7e39d671866ac (diff)
parent0eea8e8a2cee47f72292384ac856d3f68208d680 (diff)
downloadayatana-indicator-sound-3c528a11f39af91d2856aeac606fdaf8a6c6b673.tar.gz
ayatana-indicator-sound-3c528a11f39af91d2856aeac606fdaf8a6c6b673.tar.bz2
ayatana-indicator-sound-3c528a11f39af91d2856aeac606fdaf8a6c6b673.zip
adding lp:~xavi-garcia-mena/indicator-sound/re-add-integration-tests
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);