[sword-cvs] sword/bindings/corba/orbitcpp testclient.cpp,1.8,1.9
sword@www.crosswire.org
sword@www.crosswire.org
Mon, 24 Nov 2003 02:16:42 -0700
Update of /usr/local/cvsroot/sword/bindings/corba/orbitcpp
In directory www:/tmp/cvs-serv1528/bindings/corba/orbitcpp
Modified Files:
testclient.cpp
Log Message:
Index: testclient.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/corba/orbitcpp/testclient.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- testclient.cpp 31 Aug 2003 01:58:13 -0000 1.8
+++ testclient.cpp 24 Nov 2003 09:16:40 -0000 1.9
@@ -40,12 +40,16 @@
std::cout << module->getRenderText() << "\n";
}
*/
- module = mgr->getModuleByName("KJV");
+ module = mgr->getModuleByName("NASB");
+ module->setKeyText("jn3:1");
+ std::cout << module->getRenderText();
+ /*
swordorb::SearchHitList *searchResults;
searchResults = module->search("God love world", swordorb::MULTIWORD, 0, "");
for (int i = 0; i < searchResults->length(); i++) {
std::cout << (*searchResults)[i].key << "\n";
}
+ */;