summaryrefslogtreecommitdiff
path: root/bindings/objc/src/SwordVerseManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/objc/src/SwordVerseManager.h')
-rw-r--r--bindings/objc/src/SwordVerseManager.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/bindings/objc/src/SwordVerseManager.h b/bindings/objc/src/SwordVerseManager.h
new file mode 100644
index 0000000..71eef6a
--- /dev/null
+++ b/bindings/objc/src/SwordVerseManager.h
@@ -0,0 +1,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