summaryrefslogtreecommitdiff
path: root/bindings/objc/src/SwordVerseManager.h
blob: c9667c59b05615865e9c5adf543ef28cffe034e8 (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 <Foundation/Foundation.h>

#ifdef __cplusplus
#include <versificationmgr.h>
class sword::VersificationMgr::Book;
#endif

#define SW_VERSIFICATION_KJV       @"KJV"

@interface SwordVerseManager : NSObject {
#ifdef __cplusplus
    sword::VersificationMgr *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::VersificationMgr *)verseMgr;
#endif

@end