24 #ifndef __ICURSORMGR__ 25 #define __ICURSORMGR__ 27 #include "IPMUnknown.h" 28 #include "ShuksanID.h" 29 #include "CursorSpec.h" 52 enum { kDefaultIID = IID_ICURSORMGR };
72 kOptionAltKey = 0x08, kAltKey = kOptionAltKey, kOptionKey = kOptionAltKey,
173 virtual void Hide() = 0;
175 virtual void Show() = 0;
177 virtual bool16
IsHidden()
const = 0;
184 virtual void Resume() = 0;
192 virtual void Init() = 0;
194 virtual void Shutdown() = 0;
196 virtual void ClearCache() = 0;
199 enum {kSpinningBeachBall = 200, kSpinningWatch = 210, kCyclingArrow = 220};
221 virtual void SetBusyCursorTimeout(int32 timeout) = 0;
228 virtual void SetBusyCursorDelay(int32 delay) = 0;
234 virtual void SetBusyCursorID(ResID
id) = 0;
265 fModalType(modalType), fRestoreCursor(restore), fCallerID(caller) {}
267 fModalType(other.fModalType), fRestoreCursor(other.fRestoreCursor), fCallerID(other.fCallerID)
275 fModalType = other.fModalType;
276 fRestoreCursor = other.fRestoreCursor;
277 fCallerID = other.fCallerID;
284 if ((
char*)
this == (
char*) &other)
286 else if ((fCallerID == other.fCallerID) && (fModalType == other.fModalType))
293 int16 fRestoreCursor;
297 #endif // __ICURSORMGR__