aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api-documentation/html/swmgr_8h-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api-documentation/html/swmgr_8h-source.html')
-rw-r--r--doc/api-documentation/html/swmgr_8h-source.html205
1 files changed, 106 insertions, 99 deletions
diff --git a/doc/api-documentation/html/swmgr_8h-source.html b/doc/api-documentation/html/swmgr_8h-source.html
index b70e2c0..021061a 100644
--- a/doc/api-documentation/html/swmgr_8h-source.html
+++ b/doc/api-documentation/html/swmgr_8h-source.html
@@ -3,115 +3,122 @@
<title>swmgr.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
-<!-- Generated by Doxygen 1.2.15 -->
+<!-- Generated by Doxygen 1.2.17 -->
<center>
-<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
-<hr><h1>swmgr.h</h1><div class="fragment"><pre>00001 <font class="comment">/******************************************************************************</font>
-00002 <font class="comment"> * swmgr.h - definition of class SWMgr used to interact with an install</font>
-00003 <font class="comment"> * base of sword modules.</font>
-00004 <font class="comment"> *</font>
-00005 <font class="comment"> * $Id: swmgr_8h-source.html,v 1.7 2002/06/20 20:23:10 mgruner Exp $</font>
-00006 <font class="comment"> *</font>
-00007 <font class="comment"> * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)</font>
-00008 <font class="comment"> * CrossWire Bible Society</font>
-00009 <font class="comment"> * P. O. Box 2528</font>
-00010 <font class="comment"> * Tempe, AZ 85280-2528</font>
-00011 <font class="comment"> *</font>
-00012 <font class="comment"> * This program is free software; you can redistribute it and/or modify it</font>
-00013 <font class="comment"> * under the terms of the GNU General Public License as published by the</font>
-00014 <font class="comment"> * Free Software Foundation version 2.</font>
-00015 <font class="comment"> *</font>
-00016 <font class="comment"> * This program is distributed in the hope that it will be useful, but</font>
-00017 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
-00018 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
-00019 <font class="comment"> * General Public License for more details.</font>
-00020 <font class="comment"> *</font>
-00021 <font class="comment"> */</font>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
+<hr><h1>swmgr.h</h1><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span>
+00002 <span class="comment">* swmgr.h - definition of class SWMgr used to interact with an install</span>
+00003 <span class="comment">* base of sword modules.</span>
+00004 <span class="comment">*</span>
+00005 <span class="comment">* $Id: swmgr_8h-source.html,v 1.9 2002/10/31 11:30:16 joachim Exp $</span>
+00006 <span class="comment">*</span>
+00007 <span class="comment">* Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)</span>
+00008 <span class="comment">* CrossWire Bible Society</span>
+00009 <span class="comment">* P. O. Box 2528</span>
+00010 <span class="comment">* Tempe, AZ 85280-2528</span>
+00011 <span class="comment">*</span>
+00012 <span class="comment">* This program is free software; you can redistribute it and/or modify it</span>
+00013 <span class="comment">* under the terms of the GNU General Public License as published by the</span>
+00014 <span class="comment">* Free Software Foundation version 2.</span>
+00015 <span class="comment">*</span>
+00016 <span class="comment">* This program is distributed in the hope that it will be useful, but</span>
+00017 <span class="comment">* WITHOUT ANY WARRANTY; without even the implied warranty of</span>
+00018 <span class="comment">* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
+00019 <span class="comment">* General Public License for more details.</span>
+00020 <span class="comment">*</span>
+00021 <span class="comment">*/</span>
00022
-00039 <font class="preprocessor">#ifndef SWMGR_H</font>
-00040 <font class="preprocessor"></font><font class="preprocessor">#define SWMGR_H</font>
-00041 <font class="preprocessor"></font>
-00042 <font class="preprocessor">#include &lt;sys/types.h&gt;</font>
-00043 <font class="preprocessor">#include &lt;string&gt;</font>
-00044 <font class="preprocessor">#include &lt;map&gt;</font>
-00045 <font class="preprocessor">#include &lt;list&gt;</font>
-00046 <font class="preprocessor">#include &lt;swmodule.h&gt;</font>
-00047 <font class="preprocessor">#include &lt;swconfig.h&gt;</font>
-00048 <font class="preprocessor">#include &lt;swlog.h&gt;</font>
-00049 <font class="preprocessor">#include &lt;swfiltermgr.h&gt;</font>
+00039 <span class="preprocessor">#ifndef SWMGR_H</span>
+00040 <span class="preprocessor"></span><span class="preprocessor">#define SWMGR_H</span>
+00041 <span class="preprocessor"></span>
+00042 <span class="preprocessor">#include &lt;sys/types.h&gt;</span>
+00043 <span class="preprocessor">#include &lt;string&gt;</span>
+00044 <span class="preprocessor">#include &lt;map&gt;</span>
+00045 <span class="preprocessor">#include &lt;list&gt;</span>
+00046 <span class="preprocessor">#include &lt;swmodule.h&gt;</span>
+00047 <span class="preprocessor">#include &lt;swconfig.h&gt;</span>
+00048 <span class="preprocessor">#include &lt;swlog.h&gt;</span>
+00049 <span class="preprocessor">#include &lt;swfiltermgr.h&gt;</span>
00050
-00051 <font class="preprocessor">#include &lt;defs.h&gt;</font>
+00051 <span class="preprocessor">#include &lt;defs.h&gt;</span>
00052
-00053 <font class="keyword">using</font> <font class="keyword">namespace </font>std;
+00053 SWORD_NAMESPACE_START
00054
-00055 <font class="keyword">typedef</font> map &lt; string, SWModule *, less &lt; string &gt; &gt;ModMap;
-00056 <font class="keyword">typedef</font> list &lt; string &gt; OptionsList;
-00057 <font class="keyword">typedef</font> map &lt; string, SWFilter * &gt;FilterMap;
+00055 <span class="keyword">typedef</span> std::map &lt; std::string, SWModule *, std::less &lt; std::string &gt; &gt;ModMap;
+00056 <span class="keyword">typedef</span> std::list &lt; std::string &gt; <a class="code" href="namespacesword.html#a82">OptionsList</a>;
+00057 <span class="keyword">typedef</span> std::map &lt; std::string, SWFilter * &gt;FilterMap;
00058
-<a name="l00069"></a><a class="code" href="class_s_w_mgr.html">00069</a> <font class="keyword">class </font>SWDLLEXPORT <a class="code" href="class_s_w_mgr.html">SWMgr</a> {
+<a name="l00069"></a><a class="code" href="classsword_1_1_s_w_mgr.html">00069</a> <span class="keyword">class </span>SWDLLEXPORT <a class="code" href="classsword_1_1_s_w_mgr.html">SWMgr</a> {
00070
-00071 <font class="keyword">private</font>:
-00072 <font class="keywordtype">void</font> commonInit(<a class="code" href="class_s_w_config.html">SWConfig</a> * iconfig, <a class="code" href="class_s_w_config.html">SWConfig</a> * isysconfig, <font class="keywordtype">bool</font> autoload, SWFilterMgr *filterMgr);
+00071 <span class="keyword">private</span>:
+00072 <span class="keywordtype">void</span> commonInit(<a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> * iconfig, <a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> * isysconfig, <span class="keywordtype">bool</span> autoload, SWFilterMgr *filterMgr);
00073
-00074 <font class="keyword">protected</font>:
-00075 SWFilterMgr *filterMgr; <font class="comment">//made protected because because BibleTime needs it</font>
-00076 <a class="code" href="class_s_w_config.html">SWConfig</a> * myconfig; <font class="comment">//made protected because because BibleTime needs it</font>
-00077 <a class="code" href="class_s_w_config.html">SWConfig</a> *mysysconfig;
-00078 <a class="code" href="class_s_w_config.html">SWConfig</a> *homeConfig;
-00079 <font class="keywordtype">void</font> CreateMods ();
-00080 <a class="code" href="class_s_w_module.html">SWModule</a> *CreateMod (string name, string driver, ConfigEntMap &amp; section);
-00081 <font class="keywordtype">void</font> DeleteMods ();
-00082 <font class="keywordtype">char</font> configType; <font class="comment">// 0 = file; 1 = directory</font>
-00083 FilterMap optionFilters;
-00084 FilterMap cipherFilters;
-00085 SWFilter *gbfplain;
-00086 SWFilter *thmlplain;
-00087 FilterList cleanupFilters;
-00088 OptionsList options;
-00089 <font class="keyword">virtual</font> <font class="keywordtype">void</font> init (); <font class="comment">// use to initialize before loading modules</font>
-00090 <font class="keyword">virtual</font> <font class="keywordtype">char</font> AddModToConfig (<font class="keywordtype">int</font> conffd, <font class="keyword">const</font> <font class="keywordtype">char</font> *fname);
-00091 <font class="keyword">virtual</font> <font class="keywordtype">void</font> loadConfigDir (<font class="keyword">const</font> <font class="keywordtype">char</font> *ipath);
-00092 <font class="keyword">virtual</font> <font class="keywordtype">void</font> AddGlobalOptions (<a class="code" href="class_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section,
-00093 ConfigEntMap::iterator start,
-00094 ConfigEntMap::iterator end);
-00095 <font class="keyword">virtual</font> <font class="keywordtype">void</font> AddLocalOptions (<a class="code" href="class_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section,
-00096 ConfigEntMap::iterator start,
-00097 ConfigEntMap::iterator end);
-00098
-00104 <font class="keyword">virtual</font> <font class="keywordtype">void</font> AddEncodingFilters (<a class="code" href="class_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
-00110 <font class="keyword">virtual</font> <font class="keywordtype">void</font> AddRenderFilters (<a class="code" href="class_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
-00116 <font class="keyword">virtual</font> <font class="keywordtype">void</font> AddStripFilters (<a class="code" href="class_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
-00122 <font class="keyword">virtual</font> <font class="keywordtype">void</font> AddRawFilters (<a class="code" href="class_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
-00123
-00124 <font class="keyword">public</font>:
+00074 <span class="keyword">protected</span>:
+00075 SWFilterMgr *filterMgr; <span class="comment">//made protected because because BibleTime needs it</span>
+00076 <a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> * myconfig; <span class="comment">//made protected because because BibleTime needs it</span>
+00077 <a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> *mysysconfig;
+00078 <a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> *homeConfig;
+00079 <span class="keywordtype">void</span> CreateMods();
+00080 <a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> *CreateMod(std::string name, std::string driver, ConfigEntMap &amp; section);
+00081 <span class="keywordtype">void</span> DeleteMods();
+00082 <span class="keywordtype">char</span> configType; <span class="comment">// 0 = file; 1 = directory</span>
+00083 FilterMap optionFilters;
+00084 FilterMap cipherFilters;
+00085 SWFilter *gbfplain;
+00086 SWFilter *thmlplain;
+00087 SWFilter *transliterator;
+00088 FilterList cleanupFilters;
+00089 <a class="code" href="namespacesword.html#a82">OptionsList</a> options;
+00090 <span class="keyword">virtual</span> <span class="keywordtype">void</span> init(); <span class="comment">// use to initialize before loading modules</span>
+00091 <span class="keyword">virtual</span> <span class="keywordtype">char</span> AddModToConfig(<span class="keywordtype">int</span> conffd, <span class="keyword">const</span> <span class="keywordtype">char</span> *fname);
+00092 <span class="keyword">virtual</span> <span class="keywordtype">void</span> loadConfigDir(<span class="keyword">const</span> <span class="keywordtype">char</span> *ipath);
+00093 <span class="keyword">virtual</span> <span class="keywordtype">void</span> AddGlobalOptions(<a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section,
+00094 ConfigEntMap::iterator start,
+00095 ConfigEntMap::iterator end);
+00096 <span class="keyword">virtual</span> <span class="keywordtype">void</span> AddLocalOptions(<a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section,
+00097 ConfigEntMap::iterator start,
+00098 ConfigEntMap::iterator end);
+00099 std::list&lt;std::string&gt; augPaths;
+00100
+00106 <span class="keyword">virtual</span> <span class="keywordtype">void</span> AddEncodingFilters(<a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
+00112 <span class="keyword">virtual</span> <span class="keywordtype">void</span> AddRenderFilters(<a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
+00118 <span class="keyword">virtual</span> <span class="keywordtype">void</span> AddStripFilters(<a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
+00124 <span class="keyword">virtual</span> <span class="keywordtype">void</span> AddRawFilters(<a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> * module, ConfigEntMap &amp; section);
00125
-00130 <font class="keyword">static</font> <font class="keywordtype">bool</font> debug;
-00131 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *globalConfPath;
-00135 <font class="keyword">static</font> <font class="keywordtype">void</font> findConfig (<font class="keywordtype">char</font> *configType, <font class="keywordtype">char</font> **prefixPath,
-00136 <font class="keywordtype">char</font> **configPath);
-<a name="l00145"></a><a class="code" href="class_s_w_mgr.html#m0">00145</a> <a class="code" href="class_s_w_config.html">SWConfig</a> *config;
-00149 <a class="code" href="class_s_w_config.html">SWConfig</a> *sysconfig;
-<a name="l00172"></a><a class="code" href="class_s_w_mgr.html#m2">00172</a> ModMap Modules;
-<a name="l00176"></a><a class="code" href="class_s_w_mgr.html#m3">00176</a> <font class="keywordtype">char</font> *prefixPath;
-00180 <font class="keywordtype">char</font> *configPath;
-00181
-00189 <a class="code" href="class_s_w_mgr.html">SWMgr</a> (<a class="code" href="class_s_w_config.html">SWConfig</a> * iconfig = 0, <a class="code" href="class_s_w_config.html">SWConfig</a> * isysconfig = 0, <font class="keywordtype">bool</font> autoload = <font class="keyword">true</font>, SWFilterMgr *filterMgr = 0);
-00194 <a class="code" href="class_s_w_mgr.html">SWMgr</a> (SWFilterMgr *filterMgr);
-00204 <a class="code" href="class_s_w_mgr.html">SWMgr</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *iConfigPath, <font class="keywordtype">bool</font> autoload = <font class="keyword">true</font>, SWFilterMgr *filterMgr = 0);
-00210 <font class="keyword">virtual</font> ~<a class="code" href="class_s_w_mgr.html">SWMgr</a> ();
-00214 <font class="keyword">virtual</font> <font class="keywordtype">void</font> InstallScan (<font class="keyword">const</font> <font class="keywordtype">char</font> *dir);
-00219 <font class="keyword">virtual</font> <font class="keywordtype">signed</font> <font class="keywordtype">char</font> Load ();
-00227 <font class="keyword">virtual</font> <font class="keywordtype">void</font> setGlobalOption (<font class="keyword">const</font> <font class="keywordtype">char</font> *option, <font class="keyword">const</font> <font class="keywordtype">char</font> *value);
-00232 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *getGlobalOption (<font class="keyword">const</font> <font class="keywordtype">char</font> *option);
-00238 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *getGlobalOptionTip (<font class="keyword">const</font> <font class="keywordtype">char</font> *option);
-00242 <font class="keyword">virtual</font> OptionsList getGlobalOptions ();
-00246 <font class="keyword">virtual</font> OptionsList getGlobalOptionValues (<font class="keyword">const</font> <font class="keywordtype">char</font> *option);
-00288 <font class="keyword">virtual</font> <font class="keywordtype">signed</font> <font class="keywordtype">char</font> setCipherKey (<font class="keyword">const</font> <font class="keywordtype">char</font> *modName, <font class="keyword">const</font> <font class="keywordtype">char</font> *key);
-00289 };
-00290 <font class="preprocessor">#endif</font>
-</pre></div><hr><address align="right"><small>Generated on Thu Jun 20 22:13:00 2002 for The Sword Project by
+00126 <span class="keyword">virtual</span> <span class="keywordtype">void</span> augmentModules(<span class="keyword">const</span> <span class="keywordtype">char</span> *ipath);
+00127
+00128 <span class="keyword">public</span>:
+00129
+00134 <span class="keyword">static</span> <span class="keywordtype">bool</span> debug;
+00135 <span class="keyword">static</span> <span class="keywordtype">bool</span> isICU;
+00136 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *globalConfPath;
+00140 <span class="keyword">static</span> <span class="keywordtype">void</span> findConfig(<span class="keywordtype">char</span> *configType, <span class="keywordtype">char</span> **prefixPath, <span class="keywordtype">char</span> **configPath, std::list&lt;std::string&gt; *augPaths = 0);
+<a name="l00149"></a><a class="code" href="classsword_1_1_s_w_mgr.html#m0">00149</a> <a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> *config;
+00153 <a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> *sysconfig;
+<a name="l00176"></a><a class="code" href="classsword_1_1_s_w_mgr.html#m2">00176</a> ModMap Modules;
+00177 <a class="code" href="classsword_1_1_s_w_module.html">SWModule</a> *getModule(<span class="keyword">const</span> <span class="keywordtype">char</span> *modName) { ModMap::iterator it = Modules.find(modName); <span class="keywordflow">return</span> ((it != Modules.end()) ? it-&gt;second : 0); }
+<a name="l00181"></a><a class="code" href="classsword_1_1_s_w_mgr.html#m3">00181</a> <span class="keywordtype">char</span> *prefixPath;
+00185 <span class="keywordtype">char</span> *configPath;
+00186
+00194 <a class="code" href="classsword_1_1_s_w_mgr.html">SWMgr</a>(<a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> * iconfig = 0, <a class="code" href="classsword_1_1_s_w_config.html">SWConfig</a> * isysconfig = 0, <span class="keywordtype">bool</span> autoload = <span class="keyword">true</span>, SWFilterMgr *filterMgr = 0);
+00199 <a class="code" href="classsword_1_1_s_w_mgr.html">SWMgr</a>(SWFilterMgr *filterMgr);
+00209 <a class="code" href="classsword_1_1_s_w_mgr.html">SWMgr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *iConfigPath, <span class="keywordtype">bool</span> autoload = <span class="keyword">true</span>, SWFilterMgr *filterMgr = 0);
+00215 <span class="keyword">virtual</span> ~<a class="code" href="classsword_1_1_s_w_mgr.html">SWMgr</a>();
+00219 <span class="keyword">virtual</span> <span class="keywordtype">void</span> InstallScan(<span class="keyword">const</span> <span class="keywordtype">char</span> *dir);
+00224 <span class="keyword">virtual</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> Load();
+00232 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setGlobalOption(<span class="keyword">const</span> <span class="keywordtype">char</span> *option, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);
+00237 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *getGlobalOption(<span class="keyword">const</span> <span class="keywordtype">char</span> *option);
+00243 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *getGlobalOptionTip(<span class="keyword">const</span> <span class="keywordtype">char</span> *option);
+00247 <span class="keyword">virtual</span> <a class="code" href="namespacesword.html#a82">OptionsList</a> getGlobalOptions();
+00251 <span class="keyword">virtual</span> <a class="code" href="namespacesword.html#a82">OptionsList</a> getGlobalOptionValues(<span class="keyword">const</span> <span class="keywordtype">char</span> *option);
+00293 <span class="keyword">virtual</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> setCipherKey(<span class="keyword">const</span> <span class="keywordtype">char</span> *modName, <span class="keyword">const</span> <span class="keywordtype">char</span> *key);
+00294 };
+00295
+00296 SWORD_NAMESPACE_END
+00297 <span class="preprocessor">#endif</span>
+</pre></div><hr><address style="align: right;"><small>Generated on Thu Oct 31 12:11:28 2002 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
-width=110 height=53></a>1.2.15 </small></address>
+width=110 height=53></a>1.2.17 </small></address>
</body>
</html>