76 typedef std::map < SWBuf, SWModule *, std::less < SWBuf > >
ModMap;
135 virtual void createAllModules(
bool multiMod =
false);
141 virtual void deleteAllModules();
267 virtual char addModToConfig(
FileDesc *conffd,
const char *fname);
268 virtual void loadConfigDir(
const char *ipath);
291 static void findConfig(
char *configType,
char **prefixPath,
char **configPath,
StringList *augPaths = 0,
SWConfig **providedSysConf = 0);
361 ModMap::iterator it = getModules().find(modName);
362 if (it == getModules().end()) it = getUtilModules().find(modName);
363 return ((it != getUtilModules().end()) ? it->second : 0);
366 ModMap::const_iterator it = getModules().find(modName);
367 if (it == getModules().end()) it = getUtilModules().find(modName);
368 return ((it != getUtilModules().end()) ? it->second : 0);
397 SWMgr(
const char *iConfigPath,
bool autoload =
true,
SWFilterMgr *filterMgr = 0,
bool multiMod =
false,
bool augmentHome =
true);
412 virtual void augmentModules(
const char *path,
bool multiMod =
false);
414 void deleteModule(
const char *);
421 virtual void InstallScan(
const char *dir);
436 virtual signed char load();
443 virtual void setGlobalOption(
const char *option,
const char *value);
449 virtual const char *getGlobalOption(
const char *option);
456 virtual const char *getGlobalOptionTip(
const char *option);
468 virtual StringList getGlobalOptionValues(
const char *option);
530 virtual signed char setCipherKey(
const char *modName,
const char *key);
SWOptionFilter * transliterator
#define SWORD_NAMESPACE_START
virtual SWDEPRECATED void AddEncodingFilters(SWModule *module, ConfigEntMap §ion)
virtual SWDEPRECATED void AddRawFilters(SWModule *module, ConfigEntMap §ion)
SWDEPRECATED void DeleteMods()
static const char * MODTYPE_GENBOOKS
std::map< SWBuf, SWOptionFilter * > OptionFilterMap
std::list< SWOptionFilter * > OptionFilterList
static const char * MODTYPE_LEXDICTS
SWDEPRECATED void CreateMods(bool multiMod=false)
virtual SWDEPRECATED void AddStripFilters(SWModule *module, ConfigEntMap §ion)
virtual SWDEPRECATED void AddRenderFilters(SWModule *module, ConfigEntMap §ion)
virtual SWDEPRECATED signed char Load()
static const char * MODTYPE_BIBLES
SWModule * getModule(const char *modName)
OptionFilterMap optionFilters
std::map< SWBuf, SWFilter * > FilterMap
const ModMap & getUtilModules() const
std::list< SWBuf > StringList
virtual SWDEPRECATED void AddLocalOptions(SWModule *module, ConfigEntMap §ion, ConfigEntMap::iterator start, ConfigEntMap::iterator end)
std::list< SWFilter * > FilterList
static const char * MODTYPE_COMMENTARIES
FilterList cleanupFilters
std::map< SWBuf, SWModule *, std::less< SWBuf > > ModMap
virtual SWDEPRECATED void AddStripFilters(SWModule *module, ConfigEntMap §ion, ConfigEntMap::iterator start, ConfigEntMap::iterator end)
static const char * MODTYPE_DAILYDEVOS
const ModMap & getModules() const
const SWModule * getModule(const char *modName) const
SWORD_NAMESPACE_START typedef multimapwithdefault< SWBuf, SWBuf, std::less< SWBuf > > ConfigEntMap
#define SWORD_NAMESPACE_END
virtual SWDEPRECATED void AddGlobalOptions(SWModule *module, ConfigEntMap §ion, ConfigEntMap::iterator start, ConfigEntMap::iterator end)
static const char * globalConfPath