summaryrefslogtreecommitdiffstats
path: root/QuickActions/QuickActionsPrefs/QASAppSelectorController.h
diff options
context:
space:
mode:
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