This commit is contained in:
kdeng00
2024-04-07 22:42:55 -04:00
parent 2377178492
commit 4cbe4ca41d
10 changed files with 41 additions and 53 deletions
+6 -11
View File
@@ -27,16 +27,13 @@ impl ActionManager {
}
// TODO: Implement
fn supported_actions(&self) {
}
fn supported_actions(&self) {}
// TODO: Implement
fn initialize(&self) {
}
fn initialize(&self) {}
// TODO: Implement
fn validate_flags(&self) {
}
fn validate_flags(&self) {}
// TODO: Implement
fn is_valid_flag(&self, flag: &String) -> bool{
fn is_valid_flag(&self, flag: &String) -> bool {
return false;
}
// TODO: Implement
@@ -44,11 +41,9 @@ impl ActionManager {
return false;
}
// TODO: Implement
fn print_action(&self) {
}
fn print_action(&self) {}
// TODO: Implement
fn print_flags(&self) {
}
fn print_flags(&self) {}
// TODO: Implement
fn parsed_flags(&self) -> Vec<String> {
return Vec::new();
+17 -20
View File
@@ -23,7 +23,6 @@ pub struct Album {
pub track_count: i32,
pub disc_count: i32,
pub songs: Vec<models::song::Song>,
}
enum ActionValues {
@@ -35,19 +34,17 @@ enum ActionValues {
}
enum RetrieveTypes {
Songs
Songs,
}
impl Album {
// TODO: Implement
pub fn print_info(&self) {
}
pub fn print_info(&self) {}
}
impl CommitManager {
// TODO: Implement
pub fn commit_action(&self) {
}
pub fn commit_action(&self) {}
// TODO: Implement
fn map_actions(&self) -> HashMap<String, ActionValues> {
@@ -55,24 +52,24 @@ impl CommitManager {
}
// TODO: Implement
fn parse_token(&self, api: &models::api::API) {
fn parse_token(&self, api: &models::api::API) {}
// TODO: Implement
fn upload_song_with_metadata(&self) {}
// TODO: Implement
fn sing_target_upload(
&self,
songpath: &String,
track_id: &String,
meta_path: &String,
cover_path: &String,
) {
}
// TODO: Implement
fn upload_song_with_metadata(&self) {
}
fn multi_target_upload(&self, sourcepath: &String) {}
// TODO: Implement
fn sing_target_upload(&self, songpath: &String, track_id: &String,
meta_path: &String, cover_path: &String) {
}
fn initialize_disc_and_track(&self, song: &models::song::Song) {}
// TODO: Implement
fn multi_target_upload(&self, sourcepath: &String) {
}
// TODO: Implement
fn initialize_disc_and_track(&self, song: &models::song::Song) {
}
// TODO: Implement
fn parse_disc_and_track(&self, song: &models::song::Song, track_id: &String) {
}
fn parse_disc_and_track(&self, song: &models::song::Song, track_id: &String) {}
// TODO: Implement
fn check_for_no_confirm(&self) -> bool {
return false;
+1 -1
View File
@@ -1,3 +1,3 @@
pub mod action_managers;
pub mod commit_manager;
pub mod user_manager;
pub mod user_manager;
+1 -2
View File
@@ -20,7 +20,6 @@ impl UserManager {
}
// TODO: Implement
fn parse_user_from_actions(&self) {
}
fn parse_user_from_actions(&self) {}
}
// }