cmsgreceiver.h

来自「VC vod源码 放出来供大家交流学习」· C头文件 代码 · 共 28 行

H
28
字号
//
// CMsgReceiver.h
//

#ifndef __H_CMsgReceiver__
#define __H_CMsgReceiver__

#include "CMsgStation.h"

class CMsgReceiver
{
protected:
	CObjectList		mStations;

public:
	CMsgReceiver(void);
	virtual ~CMsgReceiver(void);

	void AddMsgStation(CMsgStation * inStation);
	void RemoveMsgStation(CMsgStation * inStation);

	virtual bool ReceiveMessage(MessageT inMessage, void * ioParam, 
		void * ioParam2);
	virtual bool Respond(NotifyT inNotification, CMsgStation * inStation,
		long inParam1, long inParam2);
};

#endif // __H_CMsgReceiver__

⌨️ 快捷键说明

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