added flag to prevent the user from being prompted when uploading songs from a directory
This commit is contained in:
@@ -17,12 +17,16 @@ namespace Managers
|
||||
|
||||
void commitAction();
|
||||
|
||||
enum RetrieveTypes
|
||||
enum class RetrieveTypes
|
||||
{
|
||||
songs
|
||||
};
|
||||
|
||||
private:
|
||||
enum class ActionValues;
|
||||
|
||||
std::map<std::string, ActionValues> mapActions() noexcept;
|
||||
|
||||
Models::Token parseToken(Models::API);
|
||||
|
||||
void deleteSong();
|
||||
@@ -30,7 +34,7 @@ namespace Managers
|
||||
void retrieveObjects();
|
||||
void uploadSong();
|
||||
|
||||
enum ActionValues
|
||||
enum class ActionValues
|
||||
{
|
||||
deleteAct,
|
||||
downloadAct,
|
||||
@@ -38,12 +42,6 @@ namespace Managers
|
||||
uploadAct
|
||||
};
|
||||
|
||||
std::map<std::string, ActionValues> mapActions{
|
||||
{"delete", deleteAct}, {"download", downloadAct},
|
||||
{"retrieve", retrieveAct},
|
||||
{"upload", uploadAct}
|
||||
};
|
||||
|
||||
Models::IcarusAction icaAction;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user