29#include <wx/jsonval.h>
32#include "model/ocpn_types.h"
34void SendMessageToAllPlugins(
const wxString& message_id,
35 const wxString& message_body);
37void SendJSONMessageToAllPlugins(
const wxString& message_id,
wxJSONValue v);
39void SendAISSentenceToAllPlugIns(
const wxString& sentence);
43void SendActiveLegInfoToAllPlugIns(
const ActiveLegDat* leg_info);
45bool SendMouseEventToPlugins(wxMouseEvent& event);
47bool SendKeyEventToPlugins(wxKeyEvent& event);
49void SendPreShutdownHookToPlugins();
51void SendCursorLatLonToAllPlugIns(
double lat,
double lon);
72int GetJSONMessageTargetCount();
74void SendVectorChartObjectInfo(
const wxString& chart,
const wxString& feature,
75 const wxString& objname,
double& lat,
76 double& lon,
double&
scale,
int& nativescale);
The JSON value class implementation.
void SendNMEASentenceToAllPlugIns(const wxString &sentence)
Distribute a NMEA 0183 sentence to all plugins that have registered interest by setting the WANTS_NME...