Proxy WIP
This commit is contained in:
parent
de6cf981e9
commit
7f1afd715f
4 changed files with 55 additions and 2 deletions
24
src/callaudiod.vala
Normal file
24
src/callaudiod.vala
Normal file
|
@ -0,0 +1,24 @@
|
|||
using GLib;
|
||||
|
||||
|
||||
[DBus(name = "org.mobian_project.CallAudio", timeout = 120000)]
|
||||
public interface CallAudioD : GLib.Object {
|
||||
|
||||
[DBus(name = "SelectMode")]
|
||||
public abstract bool select_mode(uint mode) throws DBusError, IOError;
|
||||
|
||||
[DBus(name = "AudioMode")]
|
||||
public abstract uint audio_mode { get; }
|
||||
|
||||
[DBus(name = "EnableSpeaker")]
|
||||
public abstract bool enable_speaker(bool enable) throws DBusError, IOError;
|
||||
|
||||
[DBus(name = "SpeakerState")]
|
||||
public abstract uint speaker_state { get; }
|
||||
|
||||
[DBus(name = "MuteMic")]
|
||||
public abstract bool mute_mic(bool mute) throws DBusError, IOError;
|
||||
|
||||
[DBus(name = "MicState")]
|
||||
public abstract uint mic_state { get; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue