Garmin Fleet Management Controller  2.19.0
CGpiQueryDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CGpiQueryDlg.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CGpiQueryDlg_H
11 #define CGpiQueryDlg_H
12 
13 #include "CFmiPcAppDlg.h"
14 
15 //----------------------------------------------------------------------
24 //----------------------------------------------------------------------
25 class CGpiQueryDlg : public CDialog, public CWndEventListener
26 {
27  DECLARE_DYNAMIC( CGpiQueryDlg )
28  DECLARE_MESSAGE_MAP()
29 
30 public:
32  (
33  CWnd * aParent,
34  FmiApplicationLayer & aCom
35  );
36 
37  virtual ~CGpiQueryDlg();
38 
39 protected:
40  virtual void DoDataExchange
41  (
42  CDataExchange * aDataExchange
43  );
44 
45  BOOL OnInitDialog();
46  afx_msg void OnBnClickedUpdate();
47  afx_msg LRESULT OnGpiInfoReceived( WPARAM, LPARAM );
48 
51 
53  CString mFileVersion;
54 
56  CString mFileSize;
57 };
58 
59 #endif
CString mFileSize
Contents of the File Size text box.
Definition: CGpiQueryDlg.h:56
Modal dialog allowing the user to query the file version and size of the FMI GPI file on the client d...
Definition: CGpiQueryDlg.h:25
FmiApplicationLayer & mCom
Reference to the FMI communication controller.
Definition: CGpiQueryDlg.h:50
virtual ~CGpiQueryDlg()
Destructor.
afx_msg void OnBnClickedUpdate()
Click handler for the Update button.
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
Serial communication controller for Garmin and FMI packets.
EventListener that dispatches a Windows message.
CGpiQueryDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
BOOL OnInitDialog()
Initialize the dialog.
CString mFileVersion
Contents of the File Version text box.
Definition: CGpiQueryDlg.h:53
afx_msg LRESULT OnGpiInfoReceived(WPARAM, LPARAM)
Handler for the GPI Information Received event.