blob: af48bb4f0ce45e4d085949fb2c1929bd4b7ada74 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
//
// SwordBibleBook.h
// MacSword2
//
// Created by Manfred Bergmann on 18.02.09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#ifdef __cplusplus
#include <versificationmgr.h>
#include <versekey.h>
#include <localemgr.h>
class sword::VersificationMgr::Book;
#endif
@interface SwordBibleBook : NSObject {
#ifdef __cplusplus
sword::VersificationMgr::Book *swBook;
#endif
NSString *localizedName;
int number;
char numberInTestament;
char testament;
NSArray *chapters;
}
@property (readwrite) int number;
@property (readwrite) char numberInTestament;
@property (readwrite) char testament;
@property (retain, readwrite) NSString *localizedName;
@property (retain, readwrite) NSArray *chapters;
#ifdef __cplusplus
- (id)initWithBook:(sword::VersificationMgr::Book *)aBook;
- (sword::VersificationMgr::Book *)book;
#endif
- (NSString *)name;
- (NSString *)osisName;
- (int)numberOfChapters;
- (int)numberOfVersesForChapter:(int)chapter;
/**
get book index for verseKey
that is: book number + testament * 100
*/
- (int)generatedIndex;
@end
|