richtest.h

来自「故障诊断工作涉及的领域相当广泛」· C头文件 代码 · 共 75 行

H
75
字号
// richtest.h : main header file for the RICHTEST application
//

#if !defined(AFX_RICHTEST_H__2A0AAD80_C850_4D8F_92ED_2D51FBAD69A7__INCLUDED_)
#define AFX_RICHTEST_H__2A0AAD80_C850_4D8F_92ED_2D51FBAD69A7__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
//#include "Richtest_i.h"
//#include "command.h"
//#include "mydata.h"
/////////////////////////////////////////////////////////////////////////////
// CRichtestApp:
// See richtest.cpp for the implementation of this class
//
class command;
class CRichtestApp : public CWinApp
{
protected:
	//BOOL find_attach_moudle();
	//void add_moudle(char* name,int name_length,char* info,int info_length,char* where,int size);
	command* pcmd[PROCESS_CNT]; //程序中所有的功能模块
	unsigned int cmd_count[PROCESS_CNT];//程序中所有功能模块数量
	unsigned int totalcnt;
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	void unloadcommand();
	unsigned int loadcommand();
	unsigned int getcmd_cnt(unsigned int);
	command** getcmd() ;
	unsigned int* getcmdcnt();
	CRichtestApp();

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

// Implementation
	COleTemplateServer m_server;
		// Server object for document creation
	//{{AFX_MSG(CRichtestApp)
	afx_msg void OnAppAbout();
	afx_msg void OnAddMoudle();
	afx_msg void OnRemoveMoudle();
	afx_msg void OnUpdateAddMoudle(CCmdUI* pCmdUI);
	afx_msg void OnSysinfo();
	afx_msg void OnUpgradeMoudle();
	afx_msg void OnUpdateUpgradeMoudle(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL m_bATLInited;
private:
	BOOL InitATL();
};


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

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

#endif // !defined(AFX_RICHTEST_H__2A0AAD80_C850_4D8F_92ED_2D51FBAD69A7__INCLUDED_)

⌨️ 快捷键说明

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