mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
opt: add resume btn
This commit is contained in:
@@ -86,4 +86,20 @@ pub trait FileManager: Interface {
|
||||
) {
|
||||
self.send(Data::SendFiles((id, path, to, file_num, include_hidden, is_remote)));
|
||||
}
|
||||
|
||||
fn add_job(
|
||||
&mut self,
|
||||
id: i32,
|
||||
path: String,
|
||||
to: String,
|
||||
file_num: i32,
|
||||
include_hidden: bool,
|
||||
is_remote: bool,
|
||||
) {
|
||||
self.send(Data::AddJob((id, path, to, file_num, include_hidden, is_remote)));
|
||||
}
|
||||
|
||||
fn resume_job(&mut self, id: i32, is_remote: bool){
|
||||
self.send(Data::ResumeJob((id,is_remote)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user