mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
feat: cm interface
This commit is contained in:
12
src/ui/cm.rs
12
src/ui/cm.rs
@@ -55,6 +55,18 @@ impl InvokeUiCM for SciterHandler {
|
||||
fn show_elevation(&self, show: bool) {
|
||||
self.call("showElevation", &make_args!(show));
|
||||
}
|
||||
|
||||
fn voice_call_started(&self, id: i32) {
|
||||
self.call("voice_call_started", &make_args!(id));
|
||||
}
|
||||
|
||||
fn voice_call_incoming(&self, id: i32) {
|
||||
self.call("voice_call_incoming", &make_args!(id));
|
||||
}
|
||||
|
||||
fn voice_call_closed(&self, id: i32, reason: &str) {
|
||||
self.call("voice_call_incoming", &make_args!(id, reason));
|
||||
}
|
||||
}
|
||||
|
||||
impl SciterHandler {
|
||||
|
||||
Reference in New Issue
Block a user