www.pudn.com > GpsSimulation.rar > RyxGpsDoc.h


// RyxGpsDoc.h : interface of the CRyxGpsDoc class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_RYXGPSDOC_H__DA5E73CB_86D8_11D7_80DF_000021E3C617__INCLUDED_) 
#define AFX_RYXGPSDOC_H__DA5E73CB_86D8_11D7_80DF_000021E3C617__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CRyxGpsDoc : public CDocument 
{ 
protected: // create from serialization only 
	CRyxGpsDoc(); 
	DECLARE_DYNCREATE(CRyxGpsDoc) 
 
// Attributes 
public: 
	char m_buffer[3000];          // 1321 bytes 
	int  m_ReveiverID; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CRyxGpsDoc) 
	public: 
	virtual BOOL OnNewDocument(); 
	virtual void Serialize(CArchive& ar); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void GetSubWord(int order,char *pszSubWord); //order is 0 based 
	int GetWordPos(int order); //order is 0 based 
	virtual ~CRyxGpsDoc(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CRyxGpsDoc) 
	afx_msg void OnSv1(); 
	afx_msg void OnSv2(); 
	afx_msg void OnUpdateSv2(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateSv1(CCmdUI* pCmdUI); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_RYXGPSDOC_H__DA5E73CB_86D8_11D7_80DF_000021E3C617__INCLUDED_)