add voice_call start_pa
This commit is contained in:
parent
4a648f0068
commit
f2a612c3d9
@ -136,9 +136,6 @@ class PlatformFFI {
|
|||||||
// Start a dbus service for uri links, no need to await
|
// Start a dbus service for uri links, no need to await
|
||||||
_ffiBind.mainStartDbusServer();
|
_ffiBind.mainStartDbusServer();
|
||||||
}
|
}
|
||||||
if (appType == kAppTypeConnectionManager) {
|
|
||||||
_ffiBind.mainStartPa();
|
|
||||||
}
|
|
||||||
} else if (isMacOS && isMain) {
|
} else if (isMacOS && isMain) {
|
||||||
// Start ipc service for uri links.
|
// Start ipc service for uri links.
|
||||||
_ffiBind.mainStartIpcUrlServer();
|
_ffiBind.mainStartIpcUrlServer();
|
||||||
|
@ -1412,10 +1412,6 @@ class RustdeskImpl {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> mainStartPa({dynamic hint}) {
|
|
||||||
throw UnimplementedError();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool mainHideDocker({dynamic hint}) {
|
bool mainHideDocker({dynamic hint}) {
|
||||||
throw UnimplementedError();
|
throw UnimplementedError();
|
||||||
}
|
}
|
||||||
|
@ -1839,11 +1839,6 @@ pub fn main_is_login_wayland() -> SyncReturn<bool> {
|
|||||||
SyncReturn(is_login_wayland())
|
SyncReturn(is_login_wayland())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn main_start_pa() {
|
|
||||||
#[cfg(target_os = "linux")]
|
|
||||||
std::thread::spawn(crate::ipc::start_pa);
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn main_hide_docker() -> SyncReturn<bool> {
|
pub fn main_hide_docker() -> SyncReturn<bool> {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
crate::platform::macos::hide_dock();
|
crate::platform::macos::hide_dock();
|
||||||
|
@ -1268,6 +1268,8 @@ impl<T: InvokeUiSession> Session<T> {
|
|||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn request_voice_call(&self) {
|
pub fn request_voice_call(&self) {
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
std::thread::spawn(crate::ipc::start_pa);
|
||||||
self.send(Data::NewVoiceCall);
|
self.send(Data::NewVoiceCall);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user