[sword-cvs] sword/include osishtmlhref.h,NONE,1.1 Makefile.am,1.21,1.22

sword@www.crosswire.org sword@www.crosswire.org
Tue, 24 Jun 2003 05:07:22 -0700


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

Modified Files:
	Makefile.am 
Added Files:
	osishtmlhref.h 
Log Message:
added osishtmlhref filter

--- NEW FILE: osishtmlhref.h ---
/******************************************************************************
 *
 * $Id: osishtmlhref.h,v 1.1 2003/06/24 12:07:20 tbiggs 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 OSISHTMLHREF_H
#define OSISHTMLHREF_H

#include <swbasicfilter.h>

#include <string>

using std::string;

SWORD_NAMESPACE_START

/** this filter converts OSIS text to RTF text
 */
class SWDLLEXPORT OSISHTMLHref : public SWBasicFilter {
private:
	string tagData;
	string::size_type pos1;
	string::size_type pos2;

protected:
	virtual bool handleToken(SWBuf &buf, const char *token, DualStringMap &userData);
public:
	OSISHTMLHref();
};

SWORD_NAMESPACE_END
#endif

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/sword/include/Makefile.am,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** Makefile.am	17 Jun 2003 22:14:18 -0000	1.21
--- Makefile.am	24 Jun 2003 12:07:20 -0000	1.22
***************
*** 39,42 ****
--- 39,43 ----
  
  pkginclude_HEADERS += $(swincludedir)/osisheadings.h
+ pkginclude_HEADERS += $(swincludedir)/osishtmlhref.h
  pkginclude_HEADERS += $(swincludedir)/osismorph.h
  pkginclude_HEADERS += $(swincludedir)/osisplain.h