refs #272 added new DBus service object XBus::CTraffic providing access to traffic aircraft in the sim

This commit is contained in:
Mathew Sutcliffe
2014-06-22 02:05:39 +01:00
parent b077dc7c6d
commit 1a3a1e175e
5 changed files with 452 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
#define NOMINMAX
#include "plugin.h"
#include "utils.h"
#include "traffic.h"
#include <XPLM/XPLMPlanes.h>
#if ! defined(XPLM210)
@@ -20,6 +21,8 @@ PLUGIN_API int XPluginStart(char *o_name, char *o_sig, char *o_desc)
std::strcpy(o_name, "X-Bus");
std::strcpy(o_sig, "net.vatsim.XBus");
std::strcpy(o_desc, "Allows pilot client to connect to X-Plane via D-Bus");
XBus::CTraffic::initLegacyData();
return 1;
}