forked from XLsn0w/Cydiapps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LAEventDataSource.h
26 lines (19 loc) · 1.13 KB
/
LAEventDataSource.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#import <Foundation/Foundation.h>
// Event Data Sources represent the metadata associated with specific events
// A data source is constructed automatically for each event in /Library/Activator/Events
@protocol LAEventDataSource <NSObject>
@required
- (NSString *)localizedTitleForEventName:(NSString *)eventName;
- (NSString *)localizedGroupForEventName:(NSString *)eventName;
- (NSString *)localizedDescriptionForEventName:(NSString *)eventName;
@optional
- (BOOL)eventWithNameIsHidden:(NSString *)eventName;
- (BOOL)eventWithNameRequiresAssignment:(NSString *)eventName;
- (BOOL)eventWithName:(NSString *)eventName isCompatibleWithMode:(NSString *)eventMode;
- (BOOL)eventWithNameSupportsUnlockingDeviceToSend:(NSString *)eventName;
- (BOOL)eventWithNameSupportsRemoval:(NSString *)eventName;
- (void)removeEventWithName:(NSString *)eventName;
- (NSString *)configurationViewControllerClassNameForEventWithName:(NSString *)eventName bundle:(NSBundle **)bundle; // LAEventConfigurationViewController
- (id)configurationForEventWithName:(NSString *)eventName;
- (void)eventWithName:(NSString *)eventName didSaveNewConfiguration:(id)configuration;
@end