00001 //copyright 2009 aaronsmith 00002 00003 #import <Cocoa/Cocoa.h> 00004 #import "GDAccessibilityManager.h" 00005 #import "GDAccessibilityNotification.h" 00006 #import "GDAccessibilityObserver.h" 00007 00060 @interface GDAccessibilityObserver : NSObject { 00061 00065 pid_t app_pid; 00066 00070 id actionTarget; 00071 00075 SEL actionSelector; 00076 00080 AXObserverRef observer; 00081 00085 AXUIElementRef element; 00086 00091 NSInvocation * invoker; 00092 00096 NSMethodSignature * selectorSignature; 00097 00101 NSDictionary * userInfo; 00102 00106 NSString * notification; 00107 00111 GDAccessibilityManager * accessManager; 00112 00116 GDAccessibilityNotification * notify; 00117 } 00118 00128 - (id) initWithNotification:(NSString *) notification forAXUIElementRef:(AXUIElementRef) element callsAction:(SEL) action onTarget:(id) target withUserInfo:(NSDictionary *) userInpho; 00129 00135 - (NSInvocation *) invoker; 00136 00137 @end