Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

swfiltermgr.h

00001 /******************************************************************************
00002  *  swfiltermgr.h   - definition of class SWFilterMgr used as an interface to
00003  *                              manage filters on a module
00004  *
00005  * $Id: swfiltermgr_8h-source.html,v 1.5 2002/06/20 20:23:10 mgruner Exp $
00006  *
00007  * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
00008  *      CrossWire Bible Society
00009  *      P. O. Box 2528
00010  *      Tempe, AZ  85280-2528
00011  *
00012  * This program is free software; you can redistribute it and/or modify it
00013  * under the terms of the GNU General Public License as published by the
00014  * Free Software Foundation version 2.
00015  *
00016  * This program is distributed in the hope that it will be useful, but
00017  * WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * General Public License for more details.
00020  *
00021  */
00022 
00023 #ifndef SWFILTERMGR_H
00024 #define SWFILTERMGR_H
00025 
00026 #include <sys/types.h>
00027 #include <swmodule.h>
00028 #include <swconfig.h>
00029 #include <swlog.h>
00030 
00031 #include <defs.h>
00032 
00033 class SWMgr;
00034 
00035 
00036 class SWDLLEXPORT SWFilterMgr {
00037 
00038 private:
00039         SWMgr *parentMgr;
00040 
00041 public:
00042   SWFilterMgr ();
00043   virtual ~SWFilterMgr ();
00044 
00045   virtual void setParentMgr(SWMgr *parentMgr);
00046   virtual SWMgr *getParentMgr();
00047 
00048   virtual void AddGlobalOptions (SWModule * module, ConfigEntMap & section,
00049                                  ConfigEntMap::iterator start,
00050                                  ConfigEntMap::iterator end);
00051   virtual void AddLocalOptions (SWModule * module, ConfigEntMap & section,
00052                                 ConfigEntMap::iterator start,
00053                                 ConfigEntMap::iterator end);
00054 
00060   virtual void AddEncodingFilters (SWModule * module, ConfigEntMap & section);
00066   virtual void AddRenderFilters (SWModule * module, ConfigEntMap & section);
00072   virtual void AddStripFilters (SWModule * module, ConfigEntMap & section);
00078   virtual void AddRawFilters (SWModule * module, ConfigEntMap & section);
00079 
00080 };
00081 
00082 #endif

Generated on Thu Jun 20 22:13:00 2002 for The Sword Project by doxygen1.2.15