forked from localhorst/reHDD
added: search drive, filter out ingored drives and prtint drive
This commit is contained in:
34
src/app.h
Normal file
34
src/app.h
Normal 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_
|
Reference in New Issue
Block a user