[sword-cvs] sword/src/modules swmodule.cpp,1.51,1.52

sword@www.crosswire.org sword@www.crosswire.org
Sun, 21 Dec 2003 03:42:03 -0700


Update of /usr/local/cvsroot/sword/src/modules
In directory www:/tmp/cvs-serv1693/src/modules

Modified Files:
	swmodule.cpp 
Log Message:
updated the thml filters slightly, more work needs to be done on these!


Index: swmodule.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/swmodule.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- swmodule.cpp	10 Nov 2003 07:24:11 -0000	1.51
+++ swmodule.cpp	21 Dec 2003 10:42:01 -0000	1.52
@@ -127,11 +127,14 @@
  * RET:	pointer to modname
  */
 
-char *SWModule::Name(const char *imodname)
-{
+char *SWModule::Name(const char *imodname) {
 	return stdstr(&modname, imodname);
 }
 
+char *SWModule::Name() const {
+	return modname;
+}
+
 
 /******************************************************************************
  * SWModule::Description - Sets/gets module description
@@ -142,11 +145,14 @@
  * RET:	pointer to moddesc
  */
 
-char *SWModule::Description(const char *imoddesc)
-{
+char *SWModule::Description(const char *imoddesc) {
 	return stdstr(&moddesc, imoddesc);
 }
 
+char *SWModule::Description() const {
+	return moddesc;
+}
+
 
 /******************************************************************************
  * SWModule::Type - Sets/gets module type
@@ -157,9 +163,12 @@
  * RET:	pointer to modtype
  */
 
-char *SWModule::Type(const char *imodtype)
-{
+char *SWModule::Type(const char *imodtype) {
 	return stdstr(&modtype, imodtype);
+}
+
+char *SWModule::Type() const {
+	return modtype;
 }
 
 /******************************************************************************