Garmin Fleet Management Controller  2.19.0
CEtaModeDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CEtaModeDlg.h
5 *
6 * Copyright 2008-2016 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CEtaModeDlg_H
11 #define CEtaModeDlg_H
12 
13 #include "FmiApplicationLayer.h"
14 
15 //----------------------------------------------------------------------
19 //----------------------------------------------------------------------
20 class CEtaModeDlg : public CDialog
21 {
22  DECLARE_DYNAMIC( CEtaModeDlg )
23  DECLARE_MESSAGE_MAP()
24 
25 public:
27  (
28  CWnd * aParent,
29  FmiApplicationLayer & aCom
30  );
31  virtual ~CEtaModeDlg();
32 
33  typedef CString mode_type;
34 
35 private:
36  virtual void DoDataExchange
37  (
38  CDataExchange* aDataExchange
39  );
40 
41  BOOL OnInitDialog();
42  afx_msg void OnBnClickedSend();
43 
46 
49 
50  };
51 
52 #endif
FMI_eta_mode_type mMode
Mode to be transferred, as specified by the user.
Definition: CEtaModeDlg.h:48
CEtaModeDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
Definition: CEtaModeDlg.cpp:42
CString mode_type
Definition: CEtaModeDlg.h:33
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
Definition: CEtaModeDlg.cpp:64
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
Definition: CEtaModeDlg.h:45
Serial communication controller for Garmin and FMI packets.
virtual ~CEtaModeDlg()
Destructor.
Definition: CEtaModeDlg.cpp:55
Modal dialog allowing the user to select an ETA mode for the device to operate in.
Definition: CEtaModeDlg.h:20
afx_msg void OnBnClickedSend()
Click handler for Send button.
BOOL OnInitDialog()
Initialize the dialog.
Definition: CEtaModeDlg.cpp:82
uint8 FMI_eta_mode_type
Definition: fmi.h:1045