summaryrefslogtreecommitdiff
path: root/bindings/objc/src/SwordVerseManager.h
blob: 71eef6a9dfc2a6677c8022768909ea4ac4b9402e (plain)
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
//
//  SwordVerseManager.h
//  MacSword2
//
//  Created by Manfred Bergmann on 19.03.09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#ifdef __cplusplus
#include <versemgr.h>
class sword::VerseMgr::Book;
#endif

#define SW_VERSIFICATION_KJV       @"KJV"

@interface SwordVerseManager : NSObject {
#ifdef __cplusplus
    sword::VerseMgr *verseMgr;
#endif
    NSMutableDictionary *booksPerVersification;
}

+ (SwordVerseManager *)defaultManager;

/** convenience method that returns the books for default scheme (KJV) */
- (NSArray *)books;
/** books for a versification scheme */
- (NSArray *)booksForVersification:(NSString *)verseScheme;

#ifdef __cplusplus
- (sword::VerseMgr *)verseMgr;
#endif

@end