diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-08-16 16:09:37 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-08-16 16:10:54 -0400 |
commit | 615b0aefe92fb5d7b1fae821f91eb98e3f403bfe (patch) | |
tree | cc157ab8b0684f1b85b6645fe6198ae62dcbbe53 /QuickActions/Tweak.h | |
parent | 4d2aa96bbce1edc066b3bfc197d1e2e968e4aa5d (diff) | |
download | tweaks-615b0aefe92fb5d7b1fae821f91eb98e3f403bfe.tar.gz tweaks-615b0aefe92fb5d7b1fae821f91eb98e3f403bfe.tar.zst tweaks-615b0aefe92fb5d7b1fae821f91eb98e3f403bfe.zip |
QuickActions: Add new tweak
Diffstat (limited to 'QuickActions/Tweak.h')
-rw-r--r-- | QuickActions/Tweak.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/QuickActions/Tweak.h b/QuickActions/Tweak.h new file mode 100644 index 0000000..f2855db --- /dev/null +++ b/QuickActions/Tweak.h @@ -0,0 +1,62 @@ +#import <UIKit/UIViewController.h> + +@interface UIImage (Private) ++ (instancetype)_applicationIconImageForBundleIdentifier:(NSString*)bundleIdentifier format:(int)format scale:(CGFloat)scale; +@end + +@interface SBLeafIcon : NSObject +-(id)initWithLeafIdentifier:(id)arg1 applicationBundleID:(id)arg2 ; +@end + +@interface SBMainWorkspace : NSObject ++(id)sharedInstance; +-(void)systemService:(id)arg1 handleOpenApplicationRequest:(id)arg2 withCompletion:(/*^block*/id)arg3; +@end + +@interface FBProcess : NSObject +@end + +@interface FBProcessManager : NSObject +@property (nonatomic,readonly) id systemApplicationProcess; +-(id)systemApplicationProcess; ++(id)sharedInstance; +@end + +@interface FBSOpenApplicationOptions : NSObject ++(id)optionsWithDictionary:(id)arg1; +@end + +@interface FBSystemServiceOpenApplicationRequest : NSObject +@property (assign,getter=isTrusted,nonatomic) BOOL trusted; +@property (nonatomic,copy) NSString * bundleIdentifier; +@property (nonatomic,copy) FBSOpenApplicationOptions * options; +@property (nonatomic,retain) FBProcess * clientProcess; ++(id)request; +@end + +@interface CSQuickActionsButton : UIView { + UIImageView* _contentView; +} +@property (assign,nonatomic) long long type; +-(id)initWithType:(long long)type; +-(void)setImage:(UIImage *)arg1; +-(void)setSelected:(BOOL)arg; +-(UIImage *)image; +-(UIImage *)selectedImage; + +@property (nonatomic,retain) UIImage *originalImage; +-(void)loadImage; +@end + +@interface CSQuickActionsView : NSObject +@property (nonatomic,retain) CSQuickActionsButton * flashlightButton; +@property (nonatomic,retain) CSQuickActionsButton * cameraButton; +-(void)handleButtonTouchEnded:(id)button; +-(void)handleButtonTouchBegan:(id)button; +-(void)handleButtonPress:(id)button; +@end + +@interface NSUserDefaults (Private) +-(id)objectForKey:(NSString *)key inDomain:(NSString *)domain; +-(void)setObject:(id)value forKey:(NSString *)key inDomain:(NSString *)domain; +@end |