chore: Removed tools/

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2025-01-06 20:06:01 +11:00
parent f29e989aff
commit 3eda9799c5
5 changed files with 1 additions and 71 deletions

View File

@ -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;

View File

@ -1 +0,0 @@
pub struct CompatibilityLayer {}

View File

@ -1,3 +0,0 @@
mod compatibility_layer;
mod prefix;
mod tool;

View File

@ -1 +0,0 @@

View File

@ -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!()
}
}