The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
thmlcgi.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * thmlcgi.h - ThMLCGI: ThML to Diatheke/CGI format filter
4  *
5  * $Id: thmlcgi.h 2833 2013-06-29 06:40:28Z chrislit $
6  *
7  * Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org)
8  * CrossWire Bible Society
9  * P. O. Box 2528
10  * Tempe, AZ 85280-2528
11  *
12  * This program is free software; you can redistribute it and/or modify it
13  * under the terms of the GNU General Public License as published by the
14  * Free Software Foundation version 2.
15  *
16  * This program is distributed in the hope that it will be useful, but
17  * WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * General Public License for more details.
20  *
21  */
22 
23 #ifndef THMLCGI_H
24 #define THMLCGI_H
25 
26 #include <swbasicfilter.h>
27 #include <defs.h>
28 
30 
33 class ThMLCGI : public SWBasicFilter {
34 protected:
35  virtual BasicFilterUserData *createUserData(const SWModule *module, const SWKey *key);
36  virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData);
37 public:
38  ThMLCGI();
39 };
40 
42 #endif
#define SWORD_NAMESPACE_START
Definition: defs.h:39
Definition: swbuf.h:47
SWText * module
Definition: osis2mod.cpp:105
virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData)
Definition: thmlcgi.cpp:56
ThMLCGI()
Definition: thmlcgi.cpp:45
#define SWORD_NAMESPACE_END
Definition: defs.h:40
Definition: swkey.h:77
virtual BasicFilterUserData * createUserData(const SWModule *module, const SWKey *key)
Definition: thmlcgi.cpp:41