summaryrefslogtreecommitdiff
path: root/utilities/diatheke/gbfcgi.h
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-05-12 08:21:30 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-05-12 08:21:30 -0400
commit7a00574163029c0c2b649878c95d5acbd083564a (patch)
treec13cc5736025834df2874ed87ee8598070025ea6 /utilities/diatheke/gbfcgi.h
parentb745315323de9f27538edac9453205ca70e6186e (diff)
Imported Upstream version 1.7.2+dfsg
Diffstat (limited to 'utilities/diatheke/gbfcgi.h')
-rw-r--r--utilities/diatheke/gbfcgi.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/utilities/diatheke/gbfcgi.h b/utilities/diatheke/gbfcgi.h
index 71ded1a..3f21dd2 100644
--- a/utilities/diatheke/gbfcgi.h
+++ b/utilities/diatheke/gbfcgi.h
@@ -1,11 +1,10 @@
-/**************************************************************************
- * gbfcgi.h - description
- * -------------------
- * begin : 2001-11-12
- * copyright : 2001 by CrossWire Bible Society
+/***************************************************************************
*
+ * gbfcgi.h - GBF to Diatheke/CGI format
*
- * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * $Id: gbfcgi.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 GBFCGI_H
#include <swbasicfilter.h>
-#include <swbuf.h>
#include <defs.h>
-#include <map>
SWORD_NAMESPACE_START
-typedef std::map<SWBuf, SWBuf> DualStringMap;
/** this filter converts GBF text to Diatheke/CGI format
*/
class GBFCGI : 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:
GBFCGI ();
};