]> git.cameronkatri.com Git - tweaks.git/blobdiff - QuickActions/Tweak.h
Fix iOS 15+
[tweaks.git] / QuickActions / Tweak.h
index fe087490122c4983a7ee1b4817cc0893a4b1dc7f..e14a4f09748b4e4a76855e033452c0c5531a8ec8 100644 (file)
 +(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;
+@interface FBSOpenApplicationService : NSObject
+-(void)openApplication:(NSString *)arg1 withOptions:(FBSOpenApplicationOptions *)arg2 completion:(id)arg3;
 @end
 
 @interface CSQuickActionsButton : UIView {
 -(void)setBackgroundEffectViewGroupName:(NSString *)arg1;
 -(id)initWithType:(long long)type;
 -(void)setImage:(UIImage *)arg1;
+-(void)setSelectedImage:(UIImage *)arg1;
 -(void)setSelected:(BOOL)arg;
+-(UIImage *)_imageWithName:(NSString *)arg1;
 -(UIImage *)image;
 -(UIImage *)selectedImage;
 -(void)setEdgeInsets:(UIEdgeInsets)arg;
+-(void)setLatching:(BOOL)arg1;
 
 @property (nonatomic,retain) NSString * bundleID;
 @end
 
+@interface CSAction : NSObject
++(id)actionWithType:(long long)arg1;
+@end
+
+@interface CSQuickActionsViewController : UIViewController
+-(void)_launchCamera;
+-(void)_toggleFlashlight;
+-(void)_resetIdleTimer;
+-(void)sendAction:(id)arg1;
+@end
+
+
+@interface DNDModeAssertionService
++(DNDModeAssertionService *)serviceForClientIdentifier:(NSString *)arg;
+-(void)takeModeAssertionWithDetails:(id)arg1 error:(id)error;
+-(void)invalidateAllActiveModeAssertionsWithError:(id)error;
+@end
+
+@interface DNDModeAssertionDetails
++(DNDModeAssertionDetails *)userRequestedAssertionDetailsWithIdentifier:(NSString *)arg1 modeIdentifier:(NSString *)arg2 lifetime:(id)arg3;
+@end
+
+@interface DNDStateService
++(id)serviceForClientIdentifier:(id)arg1;
+-(id)queryCurrentStateWithError:(id*)arg1;
+-(void)addStateUpdateListener:(id)arg1 withCompletionHandler:(id /* block */)arg2;
+@end
+
 @interface CSQuickActionsView : UIView
 @property (nonatomic,retain) CSQuickActionsButton * flashlightButton;
 @property (nonatomic,retain) CSQuickActionsButton * cameraButton;
 @property (nonatomic,retain) NSObject * legibilitySettings;
+@property (assign,nonatomic) CSQuickActionsViewController * delegate;
+@property (nonatomic,retain) DNDStateService *stateService;
 -(id)_buttonGroupName;
 -(id)initWithFrame:(CGRect)arg1 delegate:(id)arg2;
 -(void)handleButtonTouchEnded:(id)button;
 -(void)handleButtonPress:(id)button;
 -(void)_addTargetsToButton:(id)arg1 ;
 -(UIEdgeInsets)_buttonOutsets;
+@end
 
+@interface CSQuickActionsView (QuickActions)
 @property (nonatomic,retain) NSMutableArray<CSQuickActionsButton*> * leftButtons;
 @property (nonatomic,retain) NSMutableArray<CSQuickActionsButton*> * rightButtons;
 @property (nonatomic) BOOL leftOpen;
 @property (nonatomic) BOOL rightOpen;
 @property (nonatomic) BOOL collapseLeft;
 @property (nonatomic) BOOL collapseRight;
--(CGRect)leftFrameForButton:(CSQuickActionsButton*)button;
--(CGRect)rightFrameForButton:(CSQuickActionsButton*)button;
+-(CGRect)leftFrameForButton:(CSQuickActionsButton*)button open:(BOOL)open;
+-(CGRect)rightFrameForButton:(CSQuickActionsButton*)button open:(BOOL)open;
+-(void)setDoNotDisturb:(BOOL)state;
+-(BOOL)isDNDActive;
+-(void)updateDND:(NSNotification *)notif;
+-(void)stateService:(id)arg1 didRecieveDoNotDisturbStateUpdate:(id)arg2;
 @end
 
 @interface NSUserDefaults (Private)