msghndlrreg.h

来自「C++、MFC源代码Singleton_demo」· C头文件 代码 · 共 25 行

H
25
字号
//  MsgHndlrReg.h : interface and implementation of CMsgHndlrRegistry class
//
/////////////////////////////////////////////////////////////////////////////

// Runtime class information of Message handler agents are self registered to 
// CObjRegistry via this class

// Written by : T. Kulathu Sarma

// This file is part of Singleton application to demonstrate the concept of Singleton classes.
// This file is provided "as is" with no expressed or implied warranty.

#ifndef _MSGHNDLR_REGISTRY
#define _MSGHNDLR_REGISTRY

#include "ObjReg.h"

template <class T> class CMsgHndlrRegistry : public CObjRegistry
{
	// Constructor
	public :
		CMsgHndlrRegistry( CRuntimeClass * pRuntimeClass, LPCSTR lpszKey ) : CObjRegistry( pRuntimeClass, lpszKey ) {	}
};
#endif

⌨️ 快捷键说明

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