forked from opa334/AltList
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCoreServices.h
24 lines (21 loc) · 902 Bytes
/
CoreServices.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
@interface LSBundleProxy : NSObject
@property (nonatomic,readonly) NSString* bundleIdentifier;
@property (nonatomic,readonly) BOOL if_isSystem;
@end
@interface LSApplicationRecord : NSObject
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
@end
@interface LSApplicationProxy : LSBundleProxy
@property (nonatomic,readonly) NSString* localizedName;
@property (nonatomic,readonly) NSString* applicationType; // (User/System)
@property (nonatomic,readonly) NSArray* appTags; // 'hidden'
+ (instancetype)applicationProxyForIdentifier:(NSString*)identifier;
- (LSApplicationRecord*)correspondingApplicationRecord;
- (NSData*)iconDataForVariant:(int)variant withOptions:(int)options;
@end
@interface LSApplicationWorkspace : NSObject
+ (instancetype)defaultWorkspace;
- (NSArray<LSApplicationProxy*>*)allInstalledApplications;
- (void)addObserver:(id)arg1;
- (void)removeObserver:(id)arg1;
@end