]> git.cameronkatri.com Git - tweaks.git/blob - QuickActions/Tweak.h
QuickActions: Massive improvements
[tweaks.git] / QuickActions / Tweak.h
1 #import <Foundation/Foundation.h>
2 #import <UIKit/UIViewController.h>
3
4 @interface UIImage (Private)
5 + (instancetype)_applicationIconImageForBundleIdentifier:(NSString*)bundleIdentifier format:(int)format scale:(CGFloat)scale;
6 @end
7
8 @interface SBLeafIcon : NSObject
9 -(id)initWithLeafIdentifier:(id)arg1 applicationBundleID:(id)arg2 ;
10 @end
11
12 @interface SBMainWorkspace : NSObject
13 +(id)sharedInstance;
14 -(void)systemService:(id)arg1 handleOpenApplicationRequest:(id)arg2 withCompletion:(/*^block*/id)arg3;
15 @end
16
17 @interface FBProcess : NSObject
18 @end
19
20 @interface FBProcessManager : NSObject
21 @property (nonatomic,readonly) id systemApplicationProcess;
22 -(id)systemApplicationProcess;
23 +(id)sharedInstance;
24 @end
25
26 @interface FBSOpenApplicationOptions : NSObject
27 +(id)optionsWithDictionary:(id)arg1;
28 @end
29
30 @interface FBSystemServiceOpenApplicationRequest : NSObject
31 @property (assign,getter=isTrusted,nonatomic) BOOL trusted;
32 @property (nonatomic,copy) NSString * bundleIdentifier;
33 @property (nonatomic,copy) FBSOpenApplicationOptions * options;
34 @property (nonatomic,retain) FBProcess * clientProcess;
35 +(id)request;
36 @end
37
38 @interface CSQuickActionsButton : UIView {
39 UIImageView* _contentView;
40 id _legibilitySettings;
41 }
42 @property (assign,nonatomic) long long type;
43 @property (nonatomic,retain) id legibilitySettings;
44 @property (nonatomic,copy) NSString * backgroundEffectViewGroupName;
45 @property (assign,nonatomic) BOOL permitted;
46 -(id)legibilitySettings;
47 -(void)setBackgroundEffectViewGroupName:(NSString *)arg1;
48 -(id)initWithType:(long long)type;
49 -(void)setImage:(UIImage *)arg1;
50 -(void)setSelected:(BOOL)arg;
51 -(UIImage *)image;
52 -(UIImage *)selectedImage;
53 -(void)setEdgeInsets:(UIEdgeInsets)arg;
54
55 @property (nonatomic,retain) NSString * bundleID;
56 @end
57
58 @interface CSQuickActionsView : UIView
59 @property (nonatomic,retain) CSQuickActionsButton * flashlightButton;
60 @property (nonatomic,retain) CSQuickActionsButton * cameraButton;
61 @property (nonatomic,retain) NSObject * legibilitySettings;
62 -(id)_buttonGroupName;
63 -(id)initWithFrame:(CGRect)arg1 delegate:(id)arg2;
64 -(void)handleButtonTouchEnded:(id)button;
65 -(void)handleButtonTouchBegan:(id)button;
66 -(void)handleButtonPress:(id)button;
67 -(void)_addTargetsToButton:(id)arg1 ;
68 -(UIEdgeInsets)_buttonOutsets;
69
70 @property (nonatomic,retain) NSMutableArray<CSQuickActionsButton*> * leftButtons;
71 @property (nonatomic,retain) NSMutableArray<CSQuickActionsButton*> * rightButtons;
72 @property (nonatomic) BOOL leftOpen;
73 @property (nonatomic) BOOL rightOpen;
74 @property (nonatomic) BOOL collapseLeft;
75 @property (nonatomic) BOOL collapseRight;
76 -(CGRect)leftFrameForButton:(CSQuickActionsButton*)button;
77 -(CGRect)rightFrameForButton:(CSQuickActionsButton*)button;
78 @end
79
80 @interface NSUserDefaults (Private)
81 -(id)objectForKey:(NSString *)key inDomain:(NSString *)domain;
82 -(void)setObject:(id)value forKey:(NSString *)key inDomain:(NSString *)domain;
83 @end
84
85 @interface UIScreen (Private)
86 @property (nonatomic, readonly) CGRect _referenceBounds;
87 @end
88
89 int SBFEffectiveHomeButtonType();