diff options
author | danglassey <danglassey> | 2002-10-29 14:08:55 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-10-29 14:08:55 +0000 |
commit | abbd1d2066e9e1e55d3bc45bb4a9e356e6b05f42 (patch) | |
tree | 24954cc991e14c46509b115806e77cf7495c85c6 /include/swmgr.h | |
parent | 82e2027e09a8ddb37ff43d91bc5623da3ebe6a20 (diff) | |
download | sword-sf-cvs-abbd1d2066e9e1e55d3bc45bb4a9e356e6b05f42.tar.gz |
sync with crosswire 20021029-1400
Diffstat (limited to 'include/swmgr.h')
-rw-r--r-- | include/swmgr.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/swmgr.h b/include/swmgr.h index c924494..313aeb3 100644 --- a/include/swmgr.h +++ b/include/swmgr.h @@ -2,7 +2,7 @@ * swmgr.h - definition of class SWMgr used to interact with an install * base of sword modules. * -* $Id: swmgr.h,v 1.48 2002/10/01 22:04:58 dglassey Exp $ +* $Id: swmgr.h,v 1.49 2002/10/29 00:15:08 scribe Exp $ * * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -64,7 +64,7 @@ typedef std::map < std::string, SWFilter * >FilterMap; * * To get the SWModule objects of the instalelled modules use @ref Modules for this. * @see AddRawFilters(), AddRenderFilters(), AddStripFilters() -* @version $Id: swmgr.h,v 1.48 2002/10/01 22:04:58 dglassey Exp $ +* @version $Id: swmgr.h,v 1.49 2002/10/29 00:15:08 scribe Exp $ */ class SWDLLEXPORT SWMgr { @@ -152,7 +152,7 @@ public: */ SWConfig *sysconfig; /** The map of available modules. - * This map contains thew list of available modules in Sword. + * This map contains the list of available modules in Sword. * Here's an example how to got through the map and how toc ehck for the module type. * *@code @@ -174,6 +174,7 @@ public: * @endcode */ ModMap Modules; + SWModule *getModule(const char *modName) { ModMap::iterator it = Modules.find(modName); return ((it != Modules.end()) ? it->second : 0); } /** The path to your Sword directory * */ |