-
Notifications
You must be signed in to change notification settings - Fork 7
/
breezy.h
242 lines (208 loc) · 9.72 KB
/
breezy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
typedef enum : NSUInteger {
KBBreezyFileTypeLocal,
KBBreezyFileTypeLink,
} KBBreezyFileType;
// Notification used to communicate with PineBoard for purposes of presenting and responding to UI Alerts
NSString *KBBreezyAirdropPresentAlert = @"KBBreezyAirdropPresentAlert";
// Notification objects used to determine context of KBBreezyAirdropPresentAlert
NSString *KBBreezyRequestPermission = @"KBBreezyRequestingPermission";
NSString *KBBreezyRespondToPermission = @"KBBreezyRespondingToPermission";
NSString *KBBreezyOpenAirDropFiles = @"KBBreezyOpenAirDropFiles";
// Notification userInfo keys
NSString *KBBreezyAuditToken = @"KBBreezyAuditToken";
NSString *KBBreezyAirdropTransferRecordID = @"KBBreezyAirdropTransferRecordID";
NSString *KBBreezyAlertTitle = @"KBBreezyAlertTitle";
NSString *KBBreezyAlertDetail = @"KBBreezyAlertDetail";
NSString *KBBreezyAlertPreviewImage = @"KBBreezyAlertPreviewImage";
NSString *KBBreezyButtonDefinitions = @"KBBreezyButtonDefinitions";
NSString *KBBreezyButtonTitle = @"KBBreezyButtonTitle";
NSString *KBBreezyButtonAction = @"KBBreezyButtonAction";
NSString *KBBreezyButtonActionAccept = @"KBBreezyButtonActionAccept";
NSString *KBBreezyButtonActionDeny = @"KBBreezyButtonActionDeny";
NSString *KBBreezyAlertSelectedAction = @"KBBreezyAlertSelectedAction";
NSString *KBBreezyAirdropCustomDestination = @"KBBreezyAirdropCustomDestination";
extern "C" NSString *UTTypeCopyDescription(NSString *);
extern "C" CFStringRef UTTypeCreatePreferredIdentifierForTag(CFStringRef inTagClass, CFStringRef inTag, CFStringRef inConformingToUTI);
extern "C" CFURLRef UTTypeCopyDeclaringBundleURL(NSString *);
extern "C" CFStringRef UTTypeCopyPreferredTagWithClass(CFStringRef inUTI,CFStringRef inTagClass);
extern const CFStringRef kUTTagClassFilenameExtension;
extern const CFStringRef kUTTagClassMIMEType;
@interface PBAppDelegate: NSObject
- (void)showSystemAlertFromAlert:(id)alert;
- (void)openItems:(NSArray *)items ofType:(KBBreezyFileType)fileType withApplication:(id)proxy;
- (NSURL *)inboxForIdentifier:(NSString *)identifier;
- (NSString *)importFile:(NSString *)inputFile withApp:(id)proxy;
- (void)setupPreferences;
- (id)breezyPreferences;
- (id)appMimicMap;
- (NSArray *)updatedApplicationsWithMimes:(NSArray *)original;
@end
extern id __LSGetInboxURLForAppIdentifier(id);
extern NSString * const FBSOpenApplicationOptionKeyDocumentOpen4LS; //@"__DocumentOpen4LS"
extern NSString * const FBSOpenApplicationOptionKeyActivateSuspended; //@"__ActivateSuspended"
extern NSString * const FBSOpenApplicationOptionKeyPayloadAnnotation; //@"__PayloadAnnotation"
extern NSString * const FBSOpenApplicationOptionKeyPayloadURL; //@"__PayloadURL"
extern NSString * const FBSOpenApplicationOptionKeyBrowserAppLinkState4LS;
extern NSString * const FBSOpenApplicationOptionKeyAppLink4LS;
extern NSString * const FBSOpenApplicationOptionKeyPayloadOptions; //@"__PayloadOptions"
@interface TVSPreferences: NSObject
+ (id)preferencesWithDomain:(NSString *)domain;
-(id)stringForKey:(id)arg1;
-(BOOL)boolForKey:(id)arg1;
-(BOOL)setFloat:(float)arg1 forKey:(id)arg2 ;
-(id)objectForKey:(id)arg1 ;
-(BOOL)synchronize;
//-(BOOL)setObject:(id)arg1 forKey:(id)arg2 ;
-(BOOL)boolForKey:(id)arg1 ;
-(id)stringForKey:(id)arg1 ;
-(BOOL)setBool:(BOOL)arg1 forKey:(id)arg2 ;
-(int)integerForKey:(id)arg1 ;
-(float)floatForKey:(id)arg1 ;
-(double)doubleForKey:(id)arg1 ;
-(BOOL)setDouble:(double)arg1 forKey:(id)arg2 ;
-(BOOL)setInteger:(int)arg1 forKey:(id)arg2 ;
-(double)doubleForKey:(id)arg1 defaultValue:(double)arg2 ;
-(int)integerForKey:(id)arg1 defaultValue:(int)arg2 ;
-(BOOL)boolForKey:(id)arg1 defaultValue:(BOOL)arg2 ;
-(float)floatForKey:(id)arg1 defaultValue:(float)arg2 ;
@end
@interface LSBundleProxy: NSObject
-(NSString *)bundleIdentifier;
@end
@interface LSApplicationProxy: LSBundleProxy
+(id)applicationProxyForIdentifier:(id)arg1;
-(BOOL)isContainerized;
-(NSURL *)dataContainerURL;
-(NSURL *)resourcesDirectoryURL;
@end
@interface PBDialogContext : NSObject
@property (nonatomic,readonly) id provider; //@synthesize provider=_provider - In the implementation block
@property (nonatomic,readonly) NSString * identifier; //@synthesize identifier=_identifier - In the implementation block
+(id)contextWithViewController:(id)arg1 ;
+(id)contextWithViewService:(id)arg1 ;
+(id)contextWithViewServiceName:(id)arg1 className:(id)arg2 ;
-(void)_invalidate;
-(NSString *)identifier;
-(id)provider;
-(id)initWithIdentifier:(id)arg1 provider:(id)arg2 ;
@end
@interface PBDialogManager : NSObject
+(id)sharedInstance;
-(NSMutableDictionary *)identifiersToContexts;
-(NSMutableArray *)hiddenDialogAssertions;
-(id)overlayController;
-(void)presentDialogWithContext:(id)arg1 options:(id)arg2 completion:(/*^block*/id)arg3 ;
-(void)dismissDialogWithContext:(id)arg1 options:(id)arg2 completion:(/*^block*/id)arg3 ;
-(BOOL)dismissActiveDialogAnimated:(BOOL)arg1 ;
-(void)dismissDialogWithContext:(id)arg1 options:(id)arg2 animated:(BOOL)arg3 completion:(/*^block*/id)arg4 ;
-(void)_setNotifyStateThatPineBoardIsShowingAnAlert:(BOOL)arg1 ;
-(BOOL)dismissActiveDialog;
@end
@interface PBContentPresentingContainmentViewController: UIViewController
@property (nonatomic,readonly) BOOL allowsInteraction;
@property (assign,nonatomic) BOOL acceptsEventFocus;
@property (nonatomic,readonly) UIViewController * childViewController;
@property (nonatomic,readonly) BOOL expectsEventForwarding;
@property (assign,nonatomic) id contentDelegate;
@property (getter=isInterruptible,nonatomic,readonly) BOOL interruptible;
-(id)initWithChildViewController:(id)arg1 allowsInteraction:(BOOL)arg2 expectsEventForwarding:(BOOL)arg3;
-(void)presentContentAnimated:(BOOL)arg1 clientOptions:(id)arg2 withCompletion:(id)arg3 ;
-(void)dismissContentAnimated:(BOOL)arg1 clientOptions:(id)arg2 withCompletion:(id)arg3 ;
@end
@interface LSApplicationWorkspace: NSObject
+(id)defaultWorkspace;
- (NSArray *)applicationsAvailableForHandlingURLScheme:(id)scheme;
- (NSArray *)applicationsAvailableForOpeningDocument:(id)documentProxy;
-(BOOL)openApplicationWithBundleID:(id)arg1;
-(id)operationToOpenResource:(id)arg1 usingApplication:(id)arg2 uniqueDocumentIdentifier:(id)arg3 isContentManaged:(BOOL)arg4 sourceAuditToken:(id)arg5 userInfo:(id)arg6 options:(id)arg7 delegate:(id)arg8;
-(BOOL)openURL:(id)arg1 withOptions:(id)arg2;
@end
@interface NSProgress (science)
- (BOOL)isFinished;
@end
@interface PBWindowManager: NSObject
+ (id)sharedInstance;
- (void)presentDialogViewController:(id)dialog;
- (void)dismissDialogViewController:(id)view;
@end
@interface PBUserNotificationViewControllerAlert: UIViewController
-(id)initWithTitle:(id)arg1 text:(id)arg2;
-(void)addButtonWithTitle:(id)arg1 type:(unsigned long long)arg2 handler:(void (^)(void))handler;
@property NSString *text;
@end
@interface LSDocumentProxy: NSObject
+(id)documentProxyForName:(id)arg1 type:(id)arg2 MIMEType:(id)arg3 ;
-(id)applicationsAvailableForOpeningWithTypeDeclarer:(BOOL)arg1 style:(unsigned char)arg2 XPCConnection:(id)arg3 error:(id*)arg4;
-(id)applicationsAvailableForOpeningWithStyle:(unsigned char)arg1 limit:(unsigned long long)arg2 XPCConnection:(id)arg3 error:(id*)arg4 ; //13.x
@end
@interface NSDistributedNotificationCenter : NSNotificationCenter
+ (id)defaultCenter;
- (void)postNotificationName:(id)arg1 object:(id)arg2 userInfo:(id)arg3;
@end
@interface SDAirDropHandlerGenericFiles: NSObject //its not but its fine.
- (id)initWithTransfer:(id)arg1 bundleIdentifier:(id)arg2;
- (void)activate;
@end
@interface SFAirDropTransfer: NSObject
-(NSProgress *)transferProgress;
-(id)metaData;
@end
@interface SFAirDropTransferMetaData : NSObject
-(NSArray *)rawFiles;
-(NSDictionary *)itemsDescriptionAdvanced;
@end
/*
`<NSMethodSignature: 0x282715280>
number of arguments = 2
frame size = 224
is special struct return? NO
return value: -------- -------- -------- --------
type encoding (v) 'v'
flags {}
modifiers {}
frame {offset = 0, offset adjust = 0, size = 0, size adjust = 0}
memory {offset = 0, size = 0}
argument 0: -------- -------- -------- --------
type encoding (@) '@?'
flags {isObject, isBlock}
modifiers {}
frame {offset = 0, offset adjust = 0, size = 8, size adjust = 0}
memory {offset = 0, size = 8}
argument 1: -------- -------- -------- --------
type encoding (@) '@"NSError"'
flags {isObject}
modifiers {}
frame {offset = 8, offset adjust = 0, size = 8, size adjust = 0}
memory {offset = 0, size = 8}
class 'NSError'
*/
@interface FBProcessManager : NSObject
- (void)_handleOpenApplicationRequest:(id)arg1 bundleID:(id)arg2 options:(id)arg3 withResult:(void(^)(NSError *error))arg4; //12.4 and lower
- (void)_openAppFromRequest:(id)arg1 bundleIdentifier:(id)arg2 URL:(id)arg3 completion:(void(^)(NSError *error))arg4; //13.2+
- (void)_openAppFromRequest:(id)arg1 bundleIdentifier:(id)arg2 URL:(id)arg3 withResult:(void(^)(NSError *error))arg4; //13.0 - ?
- (NSArray *)processesForBundleIdentifier:(NSString *)bundleId;
-(id)systemApplicationProcess; //FBApplicationProcess
+ (id)sharedInstance;
@end
@interface FBScene : NSObject
-(BOOL)_isInTransaction;
@end
@interface PBProcessManager : NSObject
+ (id)sharedInstance;
//12.4 only
@property(readonly, nonatomic) NSString *focusedProcessBundleIdentifier;
- (void)setFocusedProcess:(id)proc;
- (void)activateApplication:(id)arg1 openURL:(id)arg2 options:(id)arg3 suspended:(_Bool)arg4 completion:(id)arg5; // IMP=0x00000001000fb210
- (void)activateApplication:(id)arg1 openURL:(id)arg2 suspended:(_Bool)arg3 completion:(id)arg4;
- (id)_foregroundScene;
@end
@interface FBSOpenApplicationOptions: NSObject
+ (instancetype)optionsWithDictionary:(NSDictionary *)dictionary;
@end
@interface FBSystemServiceOpenApplicationRequest : NSObject
+ (id)request;
- (void)setClientProcess:(id)arg1;
- (void)setOptions:(id)arg1;
- (void)setTrusted:(bool)arg1;
- (void)setBundleIdentifier:(id)arg1;
@end