1
/******************************************************************************
2
* swfiltermgr.cpp - definition of class SWFilterMgr used as an interface to
3
* manage filters on a module
5
* $Id: swfiltermgr.cpp 1688 2005-01-01 04:42:26Z scribe $
7
* Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
8
* CrossWire Bible Society
10
* Tempe, AZ 85280-2528
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.
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.
23
#include <swfiltermgr.h>
28
SWFilterMgr::SWFilterMgr() {
32
SWFilterMgr::~SWFilterMgr() {
36
void SWFilterMgr::setParentMgr(SWMgr *parentMgr) {
37
this->parentMgr = parentMgr;
41
SWMgr *SWFilterMgr::getParentMgr() {
46
void SWFilterMgr::AddGlobalOptions(SWModule * module, ConfigEntMap & section, ConfigEntMap::iterator start, ConfigEntMap::iterator end) {
50
void SWFilterMgr::AddLocalOptions(SWModule * module, ConfigEntMap & section, ConfigEntMap::iterator start, ConfigEntMap::iterator end) {
55
* Adds the encoding filters which are defined in "section" to the SWModule object "module".
56
* @param module To this module the encoding filter(s) are added
57
* @param section We use this section to get a list of filters we should apply to the module
60
void SWFilterMgr::AddEncodingFilters(SWModule * module, ConfigEntMap & section) {
65
* Adds the render filters which are defined in "section" to the SWModule object "module".
66
* @param module To this module the render filter(s) are added
67
* @param section We use this section to get a list of filters we should apply to the module
70
void SWFilterMgr::AddRenderFilters(SWModule * module, ConfigEntMap & section) {
75
* Adds the strip filters which are defined in "section" to the SWModule object "module".
76
* @param module To this module the strip filter(s) are added
77
* @param section We use this section to get a list of filters we should apply to the module
80
void SWFilterMgr::AddStripFilters(SWModule * module, ConfigEntMap & section) {
85
* Adds the raw filters which are defined in "section" to the SWModule object "module".
86
* @param module To this module the raw filter(s) are added
87
* @param section We use this section to get a list of filters we should apply to the module
90
void SWFilterMgr::AddRawFilters(SWModule * module, ConfigEntMap & section) {