From 451ec46218d0a5ac206441a48e5aa5b926209eb0 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Wed, 29 Dec 2021 10:41:53 -0500 Subject: I hate this project --- .../QuickActionsPrefs/QASAppSelectorController.h | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'QuickActions/QuickActionsPrefs/QASAppSelectorController.h') diff --git a/QuickActions/QuickActionsPrefs/QASAppSelectorController.h b/QuickActions/QuickActionsPrefs/QASAppSelectorController.h index 13ffe60..f439fcb 100644 --- a/QuickActions/QuickActionsPrefs/QASAppSelectorController.h +++ b/QuickActions/QuickActionsPrefs/QASAppSelectorController.h @@ -1,18 +1,28 @@ #import #import "PSDetailController.h" +#import "LSApplicationProxy+AltList.h" @interface UIImage (Private) +(instancetype)_applicationIconImageForBundleIdentifier:(NSString*)bundleIdentifier format:(int)format scale:(CGFloat)scale; -(UIImage *)_applicationIconImageForFormat:(int)format precomposed:(BOOL)precomposed scale:(CGFloat)scale; @end -@interface QASAppSelectorController : PSDetailController +typedef enum { + ENABLED = 0, + SYSTEM, + APPS +} ItemType; + +@interface QASAppSelectorController : PSDetailController { + UISearchController *_searchController; + NSString *_searchKey; +} @property (nonatomic) UITableView *tableView; -@property (nonatomic) NSMutableArray *enabled; -@property (nonatomic) NSMutableArray *disabled; -@property (nonatomic) NSArray *systemAvailable; -@property (nonatomic) NSMutableArray *systemDisabled; +@property (nonatomic) NSMutableArray *enabled; +@property (nonatomic) NSMutableArray*disabled; +@property (nonatomic) NSArray *systemDisabled; @property (nonatomic) NSString *key; @property (nonatomic) NSString *defaults; +-(NSArray *)filteredDisabled; @end \ No newline at end of file -- cgit v1.2.3-56-ge451