[sword-cvs] sword/src/modules swmodule.cpp,1.49,1.50
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 28 Aug 2003 23:00:18 -0700
Update of /usr/local/cvsroot/sword/src/modules
In directory www:/tmp/cvs-serv27914/src/modules
Modified Files:
swmodule.cpp
Log Message:
Abstracted the search interface from SWModule
Added experimental implementation of fast
search framework to zText using
clucene
Index: swmodule.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/modules/swmodule.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- swmodule.cpp 27 Jun 2003 01:41:07 -0000 1.49
+++ swmodule.cpp 29 Aug 2003 06:00:16 -0000 1.50
@@ -16,7 +16,6 @@
SWORD_NAMESPACE_START
SWDisplay SWModule::rawdisp;
-void SWModule::nullPercent(char percent, void *percentUserData) {}
/******************************************************************************
* SWModule Constructor - Initializes data for instance of SWModule
@@ -365,8 +364,7 @@
* RET: listkey set to verses that contain istr
*/
-ListKey &SWModule::Search(const char *istr, int searchType, int flags, SWKey *scope, bool *justCheckIfSupported, void (*percent)(char, void *), void *percentUserData)
-{
+ListKey &SWModule::search(const char *istr, int searchType, int flags, SWKey *scope, bool *justCheckIfSupported, void (*percent)(char, void *), void *percentUserData) {
SWKey *savekey = 0;
SWKey *searchkey = 0;
regex_t preg;