gps loggerview.h

来自「读取GPS数据」· C头文件 代码 · 共 81 行

H
81
字号
// GPS LoggerView.h : interface of the CGPSLoggerView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_GPSLOGGERVIEW_H__BEA932C8_CEA0_47DE_9B62_0E5150690515__INCLUDED_)
#define AFX_GPSLOGGERVIEW_H__BEA932C8_CEA0_47DE_9B62_0E5150690515__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CGPSLoggerView : public CFormView
{
protected: // create from serialization only
	CGPSLoggerView();
	DECLARE_DYNCREATE(CGPSLoggerView)

public:
	//{{AFX_DATA(CGPSLoggerView)
	enum { IDD = IDD_MAINDLG };
	CButton	m_buttonStop;
	CButton	m_buttonStart;
	CString	m_strAltitude;
	CString	m_strLatitude;
	CString	m_strLongitude;
	CString	m_strNumSentences;
	CString	m_strSignalQuality;
	CString	m_strSatelitesInUse;
	//}}AFX_DATA

// Attributes
public:
	CGPSLoggerDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGPSLoggerView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CGPSLoggerView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CGPSLoggerView)
	afx_msg void OnToolsStartStop();
	afx_msg void OnUpdateToolsStartStop(CCmdUI* pCmdUI);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButtonStart();
	afx_msg void OnButtonStop();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in GPS LoggerView.cpp
inline CGPSLoggerDoc* CGPSLoggerView::GetDocument()
   { return (CGPSLoggerDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GPSLOGGERVIEW_H__BEA932C8_CEA0_47DE_9B62_0E5150690515__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?