use the new interface to create the reports

This commit is contained in:
Sven Czarnian
2021-11-13 23:02:55 +01:00
parent 2b4840d2af
commit a8f2dba40e
2 changed files with 22 additions and 18 deletions

View File

@@ -17,7 +17,9 @@
#include <aman/types/Communication.h>
#pragma warning(push, 0)
#include <protobuf/BaseTypes.pb.h>
#include <protobuf/AircraftReport.pb.h>
#include <protobuf/Communication.pb.h>
#pragma warning(pop)
#include "RadarScreen.h"
@@ -40,6 +42,7 @@ namespace aman {
};
aman::Aircraft* generateAircraftMessage(const EuroScopePlugIn::CRadarTarget& target);
void generateAircraftReportMessage(const EuroScopePlugIn::CRadarTarget& radarTarget, aman::AircraftReport* report);
Communication m_configuration;
std::shared_ptr<RadarScreen> m_screen;