mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-17 02:01:01 +03:00
feat: remote printer (#11231)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1059,6 +1059,14 @@ impl InvokeUiSession for FlutterHandler {
|
||||
fn update_record_status(&self, start: bool) {
|
||||
self.push_event("record_status", &[("start", &start.to_string())], &[]);
|
||||
}
|
||||
|
||||
fn printer_request(&self, id: i32, path: String) {
|
||||
self.push_event(
|
||||
"printer_request",
|
||||
&[("id", json!(id)), ("path", json!(path))],
|
||||
&[],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
impl FlutterHandler {
|
||||
|
||||
Reference in New Issue
Block a user