[sword-cvs] sword/src/mgr swsearchable.cpp,NONE,1.1 Makefile.am,1.13,1.14

sword@www.crosswire.org sword@www.crosswire.org
Thu, 28 Aug 2003 23:00:18 -0700


Update of /usr/local/cvsroot/sword/src/mgr
In directory www:/tmp/cvs-serv27914/src/mgr

Modified Files:
	Makefile.am 
Added Files:
	swsearchable.cpp 
Log Message:
	Abstracted the search interface from SWModule
	Added experimental implementation of fast
		search framework to zText using
		clucene



--- NEW FILE: swsearchable.cpp ---
/******************************************************************************
 *  swsearchable.h	- definition of class SWSearchable used to provide an
 *	interface for objects that be searched.
 *
 * $Id: swsearchable.cpp,v 1.1 2003/08/29 06:00:16 scribe Exp $
 *
 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
 *	CrossWire Bible Society
 *	P. O. Box 2528
 *	Tempe, AZ  85280-2528
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation version 2.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 */

#include <swsearchable.h>

SWORD_NAMESPACE_START

void SWSearchable::nullPercent(char percent, void *percentUserData) {}

SWSearchable::SWSearchable() {
}


SWSearchable::~SWSearchable() {
}

	// special search framework
signed char SWSearchable::createSearchFramework() {
	return 0;
}


SWORD_NAMESPACE_END

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/sword/src/mgr/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Makefile.am	11 Jul 2003 17:41:10 -0000	1.13
+++ Makefile.am	29 Aug 2003 06:00:16 -0000	1.14
@@ -17,5 +17,6 @@
 libsword_la_SOURCES += $(mgrdir)/swlocale.cpp
 libsword_la_SOURCES += $(mgrdir)/localemgr.cpp
 libsword_la_SOURCES += $(mgrdir)/swcacher.cpp
+libsword_la_SOURCES += $(mgrdir)/swsearchable.cpp
 libsword_la_SOURCES += $(mgrdir)/installmgr.cpp