11 #ifndef CWaypointDlg_H 12 #define CWaypointDlg_H 47 CDataExchange * aDataExchange
CString mComment
Waypoint comment entered by the user.
CListBox mCatBox
List box containing waypoint categories sent to the client.
UINT mWptId
Waypoint ID entered by the user.
CString mCat
Waypoint category entered by the user.
uint16 getCatIds()
Get category bit field value for the selected category IDs.
afx_msg void OnEnChangeWptEdit()
Edit handler for the waypoint edit boxes on this dialog.
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
CString mName
Waypoint name entered by the user.
afx_msg void OnBnClickedOk()
Handler for the OK button.
afx_msg LPARAM OnCategoryListChanged(WPARAM, LPARAM)
Handler for EVENT_FMI_CATEGORY_LIST_CHANGED event.
Modeless dialog allowing the user to manage waypoints.
unsigned int mCatId
Waypoint category ID entered by the user.
virtual ~CWaypointDlg()
Destructor.
afx_msg void OnBnClickedWptBtnDeleteCat()
Handler for the Delete Category button.
afx_msg LPARAM OnWaypointListChanged(WPARAM, LPARAM)
Handler for EVENT_FMI_WAYPOINT_LIST_CHANGED event.
UINT mSymbol
Waypoint symbol entered by the user.
Serial communication controller for Garmin and FMI packets.
EventListener that dispatches a Windows message.
unsigned short int uint16
16-bit unsigned integer
void PostNcDestroy()
Perform final cleanup.
afx_msg void OnBnClickedWptBtnCreateCat()
Handler for the Create Category button.
afx_msg void OnBnClickedWptBtnSend()
Handler for the Send Waypoint button.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
CListBox mListBox
List box containing waypoints sent to the client.
BOOL OnInitDialog()
Initialize the dialog.
void updateListBox()
Update the waypoint list box from the map owned by Com.
CWaypointDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
void updateCatBox()
Update the waypoint list box from the map owned by Com.
afx_msg void OnBnClickedWptBtnDelete()
Handler for the Delete Waypoint button.
double mLat
Waypoint latitude in decimal degrees.
double mLon
Waypoint longitude in decimal degrees.