1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/********************************************************************
*
*	Created:	25/2/2014   11:48
*
*	File:		fsIMessageListenerComponent.h
*
*	Author:		Mick Waites
*	
*	Purpose:	Component base. Components get added to Entities.
*
*********************************************************************/

#ifndef fsIMessageListenerComponenthdr
#define fsIMessageListenerComponenthdr

#include <fsCore/fsBaseTypes.h>

#include "../../fsIMessageListener.h"
#include "fsIComponent.h"

class fsAffineMtx2d;
class fsStr;
class fsCEntity;
class fsCVariableTable;


class fsIMessageListenerComponent : public fsIComponent, public fsIMessageListener
{
public:

	fsIMessageListenerComponent(fsCEntity* pParent);
	fsIMessageListenerComponent(fsCEntity* pParent, fsS32 pPriority);
	virtual ~fsIMessageListenerComponent();<--- Destructor in derived class

protected:

private:
};

#endif