00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _IUSER_EVENT_LISTENER_H_
00021 #define _IUSER_EVENT_LISTENER_H_
00022
00023 #include "MouseEvent.h"
00024 #include "ICustomEvent.h"
00025
00026 #include <boost\utility.hpp>
00027
00028 namespace TestFrameWork
00029 {
00030
00031 class IUserEventListener :
00032 boost::noncopyable
00033 {
00034 public:
00035 virtual void OnMouseEvent(float elapsedTime, MouseEventPtr event) = 0;
00036
00037 virtual void OnCustomEvent(float elapsedTime, ICustomEventPtr event) = 0;
00038
00039 protected:
00040 IUserEventListener(void){}
00041 virtual ~IUserEventListener(void) = 0 {};
00042
00043 };
00044
00045 }
00046
00047 #endif