forked from localhorst/reHDD
display text on sub-windows
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user