mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-10 04:22:13 +10:00
@ -5,11 +5,10 @@ mod games;
|
||||
mod autostart;
|
||||
mod cleanup;
|
||||
mod debug;
|
||||
pub mod download_manager;
|
||||
mod download_manager;
|
||||
mod process;
|
||||
mod remote;
|
||||
pub mod settings;
|
||||
mod tools;
|
||||
|
||||
use crate::autostart::{get_autostart_enabled, toggle_autostart};
|
||||
use crate::db::DatabaseImpls;
|
||||
|
||||
@ -1 +0,0 @@
|
||||
pub struct CompatibilityLayer {}
|
||||
@ -1,3 +0,0 @@
|
||||
mod compatibility_layer;
|
||||
mod prefix;
|
||||
mod tool;
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,64 +0,0 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use tauri::AppHandle;
|
||||
|
||||
use crate::download_manager::{
|
||||
application_download_error::ApplicationDownloadError,
|
||||
download_thread_control_flag::DownloadThreadControl, downloadable::Downloadable,
|
||||
downloadable_metadata::DownloadableMetadata, progress_object::ProgressObject,
|
||||
};
|
||||
|
||||
#[allow(unused)]
|
||||
pub struct ToolDownloadAgent {
|
||||
id: String,
|
||||
version: String,
|
||||
location: String,
|
||||
control_flag: DownloadThreadControl,
|
||||
progress: Arc<ProgressObject>,
|
||||
}
|
||||
#[allow(unused)]
|
||||
impl Downloadable for ToolDownloadAgent {
|
||||
fn download(&self, app_handle: &AppHandle) -> Result<bool, ApplicationDownloadError> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn progress(&self) -> Arc<ProgressObject> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn control_flag(&self) -> DownloadThreadControl {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn status(&self) -> crate::download_manager::download_manager::DownloadStatus {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn metadata(&self) -> DownloadableMetadata {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn on_initialised(&self, app_handle: &tauri::AppHandle) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn on_error(
|
||||
&self,
|
||||
app_handle: &tauri::AppHandle,
|
||||
error: crate::download_manager::application_download_error::ApplicationDownloadError,
|
||||
) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn on_complete(&self, app_handle: &tauri::AppHandle) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn on_incomplete(&self, app_handle: &tauri::AppHandle) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn on_cancelled(&self, app_handle: &tauri::AppHandle) {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user