<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: cstool/initapp.h Source File (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>cstool/initapp.h</h1><a href="initapp_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> Copyright (C) 1998-2001 by Jorrit Tyberghein</span> <a name="l00003"></a>00003 <span class="comment"></span> <a name="l00004"></a>00004 <span class="comment"> This library is free software; you can redistribute it and/or</span> <a name="l00005"></a>00005 <span class="comment"> modify it under the terms of the GNU Library General Public</span> <a name="l00006"></a>00006 <span class="comment"> License as published by the Free Software Foundation; either</span> <a name="l00007"></a>00007 <span class="comment"> version 2 of the License, or (at your option) any later version.</span> <a name="l00008"></a>00008 <span class="comment"></span> <a name="l00009"></a>00009 <span class="comment"> This library is distributed in the hope that it will be useful,</span> <a name="l00010"></a>00010 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00011"></a>00011 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00012"></a>00012 <span class="comment"> Library General Public License for more details.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment"> You should have received a copy of the GNU Library General Public</span> <a name="l00015"></a>00015 <span class="comment"> License along with this library; if not, write to the Free</span> <a name="l00016"></a>00016 <span class="comment"> Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> <a name="l00017"></a>00017 <span class="comment">*/</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#ifndef __CS_INITAPP_H__</span> <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define __CS_INITAPP_H__</span> <a name="l00021"></a>00021 <span class="preprocessor"></span> <a name="l00030"></a>00030 <span class="preprocessor">#include "csextern.h"</span> <a name="l00031"></a>00031 <a name="l00032"></a>00032 <span class="preprocessor">#include "<a class="code" href="csutil_2array_8h.html" title="Generic Array Template.">csutil/array.h</a>"</span> <a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="csutil_2eventnames_8h.html" title="Event naming and name relations.">csutil/eventnames.h</a>"</span> <a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="csstring_8h.html" title="String utility class.">csutil/csstring.h</a>"</span> <a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="scf_8h.html" title="Crystal Space Shared Class Facility (SCF).">csutil/scf.h</a>"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="engine_8h.html" title="Crystal Space 3D Engine Interface.">iengine/engine.h</a>"</span> <a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="imageio_8h.html" title="Image input/output interface.">igraphic/imageio.h</a>"</span> <a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="loader_8h.html" title="Geometry loader interface.">imap/loader.h</a>"</span> <a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="saver_8h.html" title="Engine contents saving.">imap/saver.h</a>"</span> <a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="evdefs_8h.html" title="Event system related interfaces.">iutil/evdefs.h</a>"</span> <a name="l00041"></a>00041 <span class="preprocessor">#include "<a class="code" href="vfs_8h.html" title="Virtual File System SCF interface.">iutil/vfs.h</a>"</span> <a name="l00042"></a>00042 <span class="preprocessor">#include "<a class="code" href="iutil_2objreg_8h.html" title="Object registry interface.">iutil/objreg.h</a>"</span> <a name="l00043"></a>00043 <span class="preprocessor">#include "<a class="code" href="plugin_8h.html" title="Plugin manager interface.">iutil/plugin.h</a>"</span> <a name="l00044"></a>00044 <span class="preprocessor">#include "<a class="code" href="conout_8h.html" title="Graphical console output.">ivaria/conout.h</a>"</span> <a name="l00045"></a>00045 <span class="preprocessor">#include "<a class="code" href="reporter_8h.html" title="Reporter interface.">ivaria/reporter.h</a>"</span> <a name="l00046"></a>00046 <span class="preprocessor">#include "<a class="code" href="stdrep_8h.html" title="Standard reporter listener interface.">ivaria/stdrep.h</a>"</span> <a name="l00047"></a>00047 <span class="preprocessor">#include "<a class="code" href="graph3d_8h.html" title="3D graphics interface">ivideo/graph3d.h</a>"</span> <a name="l00048"></a>00048 <span class="preprocessor">#include "<a class="code" href="fontserv_8h.html" title="Font server interface.">ivideo/fontserv.h</a>"</span> <a name="l00049"></a>00049 <a name="l00050"></a>00050 <span class="keyword">struct </span><a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>; <a name="l00051"></a>00051 <span class="keyword">struct </span><a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>; <a name="l00052"></a>00052 <span class="keyword">struct </span><a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>; <a name="l00053"></a>00053 <span class="keyword">struct </span><a class="code" href="structiEventQueue.html" title="This interface represents a general event queue.">iEventQueue</a>; <a name="l00054"></a>00054 <span class="keyword">struct </span><a class="code" href="structiPluginManager.html" title="This is the plugin manager.">iPluginManager</a>; <a name="l00055"></a>00055 <span class="keyword">struct </span><a class="code" href="structiVirtualClock.html" title="A virtual game clock.">iVirtualClock</a>; <a name="l00056"></a>00056 <span class="keyword">struct </span><a class="code" href="structiCommandLineParser.html" title="A utility class that makes it easier to parse the command line.">iCommandLineParser</a>; <a name="l00057"></a>00057 <span class="keyword">struct </span><a class="code" href="structiConfigManager.html" title="The configuration manager is used to make a number of iConfigFile object appear like...">iConfigManager</a>; <a name="l00058"></a>00058 <span class="keyword">struct </span><a class="code" href="structiVerbosityManager.html" title="Helper interface which applications and plugins can use to determine whether they...">iVerbosityManager</a>; <a name="l00059"></a>00059 <a name="l00063"></a>00063 <a name="l00064"></a><a class="code" href="group__appframe.html#ga93e57905eb2720951569ace7a2f1c3b">00064</a> <span class="preprocessor">#define CS_REQUEST_PLUGIN(Name,Interface) \</span> <a name="l00065"></a>00065 <span class="preprocessor"> Name, scfInterfaceTraits<Interface>::GetName(), \</span> <a name="l00066"></a>00066 <span class="preprocessor"> scfInterfaceTraits<Interface>::GetID(), \</span> <a name="l00067"></a>00067 <span class="preprocessor"> scfInterfaceTraits<Interface>::GetVersion()</span> <a name="l00069"></a><a class="code" href="group__appframe.html#g769a2cbda4b879250d764cdb6f7801da">00069</a> <span class="preprocessor">#define CS_REQUEST_PLUGIN_TAG(Name,Interface,Tag) \</span> <a name="l00070"></a>00070 <span class="preprocessor"> Name ":" Tag , scfInterfaceTraits<Interface>::GetName(), \</span> <a name="l00071"></a>00071 <span class="preprocessor"> scfInterfaceTraits<Interface>::GetID(), \</span> <a name="l00072"></a>00072 <span class="preprocessor"> scfInterfaceTraits<Interface>::GetVersion()</span> <a name="l00073"></a>00073 <span class="preprocessor"></span> <a name="l00074"></a>00074 <span class="comment">// !!! NOTE !!!</span> <a name="l00075"></a>00075 <span class="comment">// When editing this list, you *must* ensure that initapp.h #include the</span> <a name="l00076"></a>00076 <span class="comment">// appropriate header for each SCF interface mentioned by a CS_REQUEST_PLUGIN()</span> <a name="l00077"></a>00077 <span class="comment">// invocation. This is necessary to guarantee that the interface-specialized</span> <a name="l00078"></a>00078 <span class="comment">// version of scfInterfaceTraits<> is seen by clients rather than the non-specialized</span> <a name="l00079"></a>00079 <span class="comment">// template.</span> <a name="l00080"></a>00080 <a name="l00082"></a><a class="code" href="group__appframe.html#gc41ce4979a7a8d0c03398582431d33fd">00082</a> <span class="preprocessor">#define CS_REQUEST_END \</span> <a name="l00083"></a>00083 <span class="preprocessor"> (const char*)0</span> <a name="l00085"></a><a class="code" href="group__appframe.html#gaa0a3ada833a582e7384868fe8dfcdc5">00085</a> <span class="preprocessor">#define CS_REQUEST_VFS \</span> <a name="l00086"></a>00086 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.kernel.vfs", iVFS)</span> <a name="l00088"></a><a class="code" href="group__appframe.html#g42cf474b4c99d675a3c3a99d19a0e918">00088</a> <span class="preprocessor">#define CS_REQUEST_FONTSERVER \</span> <a name="l00089"></a>00089 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.font.server.multiplexer", iFontServer)</span> <a name="l00091"></a><a class="code" href="group__appframe.html#ge42c369b9dced8035730008c78cce5b9">00091</a> <span class="preprocessor">#define CS_REQUEST_IMAGELOADER \</span> <a name="l00092"></a>00092 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.graphic.image.io.multiplexer", iImageIO)</span> <a name="l00094"></a><a class="code" href="group__appframe.html#g54c20a9dd1613c1decd649b76b8ed8d9">00094</a> <span class="preprocessor">#define CS_REQUEST_NULL3D \</span> <a name="l00095"></a>00095 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.graphics3d.null",iGraphics3D)</span> <a name="l00097"></a><a class="code" href="group__appframe.html#g497d8c02d54a590c8bbe1dce0ecff2a2">00097</a> <span class="preprocessor">#define CS_REQUEST_SOFTWARE3D \</span> <a name="l00098"></a>00098 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.graphics3d.software",iGraphics3D)</span> <a name="l00100"></a><a class="code" href="group__appframe.html#gfc00bb30293d30ccf64a253b260a0a64">00100</a> <span class="preprocessor">#define CS_REQUEST_OPENGL3D \</span> <a name="l00101"></a>00101 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.graphics3d.opengl", iGraphics3D)</span> <a name="l00103"></a><a class="code" href="group__appframe.html#g89d238e62b58958a7ec2ddbb5c3d5e25">00103</a> <span class="preprocessor">#define CS_REQUEST_ENGINE \</span> <a name="l00104"></a>00104 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.engine.3d", iEngine)</span> <a name="l00106"></a><a class="code" href="group__appframe.html#g42ddbf31c65cc88df2d87add9b935802">00106</a> <span class="preprocessor">#define CS_REQUEST_LEVELLOADER \</span> <a name="l00107"></a>00107 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.level.loader", iLoader)</span> <a name="l00109"></a><a class="code" href="group__appframe.html#g8e89f0bc7c4636f060a7741b5951d0ee">00109</a> <span class="preprocessor">#define CS_REQUEST_LEVELSAVER \</span> <a name="l00110"></a>00110 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.level.saver", iSaver)</span> <a name="l00112"></a><a class="code" href="group__appframe.html#g27f155b85a03d701d070902f6d78e70b">00112</a> <span class="preprocessor">#define CS_REQUEST_REPORTER \</span> <a name="l00113"></a>00113 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.utilities.reporter", iReporter)</span> <a name="l00115"></a><a class="code" href="group__appframe.html#g26e1255d529327b44cdfbd1663aa140d">00115</a> <span class="preprocessor">#define CS_REQUEST_REPORTERLISTENER \</span> <a name="l00116"></a>00116 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.utilities.stdrep", iStandardReporterListener)</span> <a name="l00118"></a><a class="code" href="group__appframe.html#g87bd363a29d521bd608c948f0a0d7e00">00118</a> <span class="preprocessor">#define CS_REQUEST_CONSOLEOUT \</span> <a name="l00119"></a>00119 <span class="preprocessor"> CS_REQUEST_PLUGIN("crystalspace.console.output.standard", iConsoleOutput)</span> <a name="l00120"></a>00120 <span class="preprocessor"></span> <a name="l00125"></a><a class="code" href="group__appframe.html#g542e5cde1d58cfc041f28966ffec5a54">00125</a> <span class="keyword">typedef</span> bool (*<a class="code" href="group__appframe.html#g542e5cde1d58cfc041f28966ffec5a54" title="Function to handle events for apps.">csEventHandlerFunc</a>) (<a class="code" href="structiEvent.html" title="This interface describes any system event.">iEvent</a>&); <a name="l00126"></a>00126 <a name="l00137"></a><a class="code" href="classcsPluginRequest.html">00137</a> <span class="keyword">class </span>CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a> <a name="l00138"></a>00138 { <a name="l00139"></a>00139 <span class="keyword">private</span>: <a name="l00140"></a>00140 <a class="code" href="classcsString.html" title="Thin wrapper around csStringFast&lt;&gt; with its default buffer size.">csString</a> class_name; <a name="l00141"></a>00141 <a class="code" href="classcsString.html" title="Thin wrapper around csStringFast&lt;&gt; with its default buffer size.">csString</a> interface_name; <a name="l00142"></a>00142 <a class="code" href="group__scf.html#ge3095ac94f71a5ff42374271c90222cd" title="Type of registered interface handle used by iBase::QueryInterface().">scfInterfaceID</a> interface_id; <a name="l00143"></a>00143 <span class="keywordtype">int</span> interface_version; <a name="l00144"></a>00144 <span class="keywordtype">void</span> <span class="keyword">set</span>(<a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a> <span class="keyword">const</span>&); <a name="l00145"></a>00145 <span class="keyword">public</span>: <a name="l00146"></a>00146 <a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a>(<a class="code" href="classcsString.html" title="Thin wrapper around csStringFast&lt;&gt; with its default buffer size.">csString</a> class_name, <a class="code" href="classcsString.html" title="Thin wrapper around csStringFast&lt;&gt; with its default buffer size.">csString</a> interface_name, <a name="l00147"></a>00147 <a class="code" href="group__scf.html#ge3095ac94f71a5ff42374271c90222cd" title="Type of registered interface handle used by iBase::QueryInterface().">scfInterfaceID</a> interface_id, <span class="keywordtype">int</span> interface_version); <a name="l00148"></a><a class="code" href="classcsPluginRequest.html#06a0c791100f2fac92b570bbfda1837b">00148</a> <a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a>(<a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a> <span class="keyword">const</span>& r) { <span class="keyword">set</span>(r); } <a name="l00149"></a><a class="code" href="classcsPluginRequest.html#ac60d5033da9544971ce8a71b06ec88b">00149</a> <a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a>& operator=(<a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a> <span class="keyword">const</span>& r) {<span class="keyword">set</span>(r); <span class="keywordflow">return</span> *<span class="keyword">this</span>;} <a name="l00150"></a>00150 <span class="keywordtype">bool</span> operator==(<a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a> <span class="keyword">const</span>&) <span class="keyword">const</span>; <a name="l00151"></a><a class="code" href="classcsPluginRequest.html#0b86192a48603fe21b89d2874247787c">00151</a> <span class="keywordtype">bool</span> operator!=(<a class="code" href="classcsPluginRequest.html" title="This class represents a single plugin request for csInitializer::RequestPlugins()...">csPluginRequest</a> <span class="keyword">const</span>& r)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !operator==(r); } <a name="l00152"></a><a class="code" href="classcsPluginRequest.html#8be55267107e1a1a31cc89edf056044c">00152</a> <a class="code" href="classcsString.html" title="Thin wrapper around csStringFast&lt;&gt; with its default buffer size.">csString</a> GetClassName()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> class_name; } <a name="l00153"></a><a class="code" href="classcsPluginRequest.html#2bc9cfee1afd37cca116af6150a141f4">00153</a> <a class="code" href="classcsString.html" title="Thin wrapper around csStringFast&lt;&gt; with its default buffer size.">csString</a> GetInterfaceName()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> interface_name; } <a name="l00154"></a><a class="code" href="classcsPluginRequest.html#93aa5390a533599a457dc27c373ba743">00154</a> <a class="code" href="group__scf.html#ge3095ac94f71a5ff42374271c90222cd" title="Type of registered interface handle used by iBase::QueryInterface().">scfInterfaceID</a> GetInterfaceID()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> interface_id; } <a name="l00155"></a><a class="code" href="classcsPluginRequest.html#99788c268e468dfb968949b20ecedc82">00155</a> <span class="keywordtype">int</span> GetInterfaceVersion()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> interface_version; } <a name="l00156"></a>00156 }; <a name="l00157"></a>00157 <a name="l00158"></a>00158 <a name="l00164"></a><a class="code" href="classcsInitializer.html">00164</a> <span class="keyword">class </span>CS_CRYSTALSPACE_EXPORT <a class="code" href="classcsInitializer.html" title="This class contains several static member functions that can help setup an application...">csInitializer</a> <a name="l00165"></a>00165 { <a name="l00166"></a>00166 <span class="keyword">public</span>: <a name="l00195"></a>00195 <span class="keyword">static</span> <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>* CreateEnvironment(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> <span class="keyword">const</span>* <span class="keyword">const</span> argv[]); <a name="l00196"></a>00196 <a name="l00201"></a>00201 <span class="keyword">static</span> <span class="keywordtype">bool</span> InitializeSCF (<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> <span class="keyword">const</span>* <span class="keyword">const</span> argv[]); <a name="l00202"></a>00202 <a name="l00208"></a>00208 <span class="keyword">static</span> <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>* CreateObjectRegistry (); <a name="l00209"></a>00209 <a name="l00216"></a>00216 <span class="keyword">static</span> <a class="code" href="structiPluginManager.html" title="This is the plugin manager.">iPluginManager</a>* CreatePluginManager (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00217"></a>00217 <a name="l00224"></a>00224 <span class="keyword">static</span> <a class="code" href="structiEventQueue.html" title="This interface represents a general event queue.">iEventQueue</a>* CreateEventQueue (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00225"></a>00225 <a name="l00232"></a>00232 <span class="keyword">static</span> <a class="code" href="structiVirtualClock.html" title="A virtual game clock.">iVirtualClock</a>* CreateVirtualClock (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00233"></a>00233 <a name="l00239"></a>00239 <span class="keyword">static</span> <a class="code" href="structiCommandLineParser.html" title="A utility class that makes it easier to parse the command line.">iCommandLineParser</a>* CreateCommandLineParser ( <a name="l00240"></a>00240 <a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*, <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> <span class="keyword">const</span>* <span class="keyword">const</span> argv[]); <a name="l00241"></a>00241 <a name="l00246"></a>00246 <span class="keyword">static</span> <a class="code" href="structiVerbosityManager.html" title="Helper interface which applications and plugins can use to determine whether they...">iVerbosityManager</a>* CreateVerbosityManager (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00247"></a>00247 <a name="l00253"></a>00253 <span class="keyword">static</span> <a class="code" href="structiConfigManager.html" title="The configuration manager is used to make a number of iConfigFile object appear like...">iConfigManager</a>* CreateConfigManager (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00254"></a>00254 <a name="l00261"></a>00261 <span class="keyword">static</span> <span class="keywordtype">bool</span> CreateInputDrivers (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00262"></a>00262 <a name="l00272"></a>00272 <span class="keyword">static</span> <span class="keywordtype">bool</span> CreateStringSet (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00273"></a>00273 <a name="l00286"></a>00286 <span class="keyword">static</span> <span class="keywordtype">bool</span> SetupConfigManager (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*, <span class="keyword">const</span> <span class="keywordtype">char</span>* configName, <a name="l00287"></a>00287 <span class="keyword">const</span> <span class="keywordtype">char</span> *ApplicationID = 0); <a name="l00288"></a>00288 <a name="l00300"></a>00300 <span class="keyword">static</span> <a class="code" href="structiVFS.html" title="The Virtual Filesystem Class is intended to be the only way for Crystal Space engine...">iVFS</a>* SetupVFS(<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>* objectReg, <a name="l00301"></a>00301 <span class="keyword">const</span> <span class="keywordtype">char</span>* pluginID = <span class="stringliteral">"crystalspace.kernel.vfs"</span>); <a name="l00302"></a>00302 <a name="l00314"></a>00314 <span class="keyword">static</span> <span class="keywordtype">bool</span> RequestPlugins (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*, ...); <a name="l00315"></a>00315 <a name="l00321"></a>00321 <span class="keyword">static</span> <span class="keywordtype">bool</span> RequestPluginsV (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*, va_list); <a name="l00322"></a>00322 <a name="l00342"></a>00342 <span class="keyword">static</span> <span class="keywordtype">bool</span> RequestPlugins(<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*,<a class="code" href="classcsArray.html" title="A templated array class.">csArray<csPluginRequest></a> <span class="keyword">const</span>&); <a name="l00343"></a>00343 <a name="l00348"></a>00348 <span class="keyword">static</span> <span class="keywordtype">bool</span> OpenApplication (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00349"></a>00349 <a name="l00353"></a>00353 <span class="keyword">static</span> <span class="keywordtype">void</span> CloseApplication (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00354"></a>00354 <a name="l00363"></a>00363 <span class="keyword">static</span> <span class="keywordtype">bool</span> SetupEventHandler (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*, <a class="code" href="structiEventHandler.html" title="This interface describes an entity that can receive events.">iEventHandler</a>*, <span class="keyword">const</span> <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&#39;s hierarchical name...">csEventID</a>[]); <a name="l00364"></a>00364 <a name="l00371"></a>00371 <span class="keyword">static</span> <span class="keywordtype">bool</span> SetupEventHandler (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*, <a class="code" href="group__appframe.html#g542e5cde1d58cfc041f28966ffec5a54" title="Function to handle events for apps.">csEventHandlerFunc</a>, <span class="keyword">const</span> <a class="code" href="group__event__handling.html#g51e1762faeeefdadf693499fc93db757" title="A csEventID is a handle for a string representing an event&#39;s hierarchical name...">csEventID</a> events[]); <a name="l00372"></a>00372 <a name="l00380"></a>00380 <span class="keyword">static</span> <span class="keywordtype">bool</span> SetupEventHandler (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*, <a class="code" href="group__appframe.html#g542e5cde1d58cfc041f28966ffec5a54" title="Function to handle events for apps.">csEventHandlerFunc</a>); <a name="l00381"></a>00381 <a name="l00410"></a>00410 <span class="keyword">static</span> <span class="keywordtype">void</span> DestroyApplication (<a class="code" href="structiObjectRegistry.html" title="This interface serves as a registry of other objects.">iObjectRegistry</a>*); <a name="l00411"></a>00411 <a name="l00417"></a>00417 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetDefaultAppID(); <a name="l00418"></a>00418 <span class="keyword">protected</span>: <a name="l00419"></a>00419 }; <a name="l00420"></a>00420 <a name="l00423"></a>00423 <span class="preprocessor">#endif // __CS_INITAPP_H__</span> </pre></div><hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>