diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-05-12 08:21:30 -0400 |
commit | 7a00574163029c0c2b649878c95d5acbd083564a (patch) | |
tree | c13cc5736025834df2874ed87ee8598070025ea6 /utilities/diatheke/thmlcgi.h | |
parent | b745315323de9f27538edac9453205ca70e6186e (diff) |
Imported Upstream version 1.7.2+dfsg
Diffstat (limited to 'utilities/diatheke/thmlcgi.h')
-rw-r--r-- | utilities/diatheke/thmlcgi.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/utilities/diatheke/thmlcgi.h b/utilities/diatheke/thmlcgi.h index bfdee35..9380656 100644 --- a/utilities/diatheke/thmlcgi.h +++ b/utilities/diatheke/thmlcgi.h @@ -1,11 +1,10 @@ -/*************************************************************************** - * thmlcgi.h - OSIS to Diatheke/CGI format - * ------------------- - * begin : 2001-11-12 - * copyright : 2001 by CrossWire Bible Society +/****************************************************************************** * + * thmlcgi.h - ThMLCGI: ThML to Diatheke/CGI format filter * - * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org) + * $Id: thmlcgi.h 2833 2013-06-29 06:40:28Z chrislit $ + * + * Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society * P. O. Box 2528 * Tempe, AZ 85280-2528 @@ -25,18 +24,16 @@ #define THMLCGI_H #include <swbasicfilter.h> -#include <map> - #include <defs.h> SWORD_NAMESPACE_START -typedef std::map<SWBuf, SWBuf> DualStringMap; /** this filter converts ThML text to Diatheke/CGI format */ class ThMLCGI : public SWBasicFilter { protected: - virtual bool handleToken(SWBuf &buf, const char *token, DualStringMap &userData); + virtual BasicFilterUserData *createUserData(const SWModule *module, const SWKey *key); + virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData); public: ThMLCGI(); }; |