Garmin Fleet Management Controller  2.19.0
CFeatureDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CFeatureDlg.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CFeatureDlg_H
11 #define CFeatureDlg_H
12 
13 #include "fmi.h"
14 #include "FmiApplicationLayer.h"
15 
16 //----------------------------------------------------------------------
21 //----------------------------------------------------------------------
22 class CFeatureDlg : public CDialog
23 {
24  DECLARE_MESSAGE_MAP()
25 
26 public:
28  (
29  CWnd * aParent,
30  FmiApplicationLayer & aCom
31  );
32 
33  virtual ~CFeatureDlg();
34 
35  afx_msg void OnBnClickedOk();
36  BOOL OnInitDialog();
37 
38 protected:
39  void checkFeature
40  (
41  CButton * aCheckBox,
42  fmi_feature_type aFeature
43  );
44 
47 
50 
53 };
54 
55 #endif
virtual ~CFeatureDlg()
Destructor.
Definition: CFeatureDlg.cpp:38
BOOL OnInitDialog()
Initialize the dialog.
Definition: CFeatureDlg.cpp:49
FMI Feature (enable) modal dialog.
Definition: CFeatureDlg.h:22
afx_msg void OnBnClickedOk()
Click handler for OK button.
Definition: CFeatureDlg.cpp:97
uint16 mFeatureCodes[126]
Array of feature codes to send in the FMI Enable packet.
Definition: CFeatureDlg.h:52
Serial communication controller for Garmin and FMI packets.
void checkFeature(CButton *aCheckBox, fmi_feature_type aFeature)
Process a feature check box.
Definition: CFeatureDlg.cpp:69
unsigned short int uint16
16-bit unsigned integer
Definition: garmin_types.h:64
FmiApplicationLayer & mCom
Reference to the FMI application layer.
Definition: CFeatureDlg.h:46
fmi_feature_type
Valid values for the features field of the fmi_features_data_type.
Definition: fmi.h:590
CFeatureDlg(CWnd *aParent, FmiApplicationLayer &aCom)
Constructor.
Definition: CFeatureDlg.cpp:25
unsigned char uint8
8-bit unsigned integer
Definition: garmin_types.h:62
uint8 mFeatureCount
Number of feature codes to send in the FMI Enable packet.
Definition: CFeatureDlg.h:49