fix missed ffi method

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-04-19 11:31:49 +08:00
parent b9b2f76ae0
commit e0b3ef6c4b

View File

@ -48,6 +48,13 @@ fn initialize(app_dir: &str) {
}
}
pub fn start_global_event_stream(s: StreamSink<String>, app_type: String) -> ResultType<()> {
super::flutter::start_global_event_stream(s, app_type)
}
pub fn stop_global_event_stream(app_type: String) {
super::flutter::stop_global_event_stream(app_type)
}
pub enum EventToUI {
Event(String),
Rgba,