delete task
This commit is contained in:
25
include/delete.h
Normal file
25
include/delete.h
Normal file
@ -0,0 +1,25 @@
|
||||
/**
|
||||
* @file delete.h
|
||||
* @brief delete drive
|
||||
* @author hendrik schutter
|
||||
* @date 23.08.2020
|
||||
*/
|
||||
|
||||
#ifndef DELETE_H_
|
||||
#define DELETE_H_
|
||||
|
||||
#include "reHDD.h"
|
||||
|
||||
class Delete
|
||||
{
|
||||
protected:
|
||||
|
||||
public:
|
||||
static void deleteDrive(Drive* drive);
|
||||
|
||||
private:
|
||||
Delete(void);
|
||||
|
||||
};
|
||||
|
||||
#endif // DELETE_H_
|
@ -20,7 +20,7 @@ public:
|
||||
DELETE_SELECTED,
|
||||
DELETE_ACTIVE
|
||||
} state;
|
||||
|
||||
|
||||
bool bWasShredded = false;
|
||||
bool bWasDeleteted = false;
|
||||
|
||||
|
@ -37,6 +37,7 @@ using namespace std;
|
||||
#include "drive.h"
|
||||
#include "smart.h"
|
||||
#include "shred.h"
|
||||
#include "delete.h"
|
||||
#include "tui.h"
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ private:
|
||||
static string sRamUsage;
|
||||
static string sLocalTime;
|
||||
|
||||
|
||||
|
||||
WINDOW* overview;
|
||||
WINDOW* systemview;
|
||||
WINDOW* detailview;
|
||||
@ -59,7 +59,7 @@ private:
|
||||
static WINDOW *createSystemStats(int iXSize, int iYSize, int iYStart);
|
||||
static WINDOW *createMenuView(int iXSize, int iYSize, int iXStart, int iYStart, struct MenuState menustate);
|
||||
static WINDOW *createDialog(int iXSize, int iYSize, int iXStart, int iYStart, string selectedTask, string optionA, string optionB);
|
||||
|
||||
|
||||
void displaySelectedDrive(Drive drive, int stdscrX, int stdscrY);
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user