commport.h

来自「串口通讯封装源码 串口通讯封装源码 串口通讯封装源码」· C头文件 代码 · 共 55 行

H
55
字号
// CommPort.h : main header file for the COMMPORT DLL
//

#if !defined(AFX_COMMPORT_H__3CEB1C08_1808_4DF9_A1D9_2AF74B9862EB__INCLUDED_)
#define AFX_COMMPORT_H__3CEB1C08_1808_4DF9_A1D9_2AF74B9862EB__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CCommPortApp
// See CommPort.cpp for the implementation of this class
//
#include "Comm.h"
#include "AfxTempl.h"

class CCommPortApp : public CWinApp
{
public:
	CCommPortApp();
	~CCommPortApp();
	CComm *GetComm(int nCommPort);
	void DelComm(int nCommPort);
	CMapPtrToPtr m_listComm;
	CString m_strPath;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCommPortApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

	//{{AFX_MSG(CCommPortApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

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

#endif // !defined(AFX_COMMPORT_H__3CEB1C08_1808_4DF9_A1D9_2AF74B9862EB__INCLUDED_)

⌨️ 快捷键说明

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