19 #ifndef __CGREMOTEOPERATION__
20 #define __CGREMOTEOPERATION__
26 #ifndef __CGGEOMETRY__
51 #if PRAGMA_STRUCT_ALIGN
52 #pragma options align = mac68k
53 #elif PRAGMA_STRUCT_PACKPUSH
55 #elif PRAGMA_STRUCT_PACK
59 #if PRAGMA_ENUM_ALWAYSINT
60 #if defined(__fourbyteints__) && !__fourbyteints__
61 #define __CGREMOTEOPERATION__RESTORE_TWOBYTEINTS
62 #pragma fourbyteints on
64 #pragma enumsalwaysint on
65 #elif PRAGMA_ENUM_OPTIONS
66 #pragma option enum =int
67 #elif PRAGMA_ENUM_PACK
68 #if __option(pack_enums)
69 #define __CGREMOTEOPERATION__RESTORE_PACKED_ENUMS
70 #pragma options(!pack_enums)
74 typedef CGError CGEventErr;
77 CGEventNoErr = kCGErrorSuccess
105 typedef CALLBACK_API_C(
void, CGScreenRefreshCallback)(
CGRectCount count,
107 void *userParameter);
124 void *userParameter);
141 void *userParameter);
219 boolean_t updateMouseCursorPosition,
CGButtonCount buttonCount,
220 boolean_t mouseButtonDown, ...);
265 typedef u_int16_t CGKeyCode;
375 kCGEventFilterMaskPermitLocalMouseEvents =
377 kCGEventFilterMaskPermitLocalKeyboardEvents =
380 kCGEventFilterMaskPermitSystemDefinedEvents =
382 kCGEventFilterMaskPermitAllEvents =
383 kCGEventFilterMaskPermitLocalMouseEvents |
384 kCGEventFilterMaskPermitLocalKeyboardEvents |
385 kCGEventFilterMaskPermitSystemDefinedEvents
389 enum CGEventSupressionState
391 kCGEventSupressionStateSupressionInterval = 0,
392 kCGEventSupressionStateRemoteMouseDrag = 1,
393 kCGNumberOfEventSupressionStates = 2
395 typedef enum CGEventSupressionState CGEventSupressionState;
407 CGEventSupressionState state);
483 #if PRAGMA_ENUM_ALWAYSINT
484 #pragma enumsalwaysint reset
485 #ifdef __CGREMOTEOPERATION__RESTORE_TWOBYTEINTS
486 #pragma fourbyteints off
488 #elif PRAGMA_ENUM_OPTIONS
489 #pragma option enum =reset
490 #elif defined(__CGREMOTEOPERATION__RESTORE_PACKED_ENUMS)
491 #pragma options(pack_enums)
494 #if PRAGMA_STRUCT_ALIGN
495 #pragma options align = reset
496 #elif PRAGMA_STRUCT_PACKPUSH
498 #elif PRAGMA_STRUCT_PACK
502 #ifdef PRAGMA_IMPORT_OFF
xxx put contents here xxx
xxx put contents here xxx
xxx put contents here xxx
void CGReleaseScreenRefreshRects(CGRect *rectArray)
CGEventErr CGWarpMouseCursorPosition(CGPoint newCursorPosition)
u_int32_t CGButtonCount
Definition: CGRemoteOperation.h:208
u_int32_t CGWheelCount
Definition: CGRemoteOperation.h:237
CGEventErr CGPostScrollWheelEvent(CGWheelCount wheelCount, int32_t wheel1,...)
CGEventErr CGEnableEventStateCombining(boolean_t doCombineState)
void CGUnregisterScreenRefreshCallback(CGScreenRefreshCallback callback, void *userParameter)
CGEventErr CGSetLocalEventsSuppressionInterval(CFTimeInterval seconds)
CGEventErr CGPostMouseEvent(CGPoint mouseCursorPosition, boolean_t updateMouseCursorPosition, CGButtonCount buttonCount, boolean_t mouseButtonDown,...)
CGEventFilterMask
Definition: CGRemoteOperation.h:374
u_int32_t CGRectCount
Definition: CGRemoteOperation.h:104
void CGRegisterScreenRefreshCallback(CGScreenRefreshCallback callback, void *userParameter)
CGEventErr CGAssociateMouseAndMouseCursorPosition(boolean_t connected)
CGEventErr CGPostKeyboardEvent(CGCharCode keyChar, CGKeyCode virtualKey, boolean_t keyDown)
CGEventErr CGSetLocalEventsFilterDuringSupressionState(CGEventFilterMask filter, CGEventSupressionState state)
CGEventErr CGInhibitLocalEvents(boolean_t doInhibit)
CGEventErr CGWaitForScreenRefreshRects(CGRect **pRectArray, CGRectCount *pCount)
u_int16_t CGCharCode
Definition: CGRemoteOperation.h:264
Definition: CGGeometry.h:64
Definition: CGGeometry.h:78