Compare commits

..

No commits in common. "test/ipc-dummy" and "master" have entirely different histories.

View File

@ -6,7 +6,6 @@
*/ */
#include "../include/reHDD.h" #include "../include/reHDD.h"
#include "../include/printer.h"
/** /**
* \brief app entry point * \brief app entry point
@ -15,31 +14,9 @@
*/ */
int main(void) int main(void)
{ {
cout << "refurbishingHddTool" << endl; // cout << "refurbishingHddTool" << endl;
Drive *tmpDrive = new Drive("/dev/"); reHDD *app = new reHDD();
tmpDrive->setActionStartTimestamp(); app->app_logic();
tmpDrive->bWasShredded = true;
tmpDrive->setDriveSMARTData("modelFamily",
"modelName",
"serial",
42,
43,
44,
45,
46);
while(true){
cout << "send" << endl;
Printer::getPrinter()->print(tmpDrive);
sleep(5); // sleep 5 sec
}
cout << "exit" << endl;
// reHDD *app = new reHDD();
// app->app_logic();
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }