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
41
42
43
44
45
/********************************************************************
*
*	File:		fsCHardwareCursor.h
*
*	Purpose:	Wrap up the access to the hardware cursor
*
*********************************************************************/

#ifndef fsCHardwareCursorhdr
#define fsCHardwareCursorhdr

#include <fsCore/fsBaseTypes.h>

#include "fsICursor.h"

#if defined fsPCStore

class fsCContextualHardwareCursor : public fsICursor
{
	friend class fsICursor;
public:
	
	static const fsCUniqueId mTypeId;

	void listenersRegisterDo() override;
	void listenersDeregisterDo() override;
	fsBool messageProcessDo(const fsCUniqueId& pMessageType,
	                        const fsIMessageDispatcher::sMessageParameters& pParam) override;

	~fsCContextualHardwareCursor();<--- Destructor in derived class

protected:

	static void create(fsCEntity* pParent);
	fsCContextualHardwareCursor(fsCEntity* const pParent);

private:

	void resourcesLoad();

	fsBool mCursorInvestigateActive;
};

#endif
#endif