#if !defined(AFX_NMEADLG_H__EDA26EC3_8442_4507_BAA3_A0A17ADAF171__INCLUDED_)
#define AFX_NMEADLG_H__EDA26EC3_8442_4507_BAA3_A0A17ADAF171__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NmeaDlg.h : header file
//
# include "WinSerialDevice.h"

class CDashboardDlg;
class CDashboardRecipient;

/////////////////////////////////////////////////////////////////////////////
// CNmeaDlg dialog

class CNmeaDlg : public CDialog
{
// Construction
public:
	CNmeaDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CNmeaDlg)
	enum { IDD = IDD_NMEA_DIALOG };
	CEdit	m_dumpcontrol;
	CString	m_dumpString;
	CString	m_vehiclePosDump;
	//}}AFX_DATA

	void runCycle();
	void setRecipient(CDashboardRecipient *recipient)
		{ m_recipient = recipient; };
	void setDialog(CDashboardDlg *dialog)
		{ m_dialog = dialog; };
	
	void setVehiclePos(char* str);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNmeaDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL



// Implementation
protected:

	virtual BOOL OnInitDialog();

	CDashboardRecipient *m_recipient;
	CDashboardDlg* m_dialog;

	// Generated message map functions
	//{{AFX_MSG(CNmeaDlg)
	afx_msg void OnSendNmea();
	afx_msg void OnGetPos();
	afx_msg void OnGetpos();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NMEADLG_H__EDA26EC3_8442_4507_BAA3_A0A17ADAF171__INCLUDED_)
