summaryrefslogtreecommitdiffstats
path: root/QuickActions/QuickActionsPrefs/QASAppSelectorController.h
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-12-29 10:41:53 -0500
committerCameron Katri <me@cameronkatri.com>2021-12-29 10:41:53 -0500
commit451ec46218d0a5ac206441a48e5aa5b926209eb0 (patch)
treef806fe4528e56ed2541b2fa7b7aefcb9cbbe8937 /QuickActions/QuickActionsPrefs/QASAppSelectorController.h
parent15240ea1e0dc4fc86a3f36cffe5b9c14ff0b2c93 (diff)
downloadtweaks-451ec46218d0a5ac206441a48e5aa5b926209eb0.tar.gz
tweaks-451ec46218d0a5ac206441a48e5aa5b926209eb0.tar.zst
tweaks-451ec46218d0a5ac206441a48e5aa5b926209eb0.zip
I hate this project
Diffstat (limited to 'QuickActions/QuickActionsPrefs/QASAppSelectorController.h')
-rw-r--r--QuickActions/QuickActionsPrefs/QASAppSelectorController.h22
1 files changed, 16 insertions, 6 deletions
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 <UIKit/UIKit.h>
#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<UITableViewDataSource,
-UITableViewDelegate>
+typedef enum {
+ ENABLED = 0,
+ SYSTEM,
+ APPS
+} ItemType;
+
+@interface QASAppSelectorController : PSDetailController<UITableViewDataSource, UITableViewDelegate,
+UISearchResultsUpdating, UISearchBarDelegate> {
+ 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<NSString *> *enabled;
+@property (nonatomic) NSMutableArray<LSApplicationProxy *>*disabled;
+@property (nonatomic) NSArray<NSString *> *systemDisabled;
@property (nonatomic) NSString *key;
@property (nonatomic) NSString *defaults;
+-(NSArray<LSApplicationProxy *> *)filteredDisabled;
@end \ No newline at end of file