Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 9010

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Global Functions in Namespace cppu in Sourcefile shlib.hxx</title>
<link rel="stylesheet" type="text/css" href="../../cpp.css">
</head>
<body>
<div id="adc-cppref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0">
<tr align="center" valign="top">
<td class="navimain">&nbsp;<a href="../../index.html">Overview</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="index.html">Namespace</a>&nbsp;</td>
<td class="navimainnone">&nbsp;Class&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../index-files/index-1.html">Index</a>&nbsp;</td>
<td class="navimain">&nbsp;<a href="../../help.html">Help</a>&nbsp;</td>
</tr>
</table>
<table class="navisub" cellpadding="0" cellspacing="3"></table>
<hr>
<div class="title"><h2>Global Functions in Namespace cppu<br>
in Sourcefile shlib.hxx</h2>
</div><hr>
<dl class="member">
<dt class="member"><a name="loadSharedLibComponentFactory-4207"> </a>loadSharedLibComponentFactory</dt>
<dd class="member"><dl>
<dt class="simple">::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::uno::XInterface &gt; <strong>loadSharedLibComponentFactory</strong>(</dt>
<dd><table class="param-table">
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp; </td>
<td> rLibName,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rPath,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rImplName,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::lang::XMultiServiceFactory &gt; &amp;</td>
<td>xMgr,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::registry::XRegistryKey &gt; &amp;</td>
<td>xKey )</td>
</tr>
<tr>
<td/><td> throw( ::com::sun::star::loader::<a href="../../../../common/ref/com/sun/star/loader/CannotActivateFactoryException.html">CannotActivateFactoryException</a> );</td>
</tr>
</table>
</dd>
</dl>
<br>
</dd>
<dd class="member"><table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="12%" class="flagname">virtual</td>
<td width="12%" class="flagname">abstract</td>
<td width="12%" class="flagname">const</td>
<td width="12%" class="flagname">volatile</td>
<td width="12%" class="flagname">template</td>
<td width="12%" class="flagname">static</td>
<td width="12%" class="flagname">inline</td>
<td width="12%" class="flagname">C-linkage</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<br>
</dd>
<dd class="member"><dl>
<dt>Description</dt>
<dd>Loads a shared library component and gets the factory out of it.  You can give either a
fully qualified libname or single lib name.  The libname need not be pre/postfixed
(e.g. xxx.dll).  You can give parameter rPath to force lookup of the library in a specific
directory.  The resulting path of the library will be checked against environment variable
CPLD_ACCESSPATH if set.

</dd>
<dt>Parameters</dt>
<dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table">
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rLibName</td>
<td><pre>name of the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rPath</td>
<td><pre>optional path
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rImplName</td>
<td><pre>implementation to be retrieved from the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td>
<td><pre>service manager to be provided to the component
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xKey</td>
<td><pre>registry key to be provided to the component
</pre></td>
</tr>
</table>
</dd>
<dt>Return</dt>
<dd>
factory instance (::com::sun::star::lang::XSingleComponentFactory or
::com::sun::star::lang::XSingleComponentFactory)
</dd>
</dl>
</dd>
</dl>
<hr>
<dl class="member">
<dt class="member"><a name="writeSharedLibComponentInfo-4208"> </a>writeSharedLibComponentInfo</dt>
<dd class="member"><dl>
<dt class="simple">void <strong>writeSharedLibComponentInfo</strong>(</dt>
<dd><table class="param-table">
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp; </td>
<td> rLibName,</td>
</tr>
<tr>
<td>const ::rtl::<a href="../rtl/c-OUString.html">OUString</a> &amp;</td>
<td>rPath,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::lang::XMultiServiceFactory &gt; &amp;</td>
<td>xMgr,</td>
</tr>
<tr>
<td>const ::com::sun::star::uno::<a href="../com/sun/star/uno/c-Reference.html">Reference</a>&lt; ::com::sun::star::registry::XRegistryKey &gt; &amp;</td>
<td>xKey )</td>
</tr>
<tr>
<td/><td> throw( ::com::sun::star::registry::<a href="../../../../common/ref/com/sun/star/registry/CannotRegisterImplementationException.html">CannotRegisterImplementationException</a> );</td>
</tr>
</table>
</dd>
</dl>
<br>
</dd>
<dd class="member"><table class="flag-table" border="1" cellspacing="0">
<tr>
<td width="12%" class="flagname">virtual</td>
<td width="12%" class="flagname">abstract</td>
<td width="12%" class="flagname">const</td>
<td width="12%" class="flagname">volatile</td>
<td width="12%" class="flagname">template</td>
<td width="12%" class="flagname">static</td>
<td width="12%" class="flagname">inline</td>
<td width="12%" class="flagname">C-linkage</td>
</tr>
<tr>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
<td class="flagno">NO</td>
</tr>
</table>
<br>
</dd>
<dd class="member"><dl>
<dt>Description</dt>
<dd>Invokes component_writeInfo() function of specified component library.  You can give either
a fully qualified libname or single lib name. The libname need not be pre/postfixed
(e.g. xxx.dll).  You can give parameter rPath to force lookup of the library in a specific
directory.  The resulting path of the library will be checked against environment variable
CPLD_ACCESSPATH if set.

</dd>
<dt>Parameters</dt>
<dd><table border="0" width="100%" cellpadding="3" cellspacing="0" class="expl-table">
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rLibName</td>
<td><pre>name of the library
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">rPath</td>
<td><pre>optional path
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xMgr</td>
<td><pre>service manager to be provided to the component
</pre></td>
</tr>
<tr>
<td width="15%" style="vertical-align:top; font-weight:bold">xKey</td>
<td><pre>registry key to be provided to the component
</pre></td>
</tr>
</table>
</dd>
</dl>
</dd>
</dl>
<hr>
<a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-cppref" -->
</body>

</html>