mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
[xSwiftBus] Automatically find and load CSL packages
ref T657
This commit is contained in:
committed by
Klaus Basan
parent
a7509669f9
commit
61adfefa7a
@@ -21,6 +21,7 @@
|
||||
#include <XPLM/XPLMDisplay.h>
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
#include <set>
|
||||
|
||||
//! \cond PRIVATE
|
||||
#define XSWIFTBUS_TRAFFIC_INTERFACENAME "org.swift_project.xswiftbus.traffic"
|
||||
@@ -146,7 +147,9 @@ namespace XSwiftBus
|
||||
bool m_initialized = false;
|
||||
bool m_enabledMultiplayer = false;
|
||||
CTerrainProbe m_terrainProbe;
|
||||
std::set<std::string> m_cslPackages;
|
||||
|
||||
void findAllCslPackages(const std::string &path);
|
||||
void emitSimFrame();
|
||||
void emitPlaneAdded(const std::string &callsign);
|
||||
void emitPlaneAddingFailed(const std::string &callsign);
|
||||
|
||||
Reference in New Issue
Block a user