[sword-svn] r2371 - trunk/src/mgr

chrislit at crosswire.org chrislit at crosswire.org
Fri May 1 13:27:01 MST 2009


Author: chrislit
Date: 2009-05-01 13:27:01 -0700 (Fri, 01 May 2009)
New Revision: 2371

Modified:
   trunk/src/mgr/versemgr.cpp
Log:
added MT, KJVA, NRSV, NRSVA v11ns to mgr


Modified: trunk/src/mgr/versemgr.cpp
===================================================================
--- trunk/src/mgr/versemgr.cpp	2009-05-01 20:24:36 UTC (rev 2370)
+++ trunk/src/mgr/versemgr.cpp	2009-05-01 20:27:01 UTC (rev 2371)
@@ -24,12 +24,18 @@
 #include <vector>
 #include <map>
 #include <treekey.h>
-#include <canon.h>	// KJV internal versification system
+#include <canon.h>		// KJV internal versification system
 #include <swlog.h>
 #include <algorithm>
 
-#include <canon_leningrad.h> // Leningrad Codex (WLC) v11n system
+#include <canon_null.h>		// null v11n system
 
+#include <canon_leningrad.h>	// Leningrad Codex (WLC) v11n system
+#include <canon_mt.h>		// Masoretic Text (MT) v11n system
+#include <canon_kjva.h>		// KJV + Apocrypha v11n system
+#include <canon_nrsv.h>		// NRSV v11n system
+#include <canon_nrsva.h>	// NRSVA + Apocrypha v11n system
+
 using std::vector;
 using std::map;
 using std::distance;
@@ -317,7 +323,11 @@
 	if (!systemVerseMgr) {
 		systemVerseMgr = new VerseMgr();
 		systemVerseMgr->registerVersificationSystem("KJV", otbooks, ntbooks, vm);
-		systemVerseMgr->registerVersificationSystem("Leningrad", otbooks_leningrad, ntbooks_leningrad, vm_leningrad);
+		systemVerseMgr->registerVersificationSystem("Leningrad", otbooks_leningrad, ntbooks_null, vm_leningrad);
+		systemVerseMgr->registerVersificationSystem("MT", otbooks_mt, ntbooks_null, vm_mt);
+		systemVerseMgr->registerVersificationSystem("KJVA", otbooks_kjva, ntbooks, vm_kjva);
+		systemVerseMgr->registerVersificationSystem("NRSV", otbooks, ntbooks, vm_nrsv);
+		systemVerseMgr->registerVersificationSystem("NRSVA", otbooks_nrsva, ntbooks, vm_nrsva);
 	}
 	return systemVerseMgr;
 }




More information about the sword-cvs mailing list