Use string conversion for FSX listener

This commit is contained in:
Klaus Basan
2018-07-04 21:07:53 +02:00
parent 74b044bd19
commit 8a0b76e6d9
2 changed files with 4 additions and 4 deletions

View File

@@ -158,6 +158,9 @@ namespace BlackSimPlugin
//! \private
static DWORD unitTestRequestId(CSimConnectObject::SimObjectType type);
//! Encapsulates creating QString from FSX string data
static QString fsxCharToQString(const char *fsxChar, int size = -1);
protected:
//! SimConnect callback
//! \note all tasks called in this function (i.e, all called functions) must perform fast or shall be called asynchronously
@@ -417,9 +420,6 @@ namespace BlackSimPlugin
//! Insert an new SimConnect object
CSimConnectObject insertNewSimConnectObject(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, DWORD requestId);
//! Encapsulates creating QString from FSX string data
static QString fsxCharToQString(const char *fsxChar, int size = -1);
static constexpr int GuessRemoteAircraftPartsCycle = 20; //!< guess every n-th cycle
static constexpr int SkipUpdateCyclesForCockpit = 10; //!< skip x cycles before updating cockpit again
static constexpr int IgnoreReceiveExceptions = 10; //!< skip exceptions when displayed more than x times