The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
diafiltmgr.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * diafiltmgr.h - DiathekeFilterMgr
4  *
5  * $Id: diafiltmgr.h 3753 2020-07-10 09:32:46Z scribe $
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 DIAFILTMGR_H
24 #define DIAFILTMGR_H
25 
26 #define FMT_CGI 127
27 #define FMT_INTERNAL 126
28 
29 #include <encfiltmgr.h>
30 
31 #ifndef NO_SWORD_NAMESPACE
32 using namespace sword;
33 #endif
34 
36 protected:
42 
43  char markup;
44 
45  void CreateFilters(char markup);
46 public:
47  DiathekeFilterMgr(char markup = FMT_THML, char encoding = ENC_UTF8);
49  char Markup(char m = FMT_UNKNOWN);
50  virtual void addRenderFilters(SWModule *module, ConfigEntMap &section);
51 };
52 
53 #endif
SWFilter * fromgbf
Definition: diafiltmgr.h:38
SWText * module
Definition: osis2mod.cpp:105
SWFilter * fromplain
Definition: diafiltmgr.h:39
SWFilter * fromosis
Definition: diafiltmgr.h:40
SWORD_NAMESPACE_START typedef multimapwithdefault< SWBuf, SWBuf, std::less< SWBuf > > ConfigEntMap
Definition: swconfig.h:35
SWFilter * fromthml
Definition: diafiltmgr.h:37
SWFilter * fromtei
Definition: diafiltmgr.h:41