XCEventGenerator.h 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. //
  2. // Generated by class-dump 3.5 (64 bit).
  3. //
  4. // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
  5. //
  6. #import <TargetConditionals.h>
  7. #import <UIKit/UIKit.h>
  8. #import <WebDriverAgentLib/CDStructures.h>
  9. @class XCSynthesizedEventRecord;
  10. typedef void (^XCEventGeneratorHandler)(XCSynthesizedEventRecord *record, NSError *error);
  11. @interface XCEventGenerator : NSObject
  12. {
  13. NSObject<OS_dispatch_queue> *_eventQueue;
  14. struct __CFRunLoopObserver *_generationObserver;
  15. unsigned long long _generation;
  16. }
  17. + (id)sharedGenerator;
  18. @property unsigned long long generation; // @synthesize generation=_generation;
  19. //@property(readonly) NSObject<OS_dispatch_queue> *eventQueue; // @synthesize eventQueue=_eventQueue;
  20. #if TARGET_OS_TV
  21. // TODO: tvOS-specific headers
  22. #elif TARGET_OS_IPHONE
  23. - (double)rotateInRect:(CGRect)arg1 withRotation:(double)arg2 velocity:(double)arg3 orientation:(UIInterfaceOrientation)arg4 handler:(XCEventGeneratorHandler)arg5;
  24. - (double)pinchInRect:(CGRect)arg1 withScale:(double)arg2 velocity:(double)arg3 orientation:(UIInterfaceOrientation)arg4 handler:(XCEventGeneratorHandler)arg5;
  25. - (double)pressAtPoint:(CGPoint)arg1 forDuration:(double)arg2 liftAtPoint:(CGPoint)arg3 velocity:(double)arg4 orientation:(UIInterfaceOrientation)arg5 name:(NSString *)arg6 handler:(XCEventGeneratorHandler)arg7;
  26. - (double)pressAtPoint:(CGPoint)arg1 forDuration:(double)arg2 orientation:(UIInterfaceOrientation)arg3 handler:(XCEventGeneratorHandler)arg4;
  27. // iOS 9.x specific, gone in iOS 10.3
  28. - (double)tapWithNumberOfTaps:(unsigned long long)arg1 numberOfTouches:(unsigned long long)arg2 inRect:(CGRect)arg3 orientation:(UIInterfaceOrientation)arg4 handler:(XCEventGeneratorHandler)arg5;
  29. - (double)twoFingerTapInRect:(CGRect)arg1 orientation:(UIInterfaceOrientation)arg2 handler:(XCEventGeneratorHandler)arg3;
  30. - (double)doubleTapAtPoint:(CGPoint)arg1 orientation:(UIInterfaceOrientation)arg2 handler:(XCEventGeneratorHandler)arg3;
  31. - (double)tapAtPoint:(CGPoint)arg1 orientation:(UIInterfaceOrientation)arg2 handler:(XCEventGeneratorHandler)arg3;
  32. // iOS 10.x specific
  33. - (double)tapAtTouchLocations:(NSArray *)locations numberOfTaps:(NSInteger)numberOfTaps orientation:(UIInterfaceOrientation)orientation handler:(XCEventGeneratorHandler)handler;
  34. // iOS 10.3 specific
  35. - (double)forcePressAtPoint:(struct CGPoint)arg1 orientation:(long long)arg2 handler:(CDUnknownBlockType)arg3;
  36. #elif TARGET_OS_MAC
  37. - (double)sendKeyboardInputs:(id)arg1 layout:(id)arg2 handler:(CDUnknownBlockType)arg3;
  38. - (double)sendKey:(id)arg1 modifierFlags:(unsigned long long)arg2 handler:(CDUnknownBlockType)arg3;
  39. - (double)sendString:(id)arg1 handler:(CDUnknownBlockType)arg2;
  40. - (double)setModifiers:(unsigned long long)arg1 merge:(BOOL)arg2 original:(unsigned long long *)arg3 handler:(CDUnknownBlockType)arg4;
  41. - (double)sendKey:(unsigned short)arg1 down:(BOOL)arg2 modifiers:(unsigned long long)arg3 string:(id)arg4 handler:(CDUnknownBlockType)arg5;
  42. - (double)hitKey:(unsigned short)arg1 handler:(CDUnknownBlockType)arg2;
  43. - (double)scrollByX:(double)arg1 y:(double)arg2 handler:(CDUnknownBlockType)arg3;
  44. - (double)clickAtPoint:(CGPoint)arg1 forDuration:(double)arg2 releaseAtPoint:(CGPoint)arg3 velocity:(double)arg4 handler:(CDUnknownBlockType)arg5;
  45. - (double)clickAndDragFromPoint:(CGPoint)arg1 toPoint:(CGPoint)arg2 handler:(CDUnknownBlockType)arg3;
  46. - (double)rightClickAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
  47. - (double)doubleClickAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
  48. - (double)clickAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
  49. - (double)hoverAtPoint:(CGPoint)arg1 handler:(CDUnknownBlockType)arg2;
  50. - (CGPoint)_currentMousePosition;
  51. - (void)_clickMouseButton:(unsigned int)arg1 withCount:(unsigned long long)arg2 atPoint:(CGPoint)arg3 handleCompletion:(CDUnknownBlockType)arg4;
  52. - (void)_moveMouseToPoint:(CGPoint)arg1 handleCompletion:(CDUnknownBlockType)arg2;
  53. - (void)_postCGEvent:(struct __CGEvent *)arg1 handleCompletion:(CDUnknownBlockType)arg2;
  54. #endif
  55. - (void)_startEventSequenceWithSteppingCallback:(CDUnknownBlockType)arg1;
  56. - (void)_scheduleCallback:(CDUnknownBlockType)arg1 afterInterval:(double)arg2;
  57. - (id)init;
  58. @end