User triggered print of drive lable #85

Merged
localhorst merged 6 commits from feature/print-all-shredded-drives into master 2025-12-12 22:32:51 +01:00
4 changed files with 69 additions and 5 deletions
Showing only changes of commit 8853eb08a1 - Show all commits

View File

@ -236,7 +236,7 @@ void reHDD::ThreadUserInput()
} }
/** /**
* \brief start shred for all drives * \brief print all shredded drives
* \param pointer of list <Drive>* plistDrives * \param pointer of list <Drive>* plistDrives
* \return void * \return void
*/ */
@ -252,6 +252,11 @@ void reHDD::printAllDrives(list<Drive> *plistDrives)
mxDrives.unlock(); mxDrives.unlock();
} }
/**
* \brief print a shredded drives
* \param pointer of a drive
* \return void
*/
void reHDD::printDrive(Drive *const pDrive) void reHDD::printDrive(Drive *const pDrive)
{ {
if (pDrive->bWasShredded) if (pDrive->bWasShredded)