chore(tool manager): Added ToolDownloadAgent

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-12-31 13:18:00 +11:00
parent 78149bbb3c
commit a2e63aa2c8
6 changed files with 31 additions and 35 deletions

View File

@ -5,7 +5,6 @@ use super::{
};
pub trait Downloadable: Send + Sync {
fn get_progress_object(&self) -> Arc<ProgressObject>;
fn version(&self) -> String;
fn id(&self) -> String;
fn download(&mut self) -> Result<(), ApplicationDownloadError>;