Created
October 7, 2012 19:02
-
-
Save patrickkettner/3849247 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Generated by class-dump 3.3.4 (64 bit). | |
* | |
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. | |
*/ | |
#pragma mark Named Structures | |
struct MusicControlDelegate { | |
void **_field1; | |
}; | |
struct NpapiBrowserHost; | |
struct OneShotManager { | |
struct mutex _field1; | |
struct map<void *, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*, std::less<void *>, std::allocator<std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>>> _field2; | |
void *_field3; | |
unsigned int _field4; | |
}; | |
struct PluginEventMac; | |
struct PluginEventSource; | |
struct PluginWindowMac { | |
void **_field1; | |
struct weak_ptr<FB::PluginEventSource> _field2; | |
struct list<boost::weak_ptr<FB::PluginEventSink>, std::allocator<boost::weak_ptr<FB::PluginEventSink>>> _field3; | |
struct recursive_mutex _field4; | |
struct shared_ptr<FB::Npapi::NpapiBrowserHost> _field5; | |
struct weak_ptr<FB::PluginEventMac> _field6; | |
int _field7; | |
int _field8; | |
unsigned int _field9; | |
unsigned int _field10; | |
int _field11; | |
int _field12; | |
int _field13; | |
int _field14; | |
void *_field15; | |
void *_field16; | |
_Bool _field17; | |
}; | |
struct ProcessSerialNumber { | |
unsigned int _field1; | |
unsigned int _field2; | |
}; | |
struct _List_impl { | |
struct _List_node_base _field1; | |
}; | |
struct _List_node_base { | |
struct _List_node_base *_field1; | |
struct _List_node_base *_field2; | |
}; | |
struct _Rb_tree<void *, std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>, std::_Select1st<std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>>, std::less<void *>, std::allocator<std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>>> { | |
struct _Rb_tree_impl<std::less<void *>, false> _field1; | |
}; | |
struct _Rb_tree_impl<std::less<void *>, false> { | |
struct less<void *> _field1; | |
struct _Rb_tree_node_base _field2; | |
unsigned long long _field3; | |
}; | |
struct _Rb_tree_node_base { | |
int _field1; | |
struct _Rb_tree_node_base *_field2; | |
struct _Rb_tree_node_base *_field3; | |
struct _Rb_tree_node_base *_field4; | |
}; | |
struct _opaque_pthread_mutex_t { | |
long long _field1; | |
char _field2[56]; | |
}; | |
struct less<void *>; | |
struct list<boost::weak_ptr<FB::PluginEventSink>, std::allocator<boost::weak_ptr<FB::PluginEventSink>>> { | |
struct _List_impl _field1; | |
}; | |
struct map<void *, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*, std::less<void *>, std::allocator<std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>>> { | |
struct _Rb_tree<void *, std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>, std::_Select1st<std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>>, std::less<void *>, std::allocator<std::pair<void *const, std::deque<std::pair<void *, void (*)(void *)>, std::allocator<std::pair<void *, void (*)(void *)>>>*>>> _field1; | |
}; | |
struct mutex { | |
struct _opaque_pthread_mutex_t _field1; | |
}; | |
struct recursive_mutex { | |
struct _opaque_pthread_mutex_t _field1; | |
struct _opaque_pthread_cond_t { | |
long long _field1; | |
char _field2[40]; | |
} _field2; | |
_Bool _field3; | |
struct _opaque_pthread_t *_field4; | |
unsigned int _field5; | |
}; | |
struct shared_count { | |
struct sp_counted_base *_field1; | |
}; | |
struct shared_ptr<FB::Npapi::NpapiBrowserHost> { | |
struct NpapiBrowserHost *_field1; | |
struct shared_count _field2; | |
}; | |
struct sp_counted_base; | |
struct weak_count { | |
struct sp_counted_base *_field1; | |
}; | |
struct weak_ptr<FB::PluginEventMac> { | |
struct PluginEventMac *_field1; | |
struct weak_count _field2; | |
}; | |
struct weak_ptr<FB::PluginEventSource> { | |
struct PluginEventSource *_field1; | |
struct weak_count _field2; | |
}; | |
#pragma mark - | |
/* | |
* File: /Users/pdk/Library/Application Support/Google/Chrome Canary/Default/Extensions/icckhjgjjompfgoiidainoapgjepncej/1.65_0/UnityControlPlugin.plugin/Contents/MacOS/UnityControlPlugin | |
* UUID: BCABD1A7-B2CE-307F-81A2-869DDCECDDB1 | |
* Arch: Intel x86-64 (x86_64) | |
* Minimum Mac OS X version: 10.7.0 | |
* | |
* Objective-C Garbage Collection: Unsupported | |
*/ | |
@protocol NSNetServiceDelegate <NSObject> | |
@optional | |
- (void)netService:(id)arg1 didUpdateTXTRecordData:(id)arg2; | |
- (void)netServiceDidStop:(id)arg1; | |
- (void)netService:(id)arg1 didNotResolve:(id)arg2; | |
- (void)netServiceDidResolveAddress:(id)arg1; | |
- (void)netServiceWillResolve:(id)arg1; | |
- (void)netService:(id)arg1 didNotPublish:(id)arg2; | |
- (void)netServiceDidPublish:(id)arg1; | |
- (void)netServiceWillPublish:(id)arg1; | |
@end | |
@protocol NSObject | |
- (id)description; | |
- (unsigned long long)retainCount; | |
- (id)autorelease; | |
- (oneway void)release; | |
- (id)retain; | |
- (BOOL)respondsToSelector:(SEL)arg1; | |
- (BOOL)conformsToProtocol:(id)arg1; | |
- (BOOL)isMemberOfClass:(Class)arg1; | |
- (BOOL)isKindOfClass:(Class)arg1; | |
- (BOOL)isProxy; | |
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3; | |
- (id)performSelector:(SEL)arg1 withObject:(id)arg2; | |
- (id)performSelector:(SEL)arg1; | |
- (struct _NSZone *)zone; | |
- (id)self; | |
- (Class)class; | |
- (Class)superclass; | |
- (unsigned long long)hash; | |
- (BOOL)isEqual:(id)arg1; | |
@end | |
@protocol NSStreamDelegate <NSObject> | |
@optional | |
- (void)stream:(id)arg1 handleEvent:(unsigned long long)arg2; | |
@end | |
@protocol RemoteMusicDelegate | |
- (void)getState; | |
- (void)playPause; | |
- (void)previous; | |
- (void)next; | |
@end | |
// Not exported | |
@interface AppleRemoteDelegate : NSObject | |
{ | |
struct MusicControlDelegate *controlsDelegate; | |
VolumeController *volumeController; | |
} | |
- (void)setDelegate:(id)arg1; | |
- (void)sendRemoteButtonEvent:(int)arg1 pressedDown:(BOOL)arg2 remoteControl:(id)arg3; | |
@end | |
// Not exported | |
@interface MediaKeyListenerInner : NSObject | |
{ | |
SPMediaKeyTap *keyTap; | |
struct MusicControlDelegate *delegate; | |
} | |
- (void)mediaKeyTap:(id)arg1 receivedMediaKeyEvent:(id)arg2; | |
- (void)setDelegate:(id)arg1; | |
- (void)requestFocus; | |
- (void)destroy; | |
- (id)init; | |
@end | |
// Not exported | |
@interface MyDelegate : NSObject <RemoteMusicDelegate> | |
{ | |
struct MusicControlDelegate *del; | |
} | |
- (void)setDelegate:(id)arg1; | |
- (void)getState; | |
- (void)playPause; | |
- (void)previous; | |
- (void)next; | |
@end | |
// Not exported | |
@interface AppleRemote : HIDRemoteControlDevice | |
{ | |
BOOL lastSecureEventInputState; | |
unsigned int eventSecureInputNotification; | |
struct IONotificationPort *notifyPort; | |
} | |
+ (unsigned int)findRemoteDevice; | |
+ (const char *)remoteControlDeviceName; | |
- (void)dealWithSecureEventInputChange; | |
- (BOOL)retrieveSecureEventInputState; | |
- (void)sendRemoteButtonEvent:(int)arg1 pressedDown:(BOOL)arg2; | |
- (void)setCookieMappingInDictionary:(id)arg1; | |
- (void)finalize; | |
- (void)dealloc; | |
- (id)initWithDelegate:(id)arg1; | |
@end | |
// Not exported | |
@interface HIDRemoteControlDevice : RemoteControl | |
{ | |
struct IOHIDDeviceInterface **hidDeviceInterface; | |
struct IOHIDQueueInterface **queue; | |
NSMutableArray *allCookies; | |
NSMutableDictionary *cookieToButtonMapping; | |
struct __CFRunLoopSource *eventSource; | |
BOOL openInExclusiveMode; | |
BOOL processesBacklog; | |
int supportedButtonEvents; | |
} | |
+ (unsigned int)findRemoteDevice; | |
+ (BOOL)isRemoteAvailable; | |
+ (const char *)remoteControlDeviceName; | |
- (void)stopListening:(id)arg1; | |
- (void)startListening:(id)arg1; | |
- (void)closeRemoteControlDevice:(BOOL)arg1; | |
- (void)openRemoteControlDevice; | |
- (void)setProcessesBacklog:(BOOL)arg1; | |
- (BOOL)processesBacklog; | |
- (void)setOpenInExclusiveMode:(BOOL)arg1; | |
- (BOOL)isOpenInExclusiveMode; | |
- (void)setListeningToRemote:(BOOL)arg1; | |
- (BOOL)isListeningToRemote; | |
- (BOOL)sendsEventForButtonIdentifier:(int)arg1; | |
- (int)remoteIdSwitchCookie; | |
- (void)setCookieMappingInDictionary:(id)arg1; | |
- (void)sendRemoteButtonEvent:(int)arg1 pressedDown:(BOOL)arg2; | |
- (void)dealloc; | |
- (id)initWithDelegate:(id)arg1; | |
- (void)remoteControlAvailable:(id)arg1; | |
- (void)removeNotifcationObserver; | |
- (void)handleEventWithCookieString:(id)arg1 sumOfValues:(int)arg2; | |
- (id)validCookieSubstring:(id)arg1; | |
- (id)cookieToButtonMapping; | |
- (struct IOHIDDeviceInterface **)hidDeviceInterface; | |
- (struct IOHIDQueueInterface **)queue; | |
- (BOOL)openDevice; | |
- (BOOL)initializeCookies; | |
- (struct IOHIDDeviceInterface **)createInterfaceForDevice:(unsigned int)arg1; | |
@end | |
// Not exported | |
@interface MultiClickRemoteBehavior : NSObject | |
{ | |
id delegate; | |
BOOL simulateHoldEvents; | |
BOOL lastEventSimulatedHold; | |
int lastHoldEvent; | |
double lastHoldEventTime; | |
unsigned int clickCountEnabledButtons; | |
double maxClickTimeDifference; | |
double lastClickCountEventTime; | |
int lastClickCountEvent; | |
unsigned int eventClickCount; | |
} | |
- (void)sendRemoteButtonEvent:(int)arg1 pressedDown:(BOOL)arg2 remoteControl:(id)arg3; | |
- (void)executeClickCountEvent:(id)arg1; | |
- (void)sendSimulatedHoldEvent:(id)arg1; | |
- (void)sendPressedDownEventToMainThread:(id)arg1; | |
- (void)setMaximumClickCountTimeDifference:(double)arg1; | |
- (double)maximumClickCountTimeDifference; | |
- (void)setClickCountEnabledButtons:(unsigned int)arg1; | |
- (unsigned int)clickCountEnabledButtons; | |
- (void)setClickCountingEnabled:(BOOL)arg1; | |
- (BOOL)clickCountingEnabled; | |
- (BOOL)simulatesHoldForButtonIdentifier:(int)arg1 remoteControl:(id)arg2; | |
- (void)setSimulateHoldEvent:(BOOL)arg1; | |
- (BOOL)simulateHoldEvent; | |
- (id)delegate; | |
- (void)setDelegate:(id)arg1; | |
- (id)init; | |
@end | |
// Not exported | |
@interface SPInvocationGrabber : NSObject | |
{ | |
id _object; | |
NSInvocation *_invocation; | |
int frameCount; | |
char **frameStrings; | |
BOOL backgroundAfterForward; | |
BOOL onMainAfterForward; | |
BOOL waitUntilDone; | |
} | |
@property BOOL waitUntilDone; // @synthesize waitUntilDone; | |
@property BOOL onMainAfterForward; // @synthesize onMainAfterForward; | |
@property BOOL backgroundAfterForward; // @synthesize backgroundAfterForward; | |
@property(retain, nonatomic) id object; // @synthesize object=_object; | |
@property(retain, nonatomic) NSInvocation *invocation; // @synthesize invocation=_invocation; | |
- (void)printBacktrace; | |
- (void)saveBacktrace; | |
- (void)invoke; | |
- (id)methodSignatureForSelector:(SEL)arg1; | |
- (void)forwardInvocation:(id)arg1; | |
- (void)runInBackground; | |
- (void)dealloc; | |
- (id)initWithObject:(id)arg1 stacktraceSaving:(BOOL)arg2; | |
- (id)initWithObject:(id)arg1; | |
@end | |
// Not exported | |
@interface RemoteControl : NSObject | |
{ | |
id delegate; | |
} | |
+ (const char *)remoteControlDeviceName; | |
+ (void)sendRequestForRemoteControlNotification; | |
+ (void)sendFinishedNotifcationForAppIdentifier:(id)arg1; | |
+ (void)sendDistributedNotification:(id)arg1 targetBundleIdentifier:(id)arg2; | |
- (BOOL)sendsEventForButtonIdentifier:(int)arg1; | |
- (void)setOpenInExclusiveMode:(BOOL)arg1; | |
- (BOOL)isOpenInExclusiveMode; | |
- (void)stopListening:(id)arg1; | |
- (void)startListening:(id)arg1; | |
- (BOOL)isListeningToRemote; | |
- (void)setListeningToRemote:(BOOL)arg1; | |
- (id)delegate; | |
- (void)setDelegate:(id)arg1; | |
- (void)dealloc; | |
- (id)initWithDelegate:(id)arg1; | |
@end | |
// Not exported | |
@interface RemoteMusicControlsListener : NSObject <NSStreamDelegate, NSNetServiceDelegate> | |
{ | |
id <RemoteMusicDelegate> delegate; | |
NSFileHandle *socketHandle; | |
NSFileHandle *readHandle; | |
NSSocketPort *socketPort; | |
NSNetService *service; | |
int port; | |
NSInputStream *inputStream; | |
NSOutputStream *outputStream; | |
NSString *lastArtist; | |
NSString *lastTitle; | |
NSString *lastState; | |
NSString *lastArtUrl; | |
} | |
@property(retain) NSFileHandle *readHandle; // @synthesize readHandle; | |
@property(retain) NSFileHandle *socketHandle; // @synthesize socketHandle; | |
@property int port; // @synthesize port; | |
@property(retain) NSOutputStream *outputStream; // @synthesize outputStream; | |
@property(retain) NSInputStream *inputStream; // @synthesize inputStream; | |
@property(retain) NSNetService *service; // @synthesize service; | |
@property(retain) NSSocketPort *socketPort; // @synthesize socketPort; | |
- (void)sendKey:(id)arg1 value:(id)arg2; | |
- (void)sendArtist:(id)arg1 title:(id)arg2 state:(id)arg3 albumArt:(id)arg4; | |
- (void)readData:(id)arg1; | |
- (void)acceptConnection:(id)arg1; | |
- (void)handleError:(id)arg1 withService:(id)arg2; | |
- (void)netServiceDidStop:(id)arg1; | |
- (void)netService:(id)arg1 didNotPublish:(id)arg2; | |
- (void)netServiceDidPublish:(id)arg1; | |
- (void)setupStreams; | |
- (void)setupService; | |
- (void)setDelegate:(id)arg1; | |
- (id)init; | |
@end | |
// Not exported | |
@interface SPMediaKeyTap : NSObject | |
{ | |
struct OpaqueEventHandlerRef *_app_switching_ref; | |
struct OpaqueEventHandlerRef *_app_terminating_ref; | |
struct __CFMachPort *_eventPort; | |
struct __CFRunLoopSource *_eventPortSource; | |
struct __CFRunLoop *_tapThreadRL; | |
BOOL _shouldInterceptMediaKeyEvents; | |
id _delegate; | |
NSMutableArray *_mediaKeyAppList; | |
} | |
+ (id)defaultMediaKeyUserBundleIdentifiers; | |
+ (BOOL)usesGlobalMediaKeyTap; | |
- (void)appTerminated:(struct ProcessSerialNumber)arg1; | |
- (void)appIsNowFrontmost:(struct ProcessSerialNumber)arg1; | |
- (void)mediaKeyAppListChanged; | |
- (void)eventTapThread; | |
- (void)handleAndReleaseMediaKeyEvent:(id)arg1; | |
- (void)setShouldInterceptMediaKeyEvents:(BOOL)arg1; | |
- (void)pauseTapOnTapThread:(BOOL)arg1; | |
- (BOOL)shouldInterceptMediaKeyEvents; | |
- (void)stopWatchingMediaKeys; | |
- (void)startWatchingMediaKeys; | |
- (void)stopWatchingAppSwitching; | |
- (void)startWatchingAppSwitching; | |
- (void)dealloc; | |
- (id)initWithDelegate:(id)arg1; | |
@end | |
// Not exported | |
@interface VolumeController : NSObject | |
{ | |
} | |
- (void)down; | |
- (void)up; | |
- (float)volume; | |
- (void)setVolume:(float)arg1; | |
@end | |
// Not exported | |
@interface OneShotManagerHelper : NSObject | |
{ | |
struct OneShotManager *m_manager; | |
} | |
- (void)shoot:(id)arg1; | |
- (struct OneShotManager *)manager; | |
- (void)setManager:(struct OneShotManager *)arg1; | |
@end | |
// Not exported | |
@interface PluginWindowMac_helper : NSObject | |
{ | |
struct PluginWindowMac *m_ica; | |
} | |
- (void)fired:(id)arg1; | |
- (struct PluginWindowMac *)ica; | |
- (void)setIca:(struct PluginWindowMac *)arg1; | |
@end | |
@interface NSObject (SPInvocationGrabbing) | |
- (id)onMainAsync:(BOOL)arg1; | |
- (id)inBackground; | |
- (id)nextRunloop; | |
- (id)invokeAfter:(double)arg1; | |
- (id)grab; | |
@end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment