mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T180, function to stop requesting remote aircraft data
Also added details to trace function
This commit is contained in:
@@ -302,6 +302,9 @@ namespace BlackSimPlugin
|
||||
//! Request lights for a CSimConnectObject
|
||||
bool requestLightsForSimObject(const CSimConnectObject &simObject);
|
||||
|
||||
//! Stop requesting data for CSimConnectObject
|
||||
bool stopRequestingDataForSimObject(const CSimConnectObject &simObject);
|
||||
|
||||
//! FSX position as string
|
||||
static QString fsxPositionToString(const SIMCONNECT_DATA_INITPOSITION &position);
|
||||
|
||||
@@ -312,7 +315,7 @@ namespace BlackSimPlugin
|
||||
void setTraceSendId(bool traceSendId) { m_traceSendId = traceSendId; }
|
||||
|
||||
//! Trace the send id
|
||||
void traceSendId(DWORD simObjectId, const QString &comment);
|
||||
void traceSendId(DWORD simObjectId, const QString &function, const QString &details = {});
|
||||
|
||||
//! Get the trace details, otherwise empty string
|
||||
QString getSendIdTraceDetails(DWORD sendId) const;
|
||||
|
||||
Reference in New Issue
Block a user