parse percentage from shred cmd

This commit is contained in:
2020-08-22 21:48:34 +02:00
parent df4ed53693
commit e4b3923f6d
7 changed files with 94 additions and 106 deletions

View File

@ -36,7 +36,7 @@ using namespace std;
#include "drive.h"
#include "smart.h"
#include "wipe.h"
#include "shred.h"
#include "tui.h"

25
include/shred.h Normal file
View File

@ -0,0 +1,25 @@
/**
* @file shred.h
* @brief shred drive
* @author hendrik schutter
* @date 03.05.2020
*/
#ifndef SHRED_H_
#define SHRED_H_
#include "reHDD.h"
class Shred
{
protected:
public:
static void shredDrive(Drive* drive);
private:
Shred(void);
};
#endif // SHRED_H_

View File

@ -1,25 +0,0 @@
/**
* @file wipe.h
* @brief wipe drive
* @author hendrik schutter
* @date 03.05.2020
*/
#ifndef WIPE_H_
#define WIPE_H_
#include "reHDD.h"
class Wipe
{
protected:
public:
static void wipeDrive(Drive* drive);
private:
Wipe(void);
};
#endif // WIPE_H_