diff options
Diffstat (limited to 'testlib.cpp')
-rw-r--r-- | testlib.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/testlib.cpp b/testlib.cpp index c20c8db..282484d 100644 --- a/testlib.cpp +++ b/testlib.cpp @@ -1,11 +1,17 @@ -#include <iostream.h> +#include <iostream> #include <versekey.h> #include <rawtext.h> //#include <zcom.h> #include <rawcom.h> //#include <rawgbf.h> //#include <rawfiles.h> - +#ifndef NO_SWORD_NAMESPACE +using sword::VerseKey; +using sword::RawText; +using sword::RawCom; +using sword::SWKey; +#endif +using std::cout; int main(int argc, char **argv) { @@ -31,8 +37,8 @@ int main(int argc, char **argv) mykey = (argc < 2) ? "James 1:19" : argv[1]; mykey.Persist(1); - text.SetKey(mykey); - commentary.SetKey(mykey); + text.setKey(mykey); + commentary.setKey(mykey); max = (argc < 3) ? 1 : atoi(argv[2]); |