00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _USER_EVENT_H_
00021 #define _USER_EVENT_H_
00022
00023 #include <boost/utility.hpp>
00024 #include <boost\shared_ptr.hpp>
00025
00026 namespace TestFrameWork
00027 {
00028
00029 enum UserEventType
00030 {
00031 Mouse,
00032 Custom
00033 };
00034
00035 class IUserEvent :
00036 boost::noncopyable
00037 {
00038 public:
00039 virtual UserEventType GetUserEventType(void) const = 0;
00040
00041 protected:
00042 IUserEvent(){}
00043 virtual ~IUserEvent() = 0 {};
00044 };
00045
00046 typedef boost::shared_ptr<IUserEvent> IUserEventPtr;
00047
00048 }
00049
00050 #endif