[sword-cvs] sword/include osisplain.h,NONE,1.1 osisrtf.h,NONE,1.1 swmgr.h,1.50,1.51

sword@www.crosswire.org sword@www.crosswire.org
Sat, 15 Feb 2003 23:53:58 -0700


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

Modified Files:
	swmgr.h 
Added Files:
	osisplain.h osisrtf.h 
Log Message:
added OSISRTF & OSISPlain filters

--- NEW FILE: osisplain.h ---
/*
 *
 * osisplain.h
 *
 * 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 OSISPLAIN_H
#define OSISPLAIN_H

#include <swbasicfilter.h>

#include <defs.h>
#include <string>

using std::string;

SWORD_NAMESPACE_START

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

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

SWORD_NAMESPACE_END
#endif

--- NEW FILE: osisrtf.h ---
/*
 *
 * osisrtf.h
 *
 * 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 OSISRTF_H
#define OSISRTF_H

#include <swbasicfilter.h>

#include <defs.h>
#include <string>

using std::string;

SWORD_NAMESPACE_START

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

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

SWORD_NAMESPACE_END
#endif

Index: swmgr.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/swmgr.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** swmgr.h	13 Feb 2003 20:16:35 -0000	1.50
--- swmgr.h	16 Feb 2003 06:53:56 -0000	1.51
***************
*** 85,88 ****
--- 85,89 ----
  	SWFilter *gbfplain;
  	SWFilter *thmlplain;
+ 	SWFilter *osisplain;
  	SWFilter *transliterator;
  	FilterList cleanupFilters;