This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Shortcuts.h
86 lines (68 loc) · 2.4 KB
/
Shortcuts.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
@interface LSBundleProxy
@property (nonatomic, readonly) NSURL *containerURL;
@end
@interface LSApplicationProxy : LSBundleProxy
+(LSApplicationProxy *)applicationProxyForIdentifier:(NSString *)bundleIdentifier;
@end
@interface WFGradient : NSObject
@end
@interface WFColor : NSObject
@property (nonatomic, readonly) UIColor *UIColor;
@property (nonatomic, readonly) NSString *hexValue;
@property (nonatomic, readonly) WFGradient *paletteGradient;
@end
@interface WFGradient (Base)
@property (nonatomic, readonly) WFColor *baseColor;
@end
@interface WFImage : NSObject
@property (nonatomic, readonly) UIImage *UIImage;
@end
@interface WFWorkflowIcon : NSObject
@property (nonatomic, readonly) WFColor *backgroundColor;
@end
@interface WFWorkflowIconDrawer : NSObject
+(UIImage *)glyphImageWithIcon:(WFWorkflowIcon *)icon size:(CGSize)size;
+(WFImage *)imageWithIcon:(WFWorkflowIcon *)icon size:(CGSize)size;
@end
@interface WFConcreteUIKitUserInterface : NSObject
-(id)initWithViewController:(UIViewController *)viewController;
@end
@interface RLMRealm : NSObject
+(RLMRealm *)defaultRealm;
@end
@interface RLMRealmConfiguration : NSObject
@property (nonatomic, assign) NSURL *fileURL;
@end
@interface WFRealmDatabaseConfiguration : NSObject
@property (nonatomic, assign) RLMRealmConfiguration *realmConfiguration;
+(WFRealmDatabaseConfiguration *)systemShortcutsConfiguration;
@end
@interface WFRealmDatabaseResult : NSObject
-(NSArray *)descriptors;
@end
@interface WFRealmDatabase : NSObject
-(WFRealmDatabaseResult *)sortedVisibleWorkflows;
-(id)initWithConfiguration:(id)config mainThreadOnly:(BOOL)main error:(NSError *)error;
@end
@interface WFDatabase : NSObject
+(WFDatabase *)defaultDatabase;
-(WFRealmDatabase *)backingStore;
-(id)initWithBackingStore:(WFRealmDatabase *)backingStore;
@end
@interface WFDatabaseObjectDescriptor : NSObject
@property (nonatomic, readonly) NSString *identifier;
@end
@interface WFWorkflowReference : WFDatabaseObjectDescriptor
@property (nonatomic, readonly) NSString *name;
@property (nonatomic, readonly) NSString *subtitle;
@property (nonatomic, readonly) WFWorkflowIcon *icon;
-(NSDictionary *)infoDictionary;
@end
@interface WFWorkflow : NSObject
+(WFWorkflow *)workflowWithReference:(id)reference storageProvider:(WFDatabase *)provider error:(NSError *)error;
@end
@interface WFWorkflowController : NSObject
@property (nonatomic, assign) WFWorkflow *workflow;
-(BOOL)isRunning;
-(void)run;
@end