diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-12-27 01:08:28 -0500 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-12-27 01:08:28 -0500 |
commit | 15240ea1e0dc4fc86a3f36cffe5b9c14ff0b2c93 (patch) | |
tree | b88d424cbcdce6487a2e85dfd380bc4eb7fd682e /QuickActions/Tweak.h | |
parent | 6c781fd0b08f0fe3ccd2d3e0d79c9739c2f288c8 (diff) | |
download | tweaks-15240ea1e0dc4fc86a3f36cffe5b9c14ff0b2c93.tar.gz tweaks-15240ea1e0dc4fc86a3f36cffe5b9c14ff0b2c93.tar.zst tweaks-15240ea1e0dc4fc86a3f36cffe5b9c14ff0b2c93.zip |
I lost track of all the changes
Diffstat (limited to 'QuickActions/Tweak.h')
-rw-r--r-- | QuickActions/Tweak.h | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/QuickActions/Tweak.h b/QuickActions/Tweak.h index fe08749..41f64fd 100644 --- a/QuickActions/Tweak.h +++ b/QuickActions/Tweak.h @@ -47,18 +47,51 @@ -(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; @@ -66,7 +99,9 @@ -(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; @@ -75,6 +110,10 @@ @property (nonatomic) BOOL collapseRight; -(CGRect)leftFrameForButton:(CSQuickActionsButton*)button; -(CGRect)rightFrameForButton:(CSQuickActionsButton*)button; +-(void)setDoNotDisturb:(BOOL)state; +-(BOOL)isDNDActive; +-(void)updateDND:(NSNotification *)notif; +-(void)stateService:(id)arg1 didRecieveDoNotDisturbStateUpdate:(id)arg2; @end @interface NSUserDefaults (Private) @@ -86,4 +125,4 @@ @property (nonatomic, readonly) CGRect _referenceBounds; @end -int SBFEffectiveHomeButtonType(); +int SBFEffectiveHomeButtonType();
\ No newline at end of file |