00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _CUSTOM_EVENT_H_
00021 #define _CUSTOM_EVENT_H_
00022
00023 #include "IUserEvent.h"
00024
00025 namespace TestFrameWork
00026 {
00027
00028 typedef int CustomEventType;
00029
00030 class ICustomEvent :
00031 public IUserEvent
00032 {
00033 public:
00034 UserEventType GetUserEventType(void) const {return Custom;}
00035
00036 virtual CustomEventType GetCustomEventType(void) const = 0;
00037
00038 protected:
00039 ICustomEvent(){}
00040 virtual ~ICustomEvent(void) = 0 {}
00041 };
00042
00043 typedef boost::shared_ptr<ICustomEvent> ICustomEventPtr;
00044
00045 }
00046
00047 #endif