Garmin Fleet Management Controller  2.19.0
CTxtMsgAckDlg.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CTxtMsgAckDlg.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CTxtMsgAckDlg_H
11 #define CTxtMsgAckDlg_H
12 
13 #include "stdafx.h"
14 #include "EventId.h"
15 #include "FmiApplicationLayer.h"
16 
17 //----------------------------------------------------------------------
24 //----------------------------------------------------------------------
25 class CTxtMsgAckDlg : public CDialog
26 {
27  DECLARE_DYNAMIC( CTxtMsgAckDlg )
28  DECLARE_MESSAGE_MAP()
29 
30 public:
32  (
33  CWnd * aParent,
34  const FmiApplicationLayer & aCom,
35  const text_msg_ack_event_type * aAckEvent
36  );
37  virtual ~CTxtMsgAckDlg();
38 
39 protected:
40  virtual void DoDataExchange
41  (
42  CDataExchange * aDataExchange
43  );
44 
45  BOOL OnInitDialog();
46 
49 
52 
54  CString mMessageId;
55 
57  CString mResponseText;
58 };
59 
60 #endif
BOOL OnInitDialog()
Initialize the dialog.
Serial communication controller for Garmin and FMI packets.
Modal pop up which displays a text message ack received from the client.
Definition: CTxtMsgAckDlg.h:25
text_msg_ack_event_type mAckEvent
The text message ack event that is being displayed.
Definition: CTxtMsgAckDlg.h:51
const FmiApplicationLayer & mCom
The reference to the communication controller.
Definition: CTxtMsgAckDlg.h:48
CTxtMsgAckDlg(CWnd *aParent, const FmiApplicationLayer &aCom, const text_msg_ack_event_type *aAckEvent)
Constructor.
Structure containing details for a text message ACK from the client.
Definition: EventId.h:141
CString mResponseText
Text representation of the response from the client.
Definition: CTxtMsgAckDlg.h:57
CString mMessageId
Text representation of the text message ID.
Definition: CTxtMsgAckDlg.h:54
virtual void DoDataExchange(CDataExchange *aDataExchange)
Perform dialog data exchange and validation.
virtual ~CTxtMsgAckDlg()
Destructor.