display text on sub-windows

This commit is contained in:
2020-08-06 11:41:38 +02:00
parent 9322ea65a7
commit 4c6aa1f19c
3 changed files with 43 additions and 41 deletions

View File

@ -30,7 +30,7 @@ reHDD::reHDD(void)
{
cout << "created app" << endl;
}
/**
@ -80,7 +80,7 @@ void reHDD::app_logic(void)
void reHDD::ThreadScannDevices() {
while(true) {
// cout << "Thread" << endl;
// cout << "Thread" << endl;
mxScannDrives.lock();
vecNewDrives.clear();
searchDrives(&vecNewDrives); //search for new drives and store them in list
@ -110,7 +110,7 @@ void reHDD::filterNewDrives(vector <Drive>* pvecOldDrives, vector <Drive>* pvecN
}
if(bOldDriveIsOffline == true) {
cout << "offline drive found: " << itOld->getPath() << endl;
//cout << "offline drive found: " << itOld->getPath() << endl;
//TODO kill wipe thread
}
}
@ -130,7 +130,7 @@ void reHDD::filterNewDrives(vector <Drive>* pvecOldDrives, vector <Drive>* pvecN
*/
void reHDD::searchDrives(vector <Drive>* pvecDrives)
{
// cout << "search drives ..." << endl;
// cout << "search drives ..." << endl;
char * cLine = NULL;
size_t len = 0;