Advertisement
ichitaso

assistivetouchd.h

Sep 30th, 2012
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class-dump ~/AssistiveTouch.app/assistivetouchd >assistivetouchd.h
  2.  
  3. /*
  4.  *     Generated by class-dump 3.3.4 (64 bit).
  5.  *
  6.  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
  7.  */
  8.  
  9. #pragma mark Named Structures
  10.  
  11. struct CGAffineTransform {
  12.     float a;
  13.     float b;
  14.     float c;
  15.     float d;
  16.     float tx;
  17.     float ty;
  18. };
  19.  
  20. struct CGPoint {
  21.     float x;
  22.     float y;
  23. };
  24.  
  25. struct CGRect {
  26.     struct CGPoint origin;
  27.     struct CGSize size;
  28. };
  29.  
  30. struct CGSize {
  31.     float width;
  32.     float height;
  33. };
  34.  
  35. struct SCRCMathAverageValue {
  36.     unsigned int samples;
  37.     float fifo[50];
  38.     int fifoIndex;
  39.     float sum;
  40.     float average;
  41.     float current;
  42. };
  43.  
  44. #pragma mark Typedef'd Structures
  45.  
  46. typedef struct {
  47.     int _field1;
  48.     int _field2;
  49.     struct CGPoint _field3;
  50.     struct CGPoint _field4;
  51.     unsigned int _field5;
  52.     unsigned long long _field6;
  53.     void *_field7;
  54.     int _field8;
  55.     int _field9;
  56.     unsigned int _field10;
  57.     unsigned char _field11[0];
  58. } CDStruct_cee7353d;
  59.  
  60. #pragma mark -
  61.  
  62. /*
  63.  * File: /Users/ichitaso/Projects/AssistiveTouch.app/assistivetouchd
  64.  * Arch: arm v7 (armv7)
  65.  *       Minimum iOS version: 5.1.0
  66.  *
  67.  *       Objective-C Garbage Collection: Unsupported
  68.  */
  69.  
  70. @protocol HNDDeviceDelegate <NSObject>
  71. - (void)device:(id)arg1 didPostEvent:(id)arg2;
  72. - (void)device:(id)arg1 didUnload:(BOOL)arg2;
  73. @end
  74.  
  75. @protocol HNDDeviceDetectorDelegate <NSObject>
  76. - (void)deviceDetector:(id)arg1 didFindDevice:(struct __IOHIDDevice *)arg2;
  77. @end
  78.  
  79. @protocol HNDEventMatchedRealEventProtocol <NSObject>
  80. - (BOOL)incomingEventMatchesEvent:(struct CGPoint)arg1;
  81. @end
  82.  
  83. @protocol HNDViewDelegateControl <NSObject>
  84. - (void)viewPressed:(id)arg1;
  85. @end
  86.  
  87. @protocol HNDWindowDelegateProtocol <NSObject>
  88. - (BOOL)acceptsHitTest:(struct CGPoint)arg1;
  89. @end
  90.  
  91. @protocol NSObject
  92. - (id)debugDescription;
  93. - (id)description;
  94. - (unsigned int)retainCount;
  95. - (id)autorelease;
  96. - (oneway void)release;
  97. - (id)retain;
  98. - (BOOL)respondsToSelector:(SEL)arg1;
  99. - (BOOL)conformsToProtocol:(id)arg1;
  100. - (BOOL)isMemberOfClass:(Class)arg1;
  101. - (BOOL)isKindOfClass:(Class)arg1;
  102. - (BOOL)isProxy;
  103. - (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
  104. - (id)performSelector:(SEL)arg1 withObject:(id)arg2;
  105. - (id)performSelector:(SEL)arg1;
  106. - (struct _NSZone *)zone;
  107. - (id)self;
  108. - (Class)class;
  109. - (Class)superclass;
  110. - (unsigned int)hash;
  111. - (BOOL)isEqual:(id)arg1;
  112. @end
  113.  
  114. @interface HNDMain : SCRCArgumentParser
  115. {
  116.     struct __CFRunLoop *_mainRunLoop;
  117.     BOOL _stop;
  118.     BOOL _springboardReady;
  119. }
  120.  
  121. + (id)commandPath;
  122. + (id)versionString;
  123. + (id)processIdentifier;
  124. @property(nonatomic) BOOL springboardReady; // @synthesize springboardReady=_springboardReady;
  125. - (void)stop;
  126. - (void)_goDogGo:(id)arg1;
  127. - (void)_initializeSystemSettings;
  128. - (void)_assistiveTouchSettingsChanged;
  129. - (void)_assistiveTouchEnabledChange;
  130. - (int)run;
  131. - (id)initWithArgc:(int)arg1 argv:(const char **)arg2;
  132.  
  133. @end
  134.  
  135. @interface HNDDeviceManager : NSObject <HNDDeviceDetectorDelegate, HNDDeviceDelegate>
  136. {
  137.     BOOL _detectDevices;
  138.     NSMutableArray *_devices;
  139.     double _lastMoveTimeX;
  140.     double _lastMoveTimeY;
  141.     float _allowedMoveRate;
  142. }
  143.  
  144. + (void)initialize;
  145. + (id)sharedManager;
  146. @property(nonatomic) BOOL detectDevices; // @synthesize detectDevices=_detectDevices;
  147. - (int)deviceCount;
  148. - (int)deviceCountWithSecondaryButtons;
  149. - (void)device:(id)arg1 didPostEvent:(id)arg2;
  150. - (void)device:(id)arg1 didUnload:(BOOL)arg2;
  151. - (void)deviceDetector:(id)arg1 didFindDevice:(struct __IOHIDDevice *)arg2;
  152. - (id)init;
  153.  
  154. @end
  155.  
  156. @interface HNDDeviceDetector : NSObject
  157. {
  158.     struct __IOHIDManager *_hidManager;
  159.     id <HNDDeviceDetectorDelegate> _delegate;
  160.     BOOL _detectDevices;
  161. }
  162.  
  163. + (void)initialize;
  164. + (id)sharedDetector;
  165. @property(nonatomic) id <HNDDeviceDetectorDelegate> delegate; // @synthesize delegate=_delegate;
  166. @property(nonatomic) BOOL detectDevices; // @synthesize detectDevices=_detectDevices;
  167. - (id)_matchingDictionaries;
  168. - (id)init;
  169.  
  170. @end
  171.  
  172. @interface HNDWindow : UIWindow
  173. {
  174.     id <HNDWindowDelegateProtocol> _hitTestDelegate;
  175. }
  176.  
  177. @property(nonatomic) id <HNDWindowDelegateProtocol> hitTestDelegate; // @synthesize hitTestDelegate=_hitTestDelegate;
  178. - (BOOL)acceptsGlobalPoint:(struct CGPoint)arg1;
  179.  
  180. @end
  181.  
  182. @interface HNDIgnoredWindow : HNDWindow
  183. {
  184. }
  185.  
  186. - (BOOL)_ignoresHitTest;
  187.  
  188. @end
  189.  
  190. @interface HNDDisplayManager : NSObject <HNDViewDelegateControl, HNDWindowDelegateProtocol>
  191. {
  192.     AXTimer *_idleTimer;
  193.     AXTimer *_longIdleTimer;
  194.     HNDWindow *_window;
  195.     HNDWindow *_ignoredWindow;
  196.     HNDRocker *_rocker;
  197.     UIView *_contentView;
  198.     UIView *_ignoredContentView;
  199.     HNDView *_rockerDismiss;
  200.     HNDView *_multiTouchBackgound;
  201.     struct CGPoint _currentPoint;
  202.     struct CGPoint _menuPoint;
  203.     struct CGPoint _previousMenuPoint;
  204.     double _menuOpenTime;
  205.     struct CGPoint _menuOpenDistance;
  206.     struct CGPoint _pointBeforePinch;
  207.     BOOL _menuDownWillFireAutomaticUp;
  208.     struct CGRect _screenBounds;
  209.     HNDFingerView *_pinchFinger1;
  210.     HNDFingerView *_pinchFinger2;
  211.     HNDPinchChainView *_pinchChain;
  212.     int _orientation;
  213.     NSMutableArray *_fingers;
  214.     BOOL _showingHoverOverMenu;
  215.     BOOL _isPressedDown;
  216.     BOOL _openedMenuOnDown;
  217.     BOOL _inPinchMode;
  218.     double _nubbitTouchToUpTimeLatency;
  219.     struct SCRCMathAverageValue _nubbitDistanceTracking;
  220.     struct SCRCMathAverageValue _nubbitAngleTracking;
  221.     float _nubbitVelocity;
  222.     BOOL _nubbitMoving;
  223.     struct CGPoint _downPoint;
  224.     struct CGPoint _movePoint;
  225.     HNDView *_downView;
  226.     int _lastHandType;
  227.     int _preKeyboardMovePosition;
  228. }
  229.  
  230. + (id)sharedManager;
  231. + (void)initialize;
  232. @property(nonatomic) BOOL showingHoverOverMenu; // @synthesize showingHoverOverMenu=_showingHoverOverMenu;
  233. - (void)viewPressed:(id)arg1;
  234. - (void)volumeChanged;
  235. - (void)updateRingerSwitch;
  236. - (void)deviceCountChanged:(int)arg1;
  237. - (void)_deviceCountChanged:(id)arg1;
  238. - (void)updateMenuStyle;
  239. - (void)restart;
  240. - (void)resetPinchChain:(struct CGPoint)arg1;
  241. - (void)showPinchFingers:(BOOL)arg1 withPoint:(struct CGPoint)arg2;
  242. - (void)updatePinchChain;
  243. - (void)_updatePinchChainFrame;
  244. - (void)removeMultiFingers:(BOOL)arg1 animateToPoint:(struct CGPoint)arg2;
  245. - (void)removeMultiFingers:(BOOL)arg1;
  246. - (BOOL)isMenuVisible;
  247. - (void)showMenu:(BOOL)arg1;
  248. - (void)hideVisuals:(BOOL)arg1;
  249. - (BOOL)acceptsHitTest:(struct CGPoint)arg1;
  250. - (void)showPrimaryFinger:(BOOL)arg1 location:(struct CGPoint)arg2;
  251. - (void)showPrimaryFinger:(BOOL)arg1 active:(BOOL)arg2 location:(struct CGPoint)arg3;
  252. - (struct CGPoint)_menuPointForFingerLayout;
  253. - (void)adjustMultiFingersToScreenCenter;
  254. - (struct CGPoint)standardCentroidForMultifingers:(struct CGPoint)arg1;
  255. - (struct CGPoint)absoluteCentroidForMultifingers:(struct CGPoint)arg1;
  256. - (struct CGRect)rotatedScreenBounds;
  257. - (void)setFingersVisible:(BOOL)arg1 animated:(BOOL)arg2;
  258. - (void)performPress:(int)arg1 type:(int)arg2;
  259. - (BOOL)inPinchMode;
  260. - (void)_handlePinchPress:(BOOL)arg1;
  261. - (void)_multiFingers:(BOOL)arg1 animated:(BOOL)arg2;
  262. - (void)cancelImplodeAnimation;
  263. - (void)showCircleMenu:(BOOL)arg1;
  264. - (void)fingerFinishedImplosion:(id)arg1;
  265. - (void)_displayLinkFired:(id)arg1;
  266. - (struct CGRect)screenBounds;
  267. - (struct CGPoint)point;
  268. - (struct CGPoint)screenPoint;
  269. - (struct CGPoint)rotatedScreenPoint;
  270. - (struct CGPoint)hoverMoved:(struct CGPoint)arg1;
  271. - (BOOL)initialDownMenuCanTransitionToPressDown;
  272. - (BOOL)initialMenuDownHasFinished;
  273. - (void)setOrientation:(int)arg1;
  274. - (int)isFingerInCorner;
  275. - (float)_rotationDegreesForOrientation:(int)arg1;
  276. - (void)modifyPinch:(BOOL)arg1 angle:(float)arg2 movement:(struct CGPoint)arg3;
  277. - (void)modifyRealPinch:(struct CGPoint)arg1 startPoint:(struct CGPoint)arg2 finger:(id)arg3;
  278. - (struct CGPoint)modifyFakePinch:(struct CGPoint)arg1 startPoint:(struct CGPoint)arg2;
  279. - (BOOL)areFramesWithinInBounds:(int)arg1 frames:(struct CGRect)arg2;
  280. - (void)_updateCurrentPoint:(struct CGPoint)arg1;
  281. - (struct CGPoint)normalizedPointDifference:(struct CGPoint)arg1;
  282. - (void)_startIdleTimer;
  283. - (void)_idleTimerFired;
  284. - (void)activateDisplayItems;
  285. - (void)_longIdleTimerFired;
  286. - (void)showMultiFingersWithPoints:(id)arg1;
  287. - (void)moveFinger:(int)arg1 toPoint:(struct CGPoint)arg2;
  288. - (BOOL)canMoveFinger:(int)arg1 toPoint:(struct CGPoint)arg2;
  289. - (void)addFinger:(struct CGPoint)arg1;
  290. - (void)addFinger:(struct CGPoint)arg1 active:(BOOL)arg2;
  291. - (id)multiFingers;
  292. - (id)fingerViews;
  293. - (struct CGPoint)convertPointFromOrientation:(struct CGPoint)arg1;
  294. - (struct CGPoint)convertPointToOrientation:(struct CGPoint)arg1;
  295. - (BOOL)handleRealEvent:(struct __GSEvent *)arg1;
  296. - (id)viewAtPoint:(struct CGPoint)arg1;
  297. - (id)viewAtPoint:(struct CGPoint)arg1 downPoint:(struct CGPoint *)arg2 window:(id)arg3;
  298. - (void)_handleNubbitMove:(struct CGPoint)arg1;
  299. - (void)keyboardVisible:(BOOL)arg1 withFrame:(struct CGRect)arg2;
  300. - (void)_moveNubbitAboveKeyboard:(struct CGRect)arg1;
  301. - (BOOL)_nubbitIsOverKeyboard:(struct CGRect)arg1;
  302. - (void)_repositionNubbitAfterLift:(struct CGPoint)arg1;
  303. - (void)_moveNubbitToPosition:(int)arg1;
  304. - (struct CGRect)_nubbitFrameForPosition:(int)arg1;
  305. - (int)nubbitPositionForFlick:(struct CGPoint)arg1;
  306. - (int)_angleForDegrees:(float)arg1;
  307. - (int)closestNubbitPositionForPoint:(struct CGPoint)arg1;
  308. - (int)fingerCount;
  309. - (void)setMultiTouchToolBackgroundEnabled:(BOOL)arg1;
  310. - (BOOL)multiTouchToolBackgroundEnabled;
  311. - (void)_hoverMultiFingers:(struct CGPoint)arg1;
  312. - (void)_hoverFingerRecorder:(struct CGPoint)arg1;
  313. - (BOOL)_allowsMiddleNubbitPositions;
  314. - (void)dealloc;
  315. - (void)cleanup;
  316. - (void)initializeDisplay;
  317. - (id)init;
  318.  
  319. @end
  320.  
  321. @interface HNDHoverCursorMark : UIView
  322. {
  323.     struct CGAffineTransform _rotationTransform;
  324.     struct CGRect _originalFrame;
  325. }
  326.  
  327. @property(nonatomic) struct CGRect originalFrame; // @synthesize originalFrame=_originalFrame;
  328. @property(nonatomic) struct CGAffineTransform rotationTransform; // @synthesize rotationTransform=_rotationTransform;
  329. - (void)drawRect:(struct CGRect)arg1;
  330. - (void)setFrame:(struct CGRect)arg1;
  331. - (id)initWithFrame:(struct CGRect)arg1;
  332.  
  333. @end
  334.  
  335. @interface HNDFingerView : HNDView
  336. {
  337.     NSMutableArray *_marks;
  338.     HNDHoverCursorCircle *_hoverCursorCircle;
  339.     HNDHoverCursorCircle *_pressedHoverCursorCircle;
  340.     float _implodeMultiplier;
  341.     BOOL _implodeDirectionIsUp;
  342.     BOOL _actualVisibility;
  343.     BOOL _finishedImplosion;
  344.     UIImageView *_cursorImage;
  345.     UIImageView *_pressCursorImage;
  346. }
  347.  
  348. + (struct CGSize)fingerSize;
  349. @property(readonly, nonatomic) BOOL finishedImplosion; // @synthesize finishedImplosion=_finishedImplosion;
  350. - (void)setVisible:(BOOL)arg1 animated:(BOOL)arg2;
  351. - (BOOL)isVisible;
  352. - (void)_setIsActuallyVisible;
  353. - (void)setFrame:(struct CGRect)arg1;
  354. - (float)implode:(BOOL)arg1;
  355. - (BOOL)isUserInteractionEnabled;
  356. - (void)cancelImplodeAnimation;
  357. - (void)implodeDisplayLinkFired:(id)arg1;
  358. - (float)explode:(BOOL)arg1;
  359. - (void)dealloc;
  360. - (void)setIsPinchFinger:(int)arg1;
  361. - (id)initWithFrame:(struct CGRect)arg1;
  362. - (void)_initializeMarks;
  363. - (void)_resetOriginalMarkLocations;
  364. @property(nonatomic) BOOL selected; // @dynamic selected;
  365. @property(readonly, nonatomic) float radius; // @dynamic radius;
  366. - (void)_resetHoverCircleShadow;
  367. - (void)_setHoverCursorShadow:(id)arg1;
  368.  
  369. @end
  370.  
  371. @interface HNDHandManager : NSObject <HNDEventMatchedRealEventProtocol>
  372. {
  373.     HNDDisplayManager *_displayManager;
  374.     HNDEventManager *_eventManager;
  375.     int _orientation;
  376.     BOOL _firstButtonDown;
  377.     BOOL _secondButtonDown;
  378.     struct CGPoint _currentLocation;
  379.     NSMutableArray *_recordedFingers;
  380.     int _fingerRecordCount;
  381.     NSArray *_savedGestures;
  382.     struct CGPoint _pinchAdjustLocation;
  383.     BOOL _isMultiFinger;
  384.     BOOL _isRecording;
  385.     BOOL _finishedRecording;
  386.     BOOL _isInternal;
  387.     float _touchSpeed;
  388.     int _thirdButtonMeaning;
  389.     BOOL _openMenuWithSwaggle;
  390.     BOOL _hardwareEnabled;
  391.     BOOL _alwaysShowMenu;
  392.     NSArray *_customGestures;
  393.     HNDCustomGesture *_currentCustomGesture;
  394.     BOOL _performingGesture;
  395.     AXTimer *_fingerDownTimer;
  396.     BOOL _fingerDownLock;
  397.     BOOL _fingerDownLockSawFirstUp;
  398.     BOOL _adjustingPinch;
  399.     BOOL _inMultiFingerGesture;
  400.     BOOL _resettingPinch;
  401.     HNDView *_realSelectedPinchFinger;
  402.     struct CGPoint _realPinchFingerStartPoint;
  403.     NSMutableDictionary *_avPlayers;
  404. }
  405.  
  406. + (id)sharedManager;
  407. + (void)initialize;
  408. @property(retain, nonatomic) NSArray *customGestures; // @synthesize customGestures=_customGestures;
  409. @property(nonatomic) BOOL openMenuWithSwaggle; // @synthesize openMenuWithSwaggle=_openMenuWithSwaggle;
  410. @property(nonatomic) float touchSpeed; // @synthesize touchSpeed=_touchSpeed;
  411. @property(nonatomic) BOOL hardwareEnabled; // @synthesize hardwareEnabled=_hardwareEnabled;
  412. @property(nonatomic) BOOL alwaysShowMenu; // @synthesize alwaysShowMenu=_alwaysShowMenu;
  413. - (void)showMenu:(BOOL)arg1;
  414. - (struct CGPoint)rotateEventFromOrientation:(struct CGPoint)arg1;
  415. - (void)volumeChanged;
  416. @property(readonly, nonatomic) BOOL isVoiceControlRunning; // @dynamic isVoiceControlRunning;
  417. @property(readonly, nonatomic) float volumeLevel; // @dynamic volumeLevel;
  418. - (void)rotateEventToOrientation:(id)arg1;
  419. - (void)thirdButtonPress:(int)arg1;
  420. - (void)secondButtonPress:(int)arg1;
  421. - (BOOL)canShowFingers;
  422. - (void)menuExited;
  423. - (void)performTap:(int)arg1 points:(struct CGPoint)arg2;
  424. - (void)notifyUserEventOccurred;
  425. - (void)startPinchModeWithPoint:(struct CGPoint)arg1;
  426. - (void)handleMultiTouchStandard:(int)arg1 withPoint:(struct CGPoint)arg2;
  427. - (void)exitedSaveState;
  428. - (void)_updateSavedGestures;
  429. - (void)firstButtonPress:(int)arg1;
  430. - (void)_startFingerDownTimer;
  431. - (id)_avPlayerForSound:(id)arg1;
  432. - (void)_setFingerDownLockEnabled:(BOOL)arg1;
  433. - (BOOL)inCustomGesture;
  434. - (void)hoverMoved:(struct CGPoint)arg1;
  435. - (void)_menuOpenTracker:(struct CGPoint)arg1;
  436. - (void)setNubbitMoving:(BOOL)arg1;
  437. - (void)setOverrideSystemGestures:(BOOL)arg1;
  438. - (void)setCaptureEvents:(BOOL)arg1;
  439. - (void)_resetMenuOpenTracker;
  440. - (void)prepareCustomGesture:(id)arg1;
  441. - (BOOL)incomingEventMatchesEvent:(struct CGPoint)arg1;
  442. - (BOOL)isCapturingRealEvents;
  443. - (void)performCustomGesture:(id)arg1;
  444. @property(readonly, nonatomic) float touchSpeedMultiplier; // @dynamic touchSpeedMultiplier;
  445. - (void)settingsChanged;
  446. - (void)_handlePinchAdjust:(struct CGPoint)arg1;
  447. - (void)_handleRealPinchAdjust:(struct CGPoint)arg1 startPoint:(struct CGPoint)arg2;
  448. - (void)_resetPinchAdjust;
  449. - (void)orientationChanged;
  450. - (int)deviceOrientation;
  451. - (BOOL)inPinchMode;
  452. - (BOOL)inRockerMode;
  453. - (BOOL)inMultFingerMode;
  454. - (void)performHardwareButton:(int)arg1 state:(int)arg2;
  455. - (void)systemServerDied;
  456. - (void)substantialTransitonOccurred;
  457. - (void)ringerSwitchChanged;
  458. - (void)handleRealEvent:(struct __GSEvent *)arg1;
  459. - (BOOL)usingSpecialTool;
  460. - (void)specialToolUsageEnded;
  461. - (BOOL)_shouldHandleRealEventWithMultiTouchTool;
  462. - (void)_handleMultiTouchToolEvent:(struct __GSEvent *)arg1;
  463. - (void)_handleRealCustomGestureUp:(struct CGPoint)arg1;
  464. - (void)_handleRealMultiFingerUp:(struct CGPoint)arg1;
  465. - (void)_handleRealCustomGestureMove:(struct CGPoint)arg1;
  466. - (void)_handleRealCustomGestureDown:(struct CGPoint)arg1;
  467. - (void)_handleRealMultiFingerDown:(struct CGPoint)arg1;
  468. - (void)_handleRealMultiFingerMove:(struct CGPoint)arg1;
  469. - (void)_handleRealPinchToolMove:(struct CGPoint)arg1;
  470. - (void)_handleRealPinchToolUp:(struct CGPoint)arg1;
  471. - (void)resetPinch;
  472. - (void)_handleRealPinchToolDown:(struct CGPoint)arg1;
  473. - (void)_movePinchToolToPoint:(struct CGPoint)arg1;
  474. - (void)moveFingersToPointInFingerCoordinateSpace:(struct CGPoint)arg1 allowOutOfBounds:(BOOL)arg2;
  475. - (void)_moveFingersToPoint:(struct CGPoint)arg1;
  476. - (void)keyboardVisible:(BOOL)arg1 withFrame:(struct CGRect)arg2;
  477. - (void)systemServerConnected;
  478. - (void)dealloc;
  479. - (id)init;
  480.  
  481. @end
  482.  
  483. @interface HNDDevice : NSObject
  484. {
  485.     struct __IOHIDDevice *_hidDevice;
  486.     id <HNDDeviceDelegate> _delegate;
  487.     char *_hidReportBuffer;
  488.     BOOL _isLoaded;
  489.     BOOL _secondaryButton;
  490.     BOOL _tertiaryButton;
  491.     BOOL _wheel;
  492.     float _minY;
  493.     float _maxY;
  494.     float _minX;
  495.     float _maxX;
  496. }
  497.  
  498. + (id)createNewDevice:(struct __IOHIDDevice *)arg1;
  499. @property(readonly, nonatomic) BOOL wheel; // @synthesize wheel=_wheel;
  500. @property(readonly, nonatomic) BOOL tertiaryButton; // @synthesize tertiaryButton=_tertiaryButton;
  501. @property(readonly, nonatomic) BOOL secondaryButton; // @synthesize secondaryButton=_secondaryButton;
  502. @property(nonatomic) id <HNDDeviceDelegate> delegate; // @synthesize delegate=_delegate;
  503. @property(readonly, nonatomic) BOOL isLoaded; // @synthesize isLoaded=_isLoaded;
  504. - (void)unload;
  505. - (BOOL)load;
  506. - (void)handleValueCallback:(struct __IOHIDValue *)arg1;
  507. - (void)handleReportCallback:(int)arg1 report:(char *)arg2 reportLength:(long)arg3;
  508. - (void)dealloc;
  509. - (id)_initWithHIDDevice:(struct __IOHIDDevice *)arg1;
  510.  
  511. @end
  512.  
  513. @interface HNDEvent : NSObject
  514. {
  515.     int _type;
  516.     struct CGPoint _location;
  517.     float _deltaX;
  518.     float _deltaY;
  519. }
  520.  
  521. @property(nonatomic) float deltaY; // @synthesize deltaY=_deltaY;
  522. @property(nonatomic) float deltaX; // @synthesize deltaX=_deltaX;
  523. @property(nonatomic) struct CGPoint location; // @synthesize location=_location;
  524. @property(nonatomic) int type; // @synthesize type=_type;
  525. - (id)description;
  526.  
  527. @end
  528.  
  529. @interface HNDEventMatchPair : NSObject
  530. {
  531.     struct CGPoint point;
  532.     double time;
  533. }
  534.  
  535. @property(nonatomic) double time; // @synthesize time;
  536. @property(nonatomic) struct CGPoint point; // @synthesize point;
  537.  
  538. @end
  539.  
  540. @interface HNDEventManager : NSObject <HNDEventMatchedRealEventProtocol>
  541. {
  542.     struct __CFMachPort *_systemPort;
  543.     SCRCThread *_eventDispatchThread;
  544.     NSMutableArray *_eventsToDispatch;
  545.     NSMutableArray *_eventsToMatch;
  546.     struct __CFRunLoopSource *_source;
  547.     struct __CFRunLoop *_runLoop;
  548.     NSLock *_eventLock;
  549.     NSLock *_eventMatchLock;
  550.     BOOL _isCapturingEvents;
  551. }
  552.  
  553. + (id)sharedManager;
  554. + (void)initialize;
  555. - (void)performHardwareButton:(int)arg1 state:(int)arg2;
  556. - (void)notifyUserEventOccurred;
  557. - (void)performCancel;
  558. - (void)performUpWithFingers:(id)arg1;
  559. - (void)setAllowUpEventsToPassthrough:(BOOL)arg1;
  560. - (void)performMoveWithFingers:(id)arg1;
  561. - (void)performDownWithFingers:(id)arg1;
  562. - (void)openCreateCustomGesture;
  563. - (BOOL)orientationLocked;
  564. - (BOOL)sideSwitchUsedForOrientation;
  565. - (void)_sendHandEvent:(int)arg1 location:(id)arg2;
  566. - (void)_sendDeviceOrientationChange:(int)arg1;
  567. - (void)_sendButtonEvent:(int)arg1;
  568. - (void)_sendGSEvent:(CDStruct_cee7353d *)arg1;
  569. - (void)_initializeSystemWideServerPort;
  570. - (void)setOverrideSystemGestures:(BOOL)arg1;
  571. - (void)setCaptureEvents:(BOOL)arg1;
  572. - (void)wakeDeviceFromSleepIfNecessary;
  573. - (void)setMenuVisible:(BOOL)arg1;
  574. - (BOOL)isVoiceControlRunning;
  575. - (float)volumeLevel;
  576. - (void)setNubbitMoving:(BOOL)arg1;
  577. - (void)_initializeASTNotificationCenter;
  578. - (void)keyboardStatusChanged:(id)arg1 userInfo:(id)arg2;
  579. - (void)_initializeClientPort;
  580. - (void)receivedGSEventFromTap:(id)arg1;
  581. - (void)ringerSwitchChanged;
  582. - (void)substationalTransitionOccurred;
  583. - (void)_restartConnectionToSystemServer;
  584. - (unsigned int)_portForPosition:(struct CGPoint)arg1;
  585. - (int)deviceOrientation;
  586. - (void)_startThread;
  587. - (void)_processQueue;
  588. - (BOOL)incomingEventMatchesEvent:(struct CGPoint)arg1;
  589. - (id)init;
  590.  
  591. @end
  592.  
  593. @interface HNDMultiFinger : UIView
  594. {
  595.     BOOL _recorded;
  596.     BOOL _finalized;
  597.     BOOL _imploded;
  598. }
  599.  
  600. - (void)drawRect:(struct CGRect)arg1;
  601. - (void)_drawCircle:(struct CGPoint)arg1 radius:(float)arg2 color:(id)arg3;
  602. - (void)setRecorded:(BOOL)arg1;
  603. - (void)explode;
  604. - (void)implode;
  605. - (void)setFinalized:(BOOL)arg1;
  606. - (id)initWithFrame:(struct CGRect)arg1;
  607.  
  608. @end
  609.  
  610. @interface HNDDefaults : NSObject
  611. {
  612. }
  613.  
  614. + (id)sharedDefaults;
  615. + (void)initialize;
  616. - (void)setPreference:(id)arg1 forKey:(id)arg2;
  617. - (id)preferenceForKey:(id)arg1;
  618.  
  619. @end
  620.  
  621. @interface AXTimer : NSObject
  622. {
  623.     struct dispatch_source_s *_dispatchTimer;
  624.     BOOL _isCancelled;
  625. }
  626.  
  627. - (void)cancel;
  628. - (void)invalidate;
  629. - (void)reallyInvalidate;
  630. - (void)reallyCancel;
  631. - (void)afterDelay:(double)arg1 processBlock:(id)arg2 cancelBlock:(void)arg3;
  632. - (void)afterDelay:(double)arg1 processBlock:(id)arg2;
  633. - (BOOL)isPending;
  634. - (void)dealloc;
  635.  
  636. @end
  637.  
  638. @interface HNDRocker : HNDView
  639. {
  640.     int _state;
  641.     NSMutableArray *_rockerItems;
  642.     HNDRockerButton *_selectedButton;
  643.     HNDRockerButton *_backButton;
  644.     int _selectedButtonIndex;
  645.     int _backgroundType;
  646.     HNDFingerView *_middleCircle;
  647.     struct CGPoint _initialPoint;
  648.     BOOL _isFullMenuVisible;
  649.     BOOL _isNubbitVisible;
  650.     BOOL _useCircle;
  651.     float _progress;
  652.     BOOL _sentRockers;
  653.     BOOL _linkRunning;
  654.     CADisplayLink *_rockerLink;
  655.     double _startInterval;
  656.     AXTimer *_homeButtonDismissTimer;
  657.     UIImageView *_background;
  658.     int _style;
  659.     BOOL _nubbitDimmed;
  660.     AXTimer *_nubbitFadeTimer;
  661.     UIImageView *_nubbitForeground;
  662.     BOOL _animatingNubbit;
  663.     AXTimer *_volumeHideTimer;
  664.     AXTimer *_volumeUpdateTimer;
  665.     HNDVolumeBar *_volumeBar;
  666.     int _nubbitPosition;
  667. }
  668.  
  669. + (struct CGSize)nubbitSize;
  670. + (struct CGSize)initialRockerSize;
  671. @property(nonatomic) int nubbitPosition; // @synthesize nubbitPosition=_nubbitPosition;
  672. @property(nonatomic) int style; // @synthesize style=_style;
  673. - (void)setNubbitVisible:(BOOL)arg1;
  674. - (void)transitionNubbitToMenu:(struct CGPoint)arg1 animationCompleted:(id)arg2;
  675. - (void)transitionMenuToNubbit:(struct CGPoint)arg1 changeAlpha:(BOOL)arg2 animate:(BOOL)arg3;
  676. - (void)highlightNubbit;
  677. - (void)fadeNubbit;
  678. - (void)_resetVisibility:(BOOL)arg1;
  679. - (void)_initializeNubbit;
  680. - (void)setFullMenuVisible:(BOOL)arg1 atPoint:(struct CGPoint)arg2;
  681. - (BOOL)isFullMenuVisible;
  682. - (struct CGPoint)onScreenLocation;
  683. - (void)_homeButton:(BOOL)arg1;
  684. - (void)_handleRotate:(int)arg1;
  685. - (void)_orientationPressed;
  686. - (void)_shakePressed;
  687. - (void)_ringerPressed;
  688. - (void)_volumeDown:(BOOL)arg1;
  689. - (void)_volumeUp:(BOOL)arg1;
  690. - (void)_updateVolumeDisplay;
  691. - (void)_lockButton:(BOOL)arg1;
  692. - (void)_hardwareButtonPressed;
  693. - (void)_handleTouch:(int)arg1;
  694. - (void)_pinchPressed;
  695. - (void)_gesturesPressed;
  696. - (void)_favoritesPressed;
  697. - (void)_loadMenuItems:(BOOL)arg1;
  698. - (void)_resetHoverCircleLocation;
  699. - (void)setUseCircleMode:(BOOL)arg1;
  700. - (void)_layoutMenuItems:(BOOL)arg1;
  701. - (void)_setBackgroundWithType:(int)arg1;
  702. - (void)_layoutFourRockers;
  703. - (void)_layoutRotationRockers;
  704. - (void)_layoutArbitraryRockers;
  705. - (void)_layoutFiveOrSixRockers;
  706. - (void)_layoutEightRockers;
  707. - (void)_layoutBackButton;
  708. - (struct CGPath *)_pieSlice:(int)arg1 withSlices:(int)arg2;
  709. - (void)_resetRockerButtons;
  710. - (void)_layoutButton:(id)arg1 withPoint:(struct CGPoint)arg2;
  711. - (void)_loadFavoritesMenuItems;
  712. - (void)_swipePressed;
  713. - (void)_addFavoriteBoxPressed;
  714. - (void)_customGesturePressed:(id)arg1;
  715. - (void)_loadHardwareMenuItems;
  716. - (void)updateRingerSwitch;
  717. - (void)_loadRotateMenuItems;
  718. - (void)_loadGesturesMenuItems;
  719. - (void)_loadInitialMenuItems;
  720. - (void)cleanup;
  721. - (void)handleRealUpEvent:(struct CGPoint)arg1;
  722. - (BOOL)isAnimatingNubbit;
  723. - (void)handleRealDownEvent:(struct CGPoint)arg1;
  724. - (void)performPress:(int)arg1 type:(int)arg2;
  725. - (void)_goBackInMenuState:(int)arg1;
  726. - (void)showVolumeBar:(BOOL)arg1 withProgress:(float)arg2;
  727. - (void)volumeChanged;
  728. - (void)modalizeMenu:(BOOL)arg1 modalButton:(id)arg2;
  729. - (void)implodeDisplayLinkFired:(id)arg1;
  730. - (BOOL)hoveredTo:(struct CGPoint)arg1;
  731. - (void)_updateSelectedButton;
  732. - (id)_rockerHitTest:(struct CGPoint)arg1;
  733. - (BOOL)_angleIndicatesReturnToCenter:(float)arg1;
  734. - (void)_highlightRockerButtonAtAngle:(float)arg1;
  735. - (int)_indexForAngle:(float)arg1;
  736. - (void)dealloc;
  737. - (void)_updateProgress:(id)arg1;
  738. - (id)rockerButtons;
  739. - (void)showMiddleCircle:(BOOL)arg1;
  740. - (id)initWithFrame:(struct CGRect)arg1;
  741.  
  742. @end
  743.  
  744. @interface HNDRockerButton : HNDView
  745. {
  746.     id _downBlock;
  747.     id _upBlock;
  748.     NSString *_title;
  749.     BOOL _selected;
  750.     BOOL _highlighted;
  751.     UILabel *_label;
  752.     NSString *_imageName;
  753.     UIImageView *_imageView;
  754.     BOOL _isEmptyFavorite;
  755.     BOOL _customTitle;
  756.     BOOL _isBackButton;
  757.     float _spacingBetweenText;
  758.     const struct CGPath *hitPath;
  759.     BOOL isEmptyFavorite;
  760.     BOOL customTitle;
  761.     BOOL isModalDown;
  762.     float spacingBetweenText;
  763. }
  764.  
  765. + (id)buttonWithTitle:(id)arg1 imageName:(id)arg2 downBlock:(id)arg3 upBlock:(void)arg4;
  766. @property(nonatomic) BOOL isBackButton; // @synthesize isBackButton=_isBackButton;
  767. @property(nonatomic) float spacingBetweenText; // @synthesize spacingBetweenText;
  768. @property(nonatomic) BOOL isModalDown; // @synthesize isModalDown;
  769. @property(nonatomic) BOOL customTitle; // @synthesize customTitle;
  770. @property(nonatomic) BOOL isEmptyFavorite; // @synthesize isEmptyFavorite;
  771. @property(retain, nonatomic) struct CGPath *hitPath; // @synthesize hitPath;
  772. @property(copy, nonatomic) id upBlock; // @synthesize upBlock=_upBlock;
  773. @property(copy, nonatomic) id downBlock; // @synthesize downBlock=_downBlock;
  774. @property(retain, nonatomic) NSString *title; // @synthesize title=_title;
  775. @property(nonatomic) BOOL highlighted; // @synthesize highlighted=_highlighted;
  776. @property(nonatomic) BOOL selected; // @synthesize selected=_selected;
  777. - (void)didMoveToSuperview;
  778. - (void)dealloc;
  779. - (void)layoutSubviews;
  780. - (void)_drawPixels;
  781. - (struct CGRect)adjustTextForActualFrame:(struct CGRect)arg1 withSuggestedFrame:(struct CGRect)arg2;
  782. - (void)updateTextColor;
  783. - (id)currentImage;
  784. - (BOOL)pointInside:(struct CGPoint)arg1 withEvent:(id)arg2;
  785. - (void)performPress:(BOOL)arg1;
  786. - (void)handleRealUpEvent:(struct CGPoint)arg1;
  787. - (void)handleRealCancelEvent:(struct CGPoint)arg1;
  788. - (void)handleFingerDriftedAway;
  789. - (void)handleRealDownEvent:(struct CGPoint)arg1;
  790. - (void)setImageName:(id)arg1;
  791. - (void)_updateImage;
  792. - (id)initWithImageName:(id)arg1;
  793.  
  794. @end
  795.  
  796. @interface HNDInnerCircleView : UIView
  797. {
  798. }
  799.  
  800. - (void)drawRect:(struct CGRect)arg1;
  801.  
  802. @end
  803.  
  804. @interface HNDHoverCursorCircle : UIView
  805. {
  806.     BOOL _fill;
  807.     BOOL _dashed;
  808.     BOOL _selected;
  809.     UIView *_innerCircle;
  810.     float _radiusMultiplier;
  811. }
  812.  
  813. @property(nonatomic) BOOL selected; // @synthesize selected=_selected;
  814. @property(nonatomic) BOOL dashed; // @synthesize dashed=_dashed;
  815. @property(nonatomic) BOOL fill; // @synthesize fill=_fill;
  816. @property(nonatomic) float radiusMultiplier; // @synthesize radiusMultiplier=_radiusMultiplier;
  817. - (void)drawRect:(struct CGRect)arg1;
  818. @property(readonly, nonatomic) float radius; // @dynamic radius;
  819. - (void)showInnerCircle:(BOOL)arg1;
  820. - (id)initWithFrame:(struct CGRect)arg1;
  821.  
  822. @end
  823.  
  824. @interface HNDPinchChainView : HNDView
  825. {
  826.     struct CGPoint _startPoint;
  827.     struct CGPoint _endPoint;
  828.     int pinchChainMode;
  829. }
  830.  
  831. @property(nonatomic) int pinchChainMode; // @synthesize pinchChainMode;
  832. @property(nonatomic) struct CGPoint endPoint; // @synthesize endPoint=_endPoint;
  833. @property(nonatomic) struct CGPoint startPoint; // @synthesize startPoint=_startPoint;
  834. - (void)drawRect:(struct CGRect)arg1;
  835. - (void)drawTails:(struct CGRect)arg1;
  836. - (struct CGPoint)midPoint;
  837. - (void)_drawTail:(struct CGPoint)arg1 rect:(struct CGRect)arg2 direction:(BOOL)arg3;
  838. - (BOOL)isUserInteractionEnabled;
  839. - (id)initWithFrame:(struct CGRect)arg1;
  840.  
  841. @end
  842.  
  843. @interface HNDView : UIView
  844. {
  845.     BOOL _active;
  846.     id <HNDViewDelegateControl> _controlDelegate;
  847. }
  848.  
  849. @property id <HNDViewDelegateControl> controlDelegate; // @synthesize controlDelegate=_controlDelegate;
  850. - (id)description;
  851. - (void)handleRealDownEvent:(struct CGPoint)arg1;
  852. - (void)handleRealMoveEvent:(struct CGPoint)arg1;
  853. - (void)handleRealUpEvent:(struct CGPoint)arg1;
  854. - (void)handleRealCancelEvent:(struct CGPoint)arg1;
  855. - (void)handleFingerDriftedAway;
  856. @property(nonatomic) BOOL isActive; // @dynamic isActive;
  857. - (BOOL)accessibilityElementsHidden;
  858.  
  859. @end
  860.  
  861. @interface HNDMouseDevice : HNDDevice
  862. {
  863. }
  864.  
  865. - (void)handleReportCallback:(int)arg1 report:(char *)arg2 reportLength:(long)arg3;
  866.  
  867. @end
  868.  
  869. @interface HNDJoystickDevice : HNDDevice
  870. {
  871.     AXTimer *_repeatTimer;
  872. }
  873.  
  874. - (void)handleReportCallback:(int)arg1 report:(char *)arg2 reportLength:(long)arg3;
  875. - (void)dealloc;
  876.  
  877. @end
  878.  
  879. @interface HNDGamePadDevice : HNDDevice
  880. {
  881. }
  882.  
  883. - (void)handleReportCallback:(int)arg1 report:(char *)arg2 reportLength:(long)arg3;
  884.  
  885. @end
  886.  
  887. @interface HNDCustomGesture : NSObject
  888. {
  889.     NSString *name;
  890.     NSArray *points;
  891.     NSArray *times;
  892. }
  893.  
  894. + (id)gestureWithDictionary:(id)arg1;
  895. @property(retain, nonatomic) NSArray *times; // @synthesize times;
  896. @property(retain, nonatomic) NSArray *points; // @synthesize points;
  897. @property(retain, nonatomic) NSString *name; // @synthesize name;
  898. - (id)_initWithDictionary:(id)arg1;
  899.  
  900. @end
  901.  
  902. @interface HNDVolumeBar : HNDView
  903. {
  904.     float _progress;
  905. }
  906.  
  907. @property(nonatomic) float progress; // @synthesize progress=_progress;
  908. - (void)drawRect:(struct CGRect)arg1;
  909. - (id)initWithFrame:(struct CGRect)arg1;
  910.  
  911. @end
  912.  
  913. @interface UIView (HNDView)
  914. - (id)_axSubviews;
  915. - (void)_axPrintSubviews:(int)arg1 string:(id)arg2;
  916. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement