Compare commits

...

1 Commits

Author SHA1 Message Date
575cb73d95 send dummy ipc 2025-06-08 23:00:38 +02:00

View File

@ -6,6 +6,7 @@
*/
#include "../include/reHDD.h"
#include "../include/printer.h"
/**
* \brief app entry point
@ -14,9 +15,31 @@
*/
int main(void)
{
// cout << "refurbishingHddTool" << endl;
cout << "refurbishingHddTool" << endl;
reHDD *app = new reHDD();
app->app_logic();
Drive *tmpDrive = new Drive("/dev/");
tmpDrive->setActionStartTimestamp();
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;
}