iOS web browser with a focus on security and privacy
1/*
2 * Endless
3 * Copyright (c) 2014-2015 joshua stein <jcs@jcs.org>
4 *
5 * See LICENSE file for redistribution terms.
6 */
7
8#import <UIKit/UIKit.h>
9#import "AppDelegate.h"
10
11@interface RuleEditorController : UITableViewController <UISearchBarDelegate, UISearchDisplayDelegate, UITableViewDelegate>
12
13@property AppDelegate *appDelegate;
14@property NSMutableArray *sortedRuleNames;
15@property NSMutableArray *inUseRuleNames;
16
17@property UISearchBar *searchBar;
18@property NSMutableArray *searchResult;
19
20- (NSString *)ruleDisabledReason:(NSString *)rule;
21- (void)disableRuleByName:(NSString *)rule withReason:(NSString *)reason;
22- (void)enableRuleByName:(NSString *)rule;
23
24@end