serialdoc.h

来自「利用Serial ComPort與GPS機器作資料傳輸並可以儲存為google 」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_SERIALDOC_H__FBECA578_4BC5_4DAC_947A_B21A19AF7311__INCLUDED_)
#define AFX_SERIALDOC_H__FBECA578_4BC5_4DAC_947A_B21A19AF7311__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SerialDoc.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// SerialDoc document

class SerialDoc : public CDocument
{
public:
	SerialDoc();           // protected constructor used by dynamic creation
//	DECLARE_DYNCREATE(SerialDoc)
	DECLARE_SERIAL(SerialDoc)

// Attributes
public:
	CString	m_Data;
	CString	m_memory;
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	virtual BOOL DoSave(LPCTSTR lpszPathName, BOOL bReplace = TRUE);
// Operations
public:
		// Overrides
		// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(SerialDoc)
	public:
		virtual void Serialize(CArchive& ar);   // overridden for document i/o
	protected:
		virtual BOOL OnNewDocument();
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(SerialDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SERIALDOC_H__FBECA578_4BC5_4DAC_947A_B21A19AF7311__INCLUDED_)

⌨️ 快捷键说明

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