refs #283 Dedicated displayTextMessage for text messages instead of using displayStatusMessage for both.

The simulator can use this to display text messages in a different colour, for example.
This commit is contained in:
Mathew Sutcliffe
2014-08-18 20:36:36 +01:00
parent 4fc78adab9
commit d25eac66b1
8 changed files with 31 additions and 1 deletions

View File

@@ -204,6 +204,13 @@ namespace BlackSimPlugin
Q_UNUSED(message);
}
void CSimulatorXPlane::displayTextMessage(const BlackMisc::Network::CTextMessage &message) const
{
if (! isConnected()) { return; }
// TODO
Q_UNUSED(message);
}
BlackMisc::Network::CAircraftModel CSimulatorXPlane::getAircraftModel() const
{
if (! isConnected()) { return {}; }