16 #if( FMI_SUPPORT_A613 ) 53 BOOL
addAvoidanceToCatalog(
int itemId, LPCTSTR name, LPCTSTR description,
long north,
long east,
long south,
long west);
62 #if( FMI_SUPPORT_A614 ) 79 #if( FMI_SUPPORT_A614 ) 85 DECLARE_EVENTSINK_MAP()
87 void
OnBeforeNavigate2(LPDISPATCH pDisp, VARIANT* URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers, BOOL* Cancel);
BOOL addStopToCatalog(CStringArray &args)
This function adds an item to the catalog.
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
Browser-based container for listing the Custom Avoidances library.
BOOL OnInitDialog()
This function is called when the window is created.
BOOL completeStopOnDevice(int itemId)
This function marks the specified route as done on the device.
afx_msg void OnSize(UINT aType, int aClientWidth, int aClientHeight)
Called after the dialog is resized; repositions the contents of the display.
virtual ~CMapViewerDlg()
Destructor.
BOOL sendAvoidanceToDevice(int itemId, LPCTSTR name, long north, long east, long south, long west)
This function sends the specified region to the device.
BOOL addAvoidanceToCatalog(int itemId, LPCTSTR name, LPCTSTR description, long north, long east, long south, long west)
This function adds an item to the catalog.
BOOL addRouteToCatalog(CStringArray &args)
This function adds an item to the catalog.
Serial communication controller for Garmin and FMI packets.
BOOL removeRouteFromCatalog(int itemId)
This function removes specific routes from the catalog.
BOOL removeStopFromCatalog(int itemId)
BOOL deleteAvoidanceFromDevice(int itemId)
This function deletes the specified region from the device.
virtual void DoDataExchange(CDataExchange *pDX)
Perform dialog data exchange and validation.
EventListener that dispatches a Windows message.
BOOL moveStopOnDevice(int itemId, short newPosition)
This function repositions the specified stop on the device.
CStringArray m_addRouteArguments
List of arguments that are accumulated across several calls from browser.
void OnBeforeNavigate2(LPDISPATCH pDisp, VARIANT *URL, VARIANT *Flags, VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers, BOOL *Cancel)
This catches navigation attempts for the purpose of handling application-specific navigation...
BOOL removeAvoidanceFromCatalog(int itemId)
This function removes specific regions from the catalog.
BOOL deleteRouteFromDevice(int itemId)
This function deletes the specified route from the device.
Web Browser ActiveX wrapper, generated by Visual Studio.
BOOL removeItemsFromCatalog(LPCTSTR selector)
This function removes specific routes from the catalog.
BOOL sendRouteToDevice(int itemId)
This function sends the specified route to the device.
void refreshCatalog()
This function is called to reload the catalog document.
BOOL setAvoidanceEnabled(int itemId, BOOL enabled=TRUE)
This function toggles enabled for the region on the device.
CMapViewerDlg(CWnd *pParent, FmiApplicationLayer &aCom)
Constructor.
BOOL activateStopOnDevice(int itemId)
This function activates the specified route on the device.
BOOL sendStopToDevice(int itemId)
This function sends the specified stop to the device.