mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
refs #364, changed mapper to Simulation::CAircraftModel
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
using namespace BlackMisc;
|
using namespace BlackMisc;
|
||||||
|
using namespace BlackMisc::Simulation;
|
||||||
using namespace BlackMisc::Network;
|
using namespace BlackMisc::Network;
|
||||||
|
|
||||||
namespace BlackSim
|
namespace BlackSim
|
||||||
@@ -147,7 +148,7 @@ namespace BlackSim
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
simObjectsSize = this->m_entries.size();
|
simObjectsSize = this->m_entries.size();
|
||||||
CLogMessage(this).info("Read %1 from %2") << simObjectsSize << m_entries.getRootDirectory();
|
CLogMessage(this).info("Read %1 SimObjects from %2") << simObjectsSize << m_entries.getRootDirectory();
|
||||||
|
|
||||||
// sync
|
// sync
|
||||||
this->synchronize();
|
this->synchronize();
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ namespace BlackSim
|
|||||||
bool containsModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive);
|
bool containsModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive);
|
||||||
|
|
||||||
//! Model with title
|
//! Model with title
|
||||||
BlackMisc::Network::CAircraftModel getModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive) const;
|
BlackMisc::Simulation::CAircraftModel getModelWithTitle(const QString &title, Qt::CaseSensitivity caseSensitivity = Qt::CaseInsensitive) const;
|
||||||
|
|
||||||
//! Synchronize models and mappings
|
//! Synchronize models and mappings
|
||||||
//! \remarks after this step, we only have mappings for which we have models
|
//! \remarks after this step, we only have mappings for which we have models
|
||||||
|
|||||||
Reference in New Issue
Block a user