28#include <wx/jsonval.h>
31#include "ocpn-nlohmann/json.hpp"
35void SendMessageToAllPlugins(
const std::string& message_id,
36 const std::string& message_body);
38void SendJsonMessageToAllPlugins(
const std::string& message_id,
39 const nlohmann::json& v);
41void SendAISSentenceToAllPlugIns(
const wxString& sentence);
45void SendActiveLegInfoToAllPlugIns(
const ActiveLegDat* leg_info);
47bool SendMouseEventToPlugins(wxMouseEvent& event);
49bool SendKeyEventToPlugins(wxKeyEvent& event);
51void SendPreShutdownHookToPlugins();
53void SendCursorLatLonToAllPlugIns(
double lat,
double lon);
74int GetJSONMessageTargetCount();
76void SendVectorChartObjectInfo(
const wxString& chart,
const wxString& feature,
77 const wxString& objname,
double& lat,
78 double& lon,
double&
scale,
int& nativescale);
void SendNMEASentenceToAllPlugIns(const wxString &sentence)
Distribute a NMEA 0183 sentence to all plugins that have registered interest by setting the WANTS_NME...
A generic position and navigation data structure.