Skip to content

Commit

Permalink
Make SendAISSentenceToAllPlugIns work
Browse files Browse the repository at this point in the history
  • Loading branch information
SethDart committed Apr 26, 2011
1 parent 5d87d71 commit bd96e9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ais.cpp
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
#include "nmea.h" // for AIS Muxed data stream
#include "navutil.h" // for Select
#include "georef.h"
#include "pluginmanager.h" // for PlugInManager
#include "bitmaps/icons.h" // for sorting icons

extern AISTargetQueryDialog *g_pais_query_dialog_active;
Expand Down Expand Up @@ -123,6 +124,7 @@ extern double g_AckTimeout_Mins;

extern bool bGPSValid;

extern PlugInManager *g_pi_manager;

// A static structure storing generic position data
// Used to communicate AIVDO events to main application loop
Expand Down Expand Up @@ -1280,6 +1282,7 @@ void AIS_Decoder::OnEvtAIS(OCPN_AISEvent& event)
m_pMainEventHandler->AddPendingEvent(event);
}
}
g_pi_manager->SendAISSentenceToAllPlugIns(message);
}
else
{
Expand Down

0 comments on commit bd96e9b

Please sign in to comment.