diff options
Diffstat (limited to 'utilities/thml2gbs.cpp')
-rw-r--r-- | utilities/thml2gbs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/utilities/thml2gbs.cpp b/utilities/thml2gbs.cpp index df85806..ca5b31c 100644 --- a/utilities/thml2gbs.cpp +++ b/utilities/thml2gbs.cpp @@ -21,6 +21,12 @@ #define O_BINARY 0 #endif +#ifndef NO_SWORD_NAMESPACE +using sword::TreeKeyIdx; +using sword::RawGenBook; +using sword::SWKey; +#endif + void printTree(TreeKeyIdx treeKey, TreeKeyIdx *target = 0, int level = 1) { if (!target) target = &treeKey; @@ -81,7 +87,7 @@ int main(int argc, char **argv) { const char * helptext ="thml2gbs 1.0 General Book module creation tool for the SWORD Project\n usage:\n %s <filename> [modname] [0|1 - long names] [0|1 - output in 'import format']\n"; signed long i = 0; - string divs[6]; + std::string divs[6]; int level = 0; char* keybuffer = new char[2048]; char* entbuffer = new char[1048576]; |