[sword-svn] r2767 - trunk/examples/cmdline

greg.hellings at crosswire.org greg.hellings at crosswire.org
Sun Jan 20 14:31:53 MST 2013


Author: greg.hellings
Date: 2013-01-20 14:31:53 -0700 (Sun, 20 Jan 2013)
New Revision: 2767

Modified:
   trunk/examples/cmdline/search.cpp
   trunk/examples/cmdline/threaded_search.cpp
   trunk/examples/cmdline/verserangeparse.cpp
Log:
Fixing three missed methods from the method name refactor.

Modified: trunk/examples/cmdline/search.cpp
===================================================================
--- trunk/examples/cmdline/search.cpp	2013-01-20 21:05:43 UTC (rev 2766)
+++ trunk/examples/cmdline/search.cpp	2013-01-20 21:31:53 UTC (rev 2767)
@@ -99,7 +99,7 @@
 		VerseKey *parser = SWDYNAMIC_CAST(VerseKey, k);
 		VerseKey kjvParser;
 		if (!parser) parser = &kjvParser;	// use standard KJV parsing as fallback
-		scope = parser->ParseVerseList(argv[3], *parser, true);
+		scope = parser->parseVerseList(argv[3], *parser, true);
 		scope.Persist(1);
 		target->setKey(scope);
 	}

Modified: trunk/examples/cmdline/threaded_search.cpp
===================================================================
--- trunk/examples/cmdline/threaded_search.cpp	2013-01-20 21:05:43 UTC (rev 2766)
+++ trunk/examples/cmdline/threaded_search.cpp	2013-01-20 21:31:53 UTC (rev 2767)
@@ -98,7 +98,7 @@
 		return;
 	}
 
-	ListKey scopeList = VerseKey().ParseVerseList("Luke;John;Revelation","", true);
+	ListKey scopeList = VerseKey().parseVerseList("Luke;John;Revelation","", true);
 	for (int i=0; i < scopeList.Count(); ++i) {
 		std::cout << (const char*)*scopeList.GetElement(i) << std::endl;
 	}

Modified: trunk/examples/cmdline/verserangeparse.cpp
===================================================================
--- trunk/examples/cmdline/verserangeparse.cpp	2013-01-20 21:05:43 UTC (rev 2766)
+++ trunk/examples/cmdline/verserangeparse.cpp	2013-01-20 21:31:53 UTC (rev 2767)
@@ -45,7 +45,7 @@
 	VerseKey parser;
 	ListKey result;
 
-	result = parser.ParseVerseList(range, parser, true);
+	result = parser.parseVerseList(range, parser, true);
 	// let's iterate the key and display
 	for (result = TOP; !result.Error(); result++) {
 		cout << result << "\n";




More information about the sword-cvs mailing list