The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swfiltermgr.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * swfiltermgr.h - class SWFilterMgr: used to manage filters on a module
4  *
5  * $Id: swfiltermgr.h 3786 2020-08-30 11:35:14Z 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 SWFILTERMGR_H
24 #define SWFILTERMGR_H
25 
26 #include <defs.h>
27 #include <swconfig.h>
28 
30 
31 class SWModule;
32 class SWMgr;
33 
37 
38 private:
40 
41 public:
42  SWFilterMgr();
43  virtual ~SWFilterMgr();
44 
45  virtual void setParentMgr(SWMgr *parentMgr);
46  virtual SWMgr *getParentMgr();
47 
48  virtual void addGlobalOptions(SWModule *module, ConfigEntMap &section, ConfigEntMap::iterator start, ConfigEntMap::iterator end);
49  virtual void addLocalOptions(SWModule *module, ConfigEntMap &section, ConfigEntMap::iterator start, ConfigEntMap::iterator end);
50 
51 
57  virtual void addEncodingFilters(SWModule *module, ConfigEntMap &section);
58 
64  virtual void addRenderFilters(SWModule *module, ConfigEntMap &section);
65 
71  virtual void addStripFilters(SWModule *module, ConfigEntMap &section);
72 
78  virtual void addRawFilters(SWModule *module, ConfigEntMap &section);
79 
80 };
82 #endif
#define SWORD_NAMESPACE_START
Definition: defs.h:39
Definition: swmgr.h:93
#define SWDLLEXPORT
Definition: defs.h:171
SWText * module
Definition: osis2mod.cpp:105
SWORD_NAMESPACE_START typedef multimapwithdefault< SWBuf, SWBuf, std::less< SWBuf > > ConfigEntMap
Definition: swconfig.h:35
SWMgr * parentMgr
Definition: swfiltermgr.h:39
#define SWORD_NAMESPACE_END
Definition: defs.h:40