Garmin Fleet Management Controller  2.19.0
CStopListDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CStopListDlg.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CStopListDlg_H
11 #define CStopListDlg_H
12 
13 class CStopListDlg;
14 
15 #include "CWndEventListener.h"
16 #include "FmiApplicationLayer.h"
17 
18 //----------------------------------------------------------------------
24 //----------------------------------------------------------------------
25 class CStopListDlg : public CDialog, public CWndEventListener
26 {
27  DECLARE_DYNAMIC( CStopListDlg )
28  DECLARE_MESSAGE_MAP()
29 
30 public:
32  (
33  CWnd * aParent,
34  FmiApplicationLayer & aCom
35  );
36 
37  virtual ~CStopListDlg();
38 
39 protected:
40  virtual void DoDataExchange
41  (
42  CDataExchange * aDataExchange
43  );
44 
45  void PostNcDestroy();
46  BOOL OnInitDialog();
47  afx_msg void OnBnClickedNewStop();
48  afx_msg void OnBnClickedOk();
49  afx_msg void OnCancel();
50 
51 #if( FMI_SUPPORT_A603 )
52  afx_msg void OnEnChangeMoveTo();
53  afx_msg void OnBnClickedSend();
54  afx_msg void OnBnClickedSort();
55  afx_msg void OnCbnSelChangeUpdateOption();
56  afx_msg LRESULT OnEventStopListChanged( WPARAM, LPARAM );
57  afx_msg LRESULT OnEventEtaReceived( WPARAM, LPARAM );
58 #endif
59 
62 
63 #if( FMI_SUPPORT_A603 )
66 
68  CListBox mStopListBox;
69 
72 
76 
78  CString mMoveTo;
79 
81  CString mEta;
82 #endif
83 };
84 
85 #endif
CString mMoveTo
Text in the "Move To" edit box.
Definition: CStopListDlg.h:78
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
int mSelectedUpdateIndex
Index of the selected item in the Update Stop combo box.
Definition: CStopListDlg.h:75
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
Definition: CStopListDlg.h:61
afx_msg LRESULT OnEventStopListChanged(WPARAM, LPARAM)
Handler for the Stop List Changed event.
Modeless dialog allowing the user to manage the A603 stops on the client device.
Definition: CStopListDlg.h:25
afx_msg void OnBnClickedOk()
Click handler for the OK button.
CStopListDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
int mSelectedStopIndex
Index of the selected stop in the stop list.
Definition: CStopListDlg.h:65
BOOL OnInitDialog()
Initialize the dialog.
CString mEta
Text in the ETA edit box.
Definition: CStopListDlg.h:81
afx_msg LRESULT OnEventEtaReceived(WPARAM, LPARAM)
Handle an ETA Received event from FmiApplicationLayer.
virtual ~CStopListDlg()
Destructor.
CString mSelectedStopStatus
Text description of the selected stop's status.
Definition: CStopListDlg.h:71
afx_msg void OnCancel()
Handler for the Cancel action.
afx_msg void OnBnClickedSend()
Click handler for the Send button.
afx_msg void OnBnClickedSort()
Click handler for the Sort button.
afx_msg void OnBnClickedNewStop()
Click handler for the New Stop button.
Serial communication controller for Garmin and FMI packets.
EventListener that dispatches a Windows message.
afx_msg void OnCbnSelChangeUpdateOption()
Selection Change handler for the Update Stop combo box.
afx_msg void OnEnChangeMoveTo()
Edit handler for the Move To text box.
void PostNcDestroy()
Perform final cleanup.
CListBox mStopListBox
The list box control containing the A603 stops.
Definition: CStopListDlg.h:68