[sword-svn] r2649 - trunk/include

scribe at crosswire.org scribe at crosswire.org
Fri Jul 29 11:34:07 MST 2011


Author: scribe
Date: 2011-07-29 11:34:07 -0700 (Fri, 29 Jul 2011)
New Revision: 2649

Modified:
   trunk/include/versekey.h
Log:
added 2 convenience methods for consistency


Modified: trunk/include/versekey.h
===================================================================
--- trunk/include/versekey.h	2011-07-24 15:09:27 UTC (rev 2648)
+++ trunk/include/versekey.h	2011-07-29 18:34:07 UTC (rev 2649)
@@ -258,6 +258,7 @@
 	*/
 	virtual char Testament() const { return getTestament(); }	// deprecated
 	virtual char getTestament() const;
+	virtual int getTestamentMax() const { return 2; }
 
 	/** Gets book
 	*
@@ -265,6 +266,7 @@
 	*/
 	virtual char Book() const { return getBook(); }	// deprecated
 	virtual char getBook() const;
+	virtual int getBookMax() const { return BMAX[testament-1]; }
 
 	/** Gets chapter
 	*




More information about the sword-cvs mailing list