-
Notifications
You must be signed in to change notification settings - Fork 11
/
TSServiceInputRules.h
38 lines (31 loc) · 1.01 KB
/
TSServiceInputRules.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
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// TSServiceInputRules.h
// ThisService
//
// Created by Jesper on 2011-07-17.
// Copyright 2011-2012 waffle software. All rights reserved.
// BSD licensed - see license.txt for more information.
//
#import <Cocoa/Cocoa.h>
@interface TSServiceInputRules : NSObject {
NSSet *writingSystems;
NSSet *contentTypes;
NSNumber *wordLimit;
NSSet *applicationIdentifiers;
NSSet *languages;
}
- (id)initWithWritingSystems:(NSSet *)writingSystems
contentTypes:(NSSet *)contentTypes
wordLimit:(NSNumber *)wordLimit
applicationIdentifiers:(NSSet *)applicationIdentifiers
languages:(NSSet *)languages;
- (NSSet *)writingSystems;
- (NSSet *)contentTypes;
- (NSNumber *)wordLimit;
- (NSSet *)applicationIdentifiers;
- (NSSet *)languages;
- (NSDictionary *)infoPlistRequiredContextDictionary;
+ (TSServiceInputRules *)singleInputRulesFromInfoPlistRequiredContext:(NSDictionary *)requiredContextEntryDictionary;
+ (NSArray *)allInputRulesFromInfoPlistRequiredContext:(id)requiredContextEntry;
- (BOOL)isEmpty;
@end