Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 4118

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Constants' Group SystemDependent</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimainnone">Use</td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#Constants" class="navisub">Constants</a></td>
<td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' Details</a></td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">lang</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">deprecated </td>
<td width="50%" class="title">constants group SystemDependent</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>deprecated</i></dd>
<dt><b>Description</b></dt>
<dd>These constants are used to specify systems which depend on return values. 
 
 </dd>
<dd><p> You should avoid system-dependent methods if possible. 
 
 </dd>
<dt><b>Example</b></dt>
<dd>:C++ 
 
 <pre> 
 #ifdef __WINDOW // Microsoft Windows 
 HWND hWin = (HWND)xInterface->getWindowHandle(SystemDependentWIN32); 
 if( hWin ) ... 
 #elif( ... ) // other systems 
 ... 
 #endif 
 </pre> 

 <p>The Symbols are now prepended with SYSTEM_ thus we avoid collisions 
 with system headers. </p>

 </dd>
<dt><b>See also</b></dt>
<dd>::com::sun::star::<a href="../awt/module-ix.html">awt</a>::<a href="../awt/XSystemDependentWindowPeer.html">XSystemDependentWindowPeer</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Constants</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SYSTEM_WIN32">SYSTEM_WIN32</a></td>
<td class="imsum_right">The called interface method returns a value specified for the 
 32-bit Windows systems. 

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SYSTEM_WIN16">SYSTEM_WIN16</a></td>
<td class="imsum_right">The called interface method returns a value specified for 
 the 16-bit Windows system. 
 
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SYSTEM_JAVA">SYSTEM_JAVA</a></td>
<td class="imsum_right">The called interface method returns a value specified for the system java. 
 
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SYSTEM_OS2">SYSTEM_OS2</a></td>
<td class="imsum_right">The called interface method returns a value specified for the <em>OS/2</em> system.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SYSTEM_MAC">SYSTEM_MAC</a></td>
<td class="imsum_right">The called interface method returns a value specified for the <em>MAC-OS</em> system.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SYSTEM_XWINDOW">SYSTEM_XWINDOW</a></td>
<td class="imsum_right">The called interface method returns a value specified for the <em>X Window System</em>.
 &nbsp;</td>
</tr>
</table>
<a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Constants' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="SYSTEM_WIN32" class="membertitle">SYSTEM_WIN32</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SYSTEM_WIN32</b> = 1;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The called interface method returns a value specified for the 
 32-bit Windows systems. 

 </dd>
<dd><p>These are Windows NT, Windows 95, Windows 98 or higher. </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SYSTEM_WIN16" class="membertitle">SYSTEM_WIN16</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SYSTEM_WIN16</b> = 2;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The called interface method returns a value specified for 
 the 16-bit Windows system. 
 
 </dd>
<dd><p>This is Windows 3.11. </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SYSTEM_JAVA" class="membertitle">SYSTEM_JAVA</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SYSTEM_JAVA</b> = 3;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The called interface method returns a value specified for the system java. 
 
 </dd>
<dd><p>These are <em>JRE 1.1</em>, <em>JRE 1.2</em>, <em>JDK 1.1</em>, 
 <em>JDK 1.2</em> or higher. </p>
 
 <p>The return should be a handle to a java object locked with 
 the call <code>JavaEnvironment->NewGlobalRef( ... )</code> 
 by the callee. </p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SYSTEM_OS2" class="membertitle">SYSTEM_OS2</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SYSTEM_OS2</b> = 4;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The called interface method returns a value specified for the <em>OS/2</em> system.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SYSTEM_MAC" class="membertitle">SYSTEM_MAC</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SYSTEM_MAC</b> = 5;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The called interface method returns a value specified for the <em>MAC-OS</em> system.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SYSTEM_XWINDOW" class="membertitle">SYSTEM_XWINDOW</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SYSTEM_XWINDOW</b> = 6;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The called interface method returns a value specified for the <em>X Window System</em>.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

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

</html>