added: search drive, filter out ingored drives and prtint drive

This commit is contained in:
2020-05-01 18:31:02 +02:00
parent 20cfc44b51
commit 3547369a49
20 changed files with 361 additions and 218 deletions

34
src/app.h Normal file
View File

@ -0,0 +1,34 @@
/**
* @file app.h
* @brief app logic
* @author hendrik schutter
* @date 01.05.2020
*/
#ifndef APP_H_
#define APP_H_
#include "refurbishingHddTool.h"
#include "drive.h"
class App {
protected:
public:
App(void);
void app_logic();
private:
list <struct drive> listDrives; //stores all drive data
void searchDrives(list <struct drive> *listDrives);
void printDrives(list <struct drive> *listDrives);
void filterIgnoredDrives(list <struct drive> *listDrives);
};
#endif // APP_H_