24 #ifndef __IEVENTHANDLER__ 25 #define __IEVENTHANDLER__ 27 #include "IPMUnknown.h" 28 #include "ShuksanID.h" 47 enum { kDefaultIID = IID_IEVENTHANDLER };
54 virtual bool16 Activate(
IEvent* e) = 0;
61 virtual bool16 Deactivate(
IEvent* e) = 0;
68 virtual bool16 Suspend(
IEvent* e) = 0;
75 virtual bool16 Resume(
IEvent* e) = 0;
81 virtual bool16 MouseMove(
IEvent* e) = 0;
87 virtual bool16 MouseExit(
IEvent* e) = 0;
93 virtual bool16 MouseDrag(
IEvent* e) = 0;
99 virtual bool16 LButtonDn(
IEvent* e) = 0;
105 virtual bool16 RButtonDn(
IEvent* e) = 0;
111 virtual bool16 MButtonDn(
IEvent* e) = 0;
117 virtual bool16 LButtonUp(
IEvent* e) = 0;
123 virtual bool16 RButtonUp(
IEvent* e) = 0;
129 virtual bool16 MButtonUp(
IEvent* e) = 0;
135 virtual bool16 ButtonDblClk(
IEvent* e) = 0;
141 virtual bool16 ButtonTrplClk(
IEvent* e) = 0;
147 virtual bool16 ButtonQuadClk(
IEvent* e) = 0;
153 virtual bool16 ButtonQuintClk(
IEvent* e) = 0;
159 virtual bool16 MouseWheel(
IEvent* e) = 0;
166 virtual bool16 TabletEvent(
IEvent* e) = 0;
167 virtual bool16 GestureEvent(
IEvent* e) = 0;
174 virtual bool16 MultiTouchEvent(
IEvent* e) = 0;
180 virtual bool16 ControlCmd(
IEvent* e) = 0;
189 virtual bool16 KeyDown(
IEvent* e) = 0;
195 virtual bool16 KeyCmd(
IEvent* e) = 0;
201 virtual bool16 KeyUp(
IEvent* e) = 0;
210 virtual void PreGetKeyFocus() = 0;
216 virtual void PostGetKeyFocus() = 0;
222 virtual void PreGiveUpKeyFocus() = 0;
228 virtual void PostGiveUpKeyFocus() = 0;
234 virtual bool16 WillingToGiveUpKeyFocus() = 0;
241 virtual bool16 SuspendKeyFocus() = 0;
247 virtual bool16 ResumeKeyFocus() = 0;
253 virtual bool16 CanHaveKeyFocus()
const = 0;
263 virtual bool16 WantsTabKeyFocus()
const = 0;
265 #if 0 // OBSOLETE AS OF CC 270 virtual bool16 Update(
IEvent* e) = 0;
276 virtual bool16 PlatformEvent(
IEvent* e) = 0;
282 virtual bool16 CallSysEventHandler(
IEvent* e) = 0;
283 #endif // OBSOLETE AS OF CC 299 #endif // __IEVENTHANDLER__