refs #234, add methods to resolve user names from VATSIM file and display them in voice rooms

This commit is contained in:
Klaus Basan
2014-05-07 23:23:20 +02:00
parent 421d2d5411
commit cbd8f2681a
7 changed files with 123 additions and 9 deletions

View File

@@ -79,6 +79,21 @@ namespace BlackMisc
});
}
/*
* All pilots
*/
CUserList CAtcStationList::getControllers() const
{
CUserList users;
for (auto i = this->begin(); i != this->end(); ++i)
{
CAtcStation station = *i;
if (station.getController().isValid()) users.push_back(station.getController());
}
return users;
}
/*
* Merge with booking
*/
@@ -160,7 +175,6 @@ namespace BlackMisc
return c;
}
/*
* Merge with VATSIM data file
*/