mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -48,10 +48,12 @@ fn initialize(app_dir: &str) {
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn start_global_event_stream(s: StreamSink<String>, app_type: String) -> ResultType<()> {
|
||||
super::flutter::start_global_event_stream(s, app_type)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn stop_global_event_stream(app_type: String) {
|
||||
super::flutter::stop_global_event_stream(app_type)
|
||||
}
|
||||
@@ -1391,6 +1393,15 @@ pub fn send_url_scheme(_url: String) {
|
||||
std::thread::spawn(move || crate::handle_url_scheme(_url));
|
||||
}
|
||||
|
||||
#[inline]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn plugin_event(id: String, event: Vec<u8>) {
|
||||
#[cfg(feature = "plugin_framework")]
|
||||
{
|
||||
crate::plugin::handle_ui_event(&id, &event);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
pub mod server_side {
|
||||
use hbb_common::{config, log};
|
||||
|
||||
Reference in New Issue
Block a user