#if !defined(AFX_GPSDLG_H__F23519A3_5631_49A4_97BC_A2B646398918__INCLUDED_)
#define AFX_GPSDLG_H__F23519A3_5631_49A4_97BC_A2B646398918__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GpsDlg.h : header file
//
#include "DataRecipient.h"
#include "DeviceDlg.h"
#include "StatusStatic.h"
#include "TestDlg.h"

class CDashboardRecipient;

/////////////////////////////////////////////////////////////////////////////
// CGpsDlg dialog

class CGpsDlg : public CTestDlg
{
// Construction
public:
	CGpsDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGpsDlg)
	enum { IDD = IDD_GPS_DIALOG };
	BOOL	m_differential;
	double	m_hdop;
	double	m_latitude;
	double	m_longitude;
	double	m_satellites;
	double	m_updateTime;
	//}}AFX_DATA

	// My functions
	void requestUpdate();
	void stopRequests();
	void resetDialog();

	void setGps(double latitude, double longitude, bool differential,
		int numSatellites, double hdop, int updateTime);

	bool IsGpsDriverRunning() 
	{ return m_gpsDriverRunning; };

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGpsDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// My members
	void initSubClassDlg();

	bool m_gpsDriverRunning;

	// Generated message map functions
	//{{AFX_MSG(CGpsDlg)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GPSDLG_H__F23519A3_5631_49A4_97BC_A2B646398918__INCLUDED_)
