shred thread

This commit is contained in:
2020-08-23 09:26:32 +02:00
parent e4b3923f6d
commit c6a8fd861d
12 changed files with 106 additions and 58 deletions

View File

@ -17,11 +17,12 @@ public:
enum TaskState {NONE,
SHRED_SELECTED,
SHRED_ACTIVE,
SHRED_FINISHED,
DELETE_SELECTED,
DELETE_ACTIVE,
DELETE_FINISHED
DELETE_ACTIVE
} state;
bool bWasShredded = false;
bool bWasDeleteted = false;
private:
string sPath;
@ -33,7 +34,7 @@ private:
uint32_t u32PowerOnHours = 0U; //in hours
uint32_t u32PowerCycles = 0U;
uint8_t u8TaskPercentage = 0U; //in percent for Shred (1 to 100) and Delete (1 OR 100)
uint8_t u8TaskPercentage = 0U; //in percent for Shred (1 to 100)
protected: