PageRenderTime 16ms CodeModel.GetById 8ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/TGame/TCommon/Message/MsgFactoryIf.h

http://awoe.googlecode.com/
C++ Header | 22 lines | 10 code | 6 blank | 6 comment | 0 complexity | e1f5298aca94840971ad64c67df2c977 MD5 | raw file
 1#ifndef		__MSG_FACTORY__IF__
 2#define		__MSG_FACTORY__IF__
 3
 4#include "MsgIf.h"
 5
 6//
 7//	Message Factory
 8//
 9
10class TCOM_API  IMsgFactory
11{
12public:
13	virtual ~IMsgFactory(){;}
14
15	//
16	//	create a message base on message category and message id
17	//
18	virtual	IMsg*	createMsg(int nMsgCate, int nMsgID)	= 0;
19};
20
21#endif
22