summaryrefslogtreecommitdiff
path: root/bindings/objc/src/SwordCommentary.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/objc/src/SwordCommentary.h')
-rw-r--r--bindings/objc/src/SwordCommentary.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/bindings/objc/src/SwordCommentary.h b/bindings/objc/src/SwordCommentary.h
new file mode 100644
index 0000000..5177139
--- /dev/null
+++ b/bindings/objc/src/SwordCommentary.h
@@ -0,0 +1,33 @@
+/* SwordCommentary.h - Sword API wrapper for Commentaries.
+
+ 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 "SwordBible.h"
+
+#ifdef __cplusplus
+#include <rawfiles.h>
+class sword::RawFiles;
+class sword::SWConfig;
+#endif
+
+@interface SwordCommentary : SwordBible {
+}
+
+/**
+ creates a new empty editable commentary module
+ caller has to make sure the module doesn't exist yet
+ @return path of the created module
+ */
++ (NSString *)createCommentaryWithName:(NSString *)aName;
+
+@end