diff options
Diffstat (limited to 'bindings/objc/src/SwordDictionary.h')
-rw-r--r-- | bindings/objc/src/SwordDictionary.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bindings/objc/src/SwordDictionary.h b/bindings/objc/src/SwordDictionary.h new file mode 100644 index 0000000..77df1e2 --- /dev/null +++ b/bindings/objc/src/SwordDictionary.h @@ -0,0 +1,28 @@ +/* SwordDict.h - Sword API wrapper for lexicons and Dictionaries. + + Copyright 2008 Manfred Bergmann + Based on code by Will Thimbleby + + This program is free software; you can redistribute it and/or modify it under the terms of the + GNU General Public License as published by the Free Software Foundation version 2. + + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. (http://www.gnu.org/licenses/gpl.html) +*/ + +#import <Cocoa/Cocoa.h> +#import "SwordModule.h" + +@class SwordManager; + +@interface SwordDictionary : SwordModule { + /** only keys are buffered here */ + NSMutableArray *keys; +} + +- (NSArray *)allKeys; +- (NSString *)entryForKey:(NSString *)aKey; + + +@end |