Garmin Fleet Management Controller  2.19.0
CAutoArrivalDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CAutoArrivalDlg.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CAutoArrivalDlg_H
11 #define CAutoArrivalDlg_H
12 
13 #include "FmiApplicationLayer.h"
14 
15 //----------------------------------------------------------------------
19 //----------------------------------------------------------------------
20 class CAutoArrivalDlg : public CDialog
21 {
22  DECLARE_DYNAMIC( CAutoArrivalDlg )
23  DECLARE_MESSAGE_MAP()
24 
25 public:
27  (
28  CWnd * aParent,
29  FmiApplicationLayer & aCom
30  );
31 
32  virtual ~CAutoArrivalDlg();
33 
34 protected:
35  virtual void DoDataExchange
36  (
37  CDataExchange * aDataExchange
38  );
39 
40  BOOL OnInitDialog();
41  afx_msg void OnBnClickedEnabled();
42  afx_msg void OnBnClickedOk();
43  afx_msg void OnEnChangeEditBox();
44 
47 
50 
53 
56 };
57 
58 #endif
BOOL OnInitDialog()
This function is called when the window is created.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
BOOL mAutoArrivalEnabled
The state of the Enabled check box.
CString mMinimumStopDistance
The minimum distance for a stop to be considered done by the client.
CAutoArrivalDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
Serial communication controller for Garmin and FMI packets.
CString mMinimumStopTime
The minimum stop time for a stop to be considered done by the client.
virtual ~CAutoArrivalDlg()
Destructor.
afx_msg void OnEnChangeEditBox()
Edit handler for the edit boxes on this dialog.
afx_msg void OnBnClickedOk()
Button handler for the OK button on this dialog.
FmiApplicationLayer & mCom
Reference to the FMI communication controller that this dialog uses.
afx_msg void OnBnClickedEnabled()
Button handler for the Enabled check box.
Dialog allowing the user to change the auto-arrival options.