summaryrefslogtreecommitdiff
path: root/utilities/diatheke/thmlcgi.h
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/diatheke/thmlcgi.h')
-rw-r--r--utilities/diatheke/thmlcgi.h17
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();
};