[sword-cvs] sword/include osisfootnotes.h,NONE,1.1 Makefile.am,1.20,1.21

sword@www.crosswire.org sword@www.crosswire.org
Tue, 17 Jun 2003 15:14:20 -0700


Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv30816/include

Modified Files:
	Makefile.am 
Added Files:
	osisfootnotes.h 
Log Message:
added osis footnotes filter framework

--- NEW FILE: osisfootnotes.h ---
/******************************************************************************
 *
 * $Id: osisfootnotes.h,v 1.1 2003/06/17 22:14:18 joachim 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.
 *
 */

#ifndef OSISFOOTNOTES_H
#define OSISFOOTNOTES_H

#include <swfilter.h>

SWORD_NAMESPACE_START

/** This Filter shows/hides headings in a OSIS text
 */
class SWDLLEXPORT OSISFootnotes : public SWFilter {
	bool option;
	static const char on[];
	static const char off[];
	static const char optName[];
	static const char optTip[];
	OptionsList options;

public:
	OSISFootnotes();
	virtual ~OSISFootnotes();
	virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0);
	virtual const char *getOptionName() { return optName; }
	virtual const char *getOptionTip() { return optTip; }
	virtual void setOptionValue(const char *ival);
	virtual const char *getOptionValue();
	virtual OptionsList getOptionValues() { return options; }
};

SWORD_NAMESPACE_END
#endif

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/sword/include/Makefile.am,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Makefile.am	1 Jun 2003 14:32:09 -0000	1.20
--- Makefile.am	17 Jun 2003 22:14:18 -0000	1.21
***************
*** 37,40 ****
--- 37,41 ----
  pkginclude_HEADERS += $(swincludedir)/multimapwdef.h
  pkginclude_HEADERS += $(swincludedir)/nullim.h
+ 
  pkginclude_HEADERS += $(swincludedir)/osisheadings.h
  pkginclude_HEADERS += $(swincludedir)/osismorph.h
***************
*** 42,45 ****
--- 43,48 ----
  pkginclude_HEADERS += $(swincludedir)/osisrtf.h
  pkginclude_HEADERS += $(swincludedir)/osisstrongs.h
+ pkginclude_HEADERS += $(swincludedir)/osisfootnotes.h   
+ 
  pkginclude_HEADERS += $(swincludedir)/plainfootnotes.h
  pkginclude_HEADERS += $(swincludedir)/plainfootnotes.h