Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > d0e538fc3b36eaa21319109269df7489 > files > 171

libat-spi-devel-1.22.0-2mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>at-spi-idl: Accessibility::LoginHelper Interface Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul>
</div>
<div class="nav">
<a class="el" href="namespaceAccessibility.html">Accessibility</a>::<a class="el" href="interfaceAccessibility_1_1LoginHelper.html">LoginHelper</a></div>
<h1>Accessibility::LoginHelper Interface Reference</h1><!-- doxytag: class="Accessibility::LoginHelper" -->An interface for use by assistive technologies by which they can access system information and services on a 'need to know' basis while the screen is locked, during user authentication, or during other sensitive operations.  
<a href="#_details">More...</a>
<p>
<code>import &quot;<a class="el" href="Accessibility__LoginHelper_8idl-source.html">Accessibility_LoginHelper.idl</a>&quot;;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23">DeviceReq</a> { <br>
&nbsp;&nbsp;<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c238d8e1dd24ca8370043c8364a109ef221">GUI_EVENTS</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23725f1aa23dade7715ec91c35818845f1">CORE_KEYBOARD</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23fa8de8802d35e850e711e8896839c901">CORE_POINTER</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c231e8f814c147537704f1132370efd4b75">EXT_INPUT</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23ebe499a4dcd4d9885af99986c9e61212">POST_WINDOWS</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c2366cae425b58d20b0f78e2e21ce8527bd">AUDIO_OUT</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23d6b29d7af36d6950374c050ab1daca19">AUDIO_IN</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23edf9d7a3fec160b7af759882abf9a42c">NETWORK</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23bea49138f8d544367c0b76f79c951ec1">LOCALHOST</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c231afad76e80b5528c728150fee52a7416">SERIAL_OUT</a>, 
<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23abec387ed82860e86f7a4f951614e11c">SERIAL_IN</a>
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef sequence&lt; <a class="el" href="structAccessibility_1_1LoginHelper_1_1WindowInfo.html">WindowInfo</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#1fd0f349fcdc7ddd2dbce9b83b45d0cd">WindowList</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef sequence&lt; <a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23">DeviceReq</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#43c33e8f2d2334b8504b69b3d2e96932">DeviceReqList</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#b57a94fdb54aa3c33857b4856ce23a42">setSafe</a> (in boolean safe_mode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#43c33e8f2d2334b8504b69b3d2e96932">DeviceReqList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#b24d395e5696284de59dc043d0d998c5">getDeviceReqs</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#1fd0f349fcdc7ddd2dbce9b83b45d0cd">WindowList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#c38efbe184c29506e269e52edc9b7ac0">getRaiseWindows</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structAccessibility_1_1LoginHelper_1_1WindowInfo.html">WindowInfo</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An interface for use by assistive technologies by which they can access system information and services on a 'need to know' basis while the screen is locked, during user authentication, or during other sensitive operations. 
<p>
This interface is intended for use by assistive technologies and related user-enabling services, and by applications and utilities which may wish to restrict access to certain system devices and services during security-sensitive states, e.g. when the screen is locked or during authentication into some secure service.<p>
Such 'applications' (for instance, screen lock dialogs and security-enabled web browsers) use the LoginHelper client interfaces, and the bonobo-activation query service, to query for assistive technologies which advertise the LoginHelper service. The client then queries these assistive technologies for their device I/O requirements, via the getDeviceReqs call. The client may then issue the advisory request setSafe (TRUE), which requests that the LoginHelper -implementing service make a best-effort attempt to make itself more secure (for instance, an onscreen keyboard might turn off word prediction, and a screenreader may turn off keyboard echo via speech). The return value of setSafe is an advisory indication of whether this attempt was successful (no specific guarantees are implied). Once the 'security sensitive' state is exited, the client should call setSafe (FALSE).<p>
The return values from getDeviceReqs inform the client of which services the LoginHelper service (e. g. assistive technology) needs in order to do its job. The client may use this information to loosen any restrictions on access which it may currently have in place (for instance, keyboard grabs, etc.). If it does not do so, the likely outcome is that the end-user will experience loss of access to the system. 
<p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="1fd0f349fcdc7ddd2dbce9b83b45d0cd"></a><!-- doxytag: member="Accessibility::LoginHelper::WindowList" ref="1fd0f349fcdc7ddd2dbce9b83b45d0cd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef sequence&lt;<a class="el" href="structAccessibility_1_1LoginHelper_1_1WindowInfo.html">WindowInfo</a>&gt; <a class="el" href="interfaceAccessibility_1_1LoginHelper.html#1fd0f349fcdc7ddd2dbce9b83b45d0cd">Accessibility::LoginHelper::WindowList</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="43c33e8f2d2334b8504b69b3d2e96932"></a><!-- doxytag: member="Accessibility::LoginHelper::DeviceReqList" ref="43c33e8f2d2334b8504b69b3d2e96932" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef sequence&lt;<a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23">DeviceReq</a>&gt; <a class="el" href="interfaceAccessibility_1_1LoginHelper.html#43c33e8f2d2334b8504b69b3d2e96932">Accessibility::LoginHelper::DeviceReqList</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23"></a><!-- doxytag: member="Accessibility::LoginHelper::DeviceReq" ref="9104ff7a7690149c2e14a44ac8af9c23" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="interfaceAccessibility_1_1LoginHelper.html#9104ff7a7690149c2e14a44ac8af9c23">Accessibility::LoginHelper::DeviceReq</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c238d8e1dd24ca8370043c8364a109ef221"></a><!-- doxytag: member="GUI_EVENTS" ref="9104ff7a7690149c2e14a44ac8af9c238d8e1dd24ca8370043c8364a109ef221" args="" -->GUI_EVENTS</em>&nbsp;</td><td>
: Needs access to the GUI event subsystem (e.g. Xserver) </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23725f1aa23dade7715ec91c35818845f1"></a><!-- doxytag: member="CORE_KEYBOARD" ref="9104ff7a7690149c2e14a44ac8af9c23725f1aa23dade7715ec91c35818845f1" args="" -->CORE_KEYBOARD</em>&nbsp;</td><td>
: Needs access to the system keyboard events (read and write) </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23fa8de8802d35e850e711e8896839c901"></a><!-- doxytag: member="CORE_POINTER" ref="9104ff7a7690149c2e14a44ac8af9c23fa8de8802d35e850e711e8896839c901" args="" -->CORE_POINTER</em>&nbsp;</td><td>
: Needs access to the onscreen pointer (e.g. mouse pointer) </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c231e8f814c147537704f1132370efd4b75"></a><!-- doxytag: member="EXT_INPUT" ref="9104ff7a7690149c2e14a44ac8af9c231e8f814c147537704f1132370efd4b75" args="" -->EXT_INPUT</em>&nbsp;</td><td>
: Reads XInput extended input devices </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23ebe499a4dcd4d9885af99986c9e61212"></a><!-- doxytag: member="POST_WINDOWS" ref="9104ff7a7690149c2e14a44ac8af9c23ebe499a4dcd4d9885af99986c9e61212" args="" -->POST_WINDOWS</em>&nbsp;</td><td>
: Posts Windows, and needs for toplevel windows to be visible </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c2366cae425b58d20b0f78e2e21ce8527bd"></a><!-- doxytag: member="AUDIO_OUT" ref="9104ff7a7690149c2e14a44ac8af9c2366cae425b58d20b0f78e2e21ce8527bd" args="" -->AUDIO_OUT</em>&nbsp;</td><td>
: Writes to audio device </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23d6b29d7af36d6950374c050ab1daca19"></a><!-- doxytag: member="AUDIO_IN" ref="9104ff7a7690149c2e14a44ac8af9c23d6b29d7af36d6950374c050ab1daca19" args="" -->AUDIO_IN</em>&nbsp;</td><td>
: Reads from audio device </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23edf9d7a3fec160b7af759882abf9a42c"></a><!-- doxytag: member="NETWORK" ref="9104ff7a7690149c2e14a44ac8af9c23edf9d7a3fec160b7af759882abf9a42c" args="" -->NETWORK</em>&nbsp;</td><td>
: Requires access to general network services, including remote access </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23bea49138f8d544367c0b76f79c951ec1"></a><!-- doxytag: member="LOCALHOST" ref="9104ff7a7690149c2e14a44ac8af9c23bea49138f8d544367c0b76f79c951ec1" args="" -->LOCALHOST</em>&nbsp;</td><td>
: Requires network services hosted on LOCALHOST only </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c231afad76e80b5528c728150fee52a7416"></a><!-- doxytag: member="SERIAL_OUT" ref="9104ff7a7690149c2e14a44ac8af9c231afad76e80b5528c728150fee52a7416" args="" -->SERIAL_OUT</em>&nbsp;</td><td>
: Writes to a serial port </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9104ff7a7690149c2e14a44ac8af9c23abec387ed82860e86f7a4f951614e11c"></a><!-- doxytag: member="SERIAL_IN" ref="9104ff7a7690149c2e14a44ac8af9c23abec387ed82860e86f7a4f951614e11c" args="" -->SERIAL_IN</em>&nbsp;</td><td>
: Reads from a serial port </td></tr>
</table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b57a94fdb54aa3c33857b4856ce23a42"></a><!-- doxytag: member="Accessibility::LoginHelper::setSafe" ref="b57a94fdb54aa3c33857b4856ce23a42" args="(in boolean safe_mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean Accessibility::LoginHelper::setSafe           </td>
          <td>(</td>
          <td class="paramtype">in boolean&nbsp;</td>
          <td class="paramname"> <em>safe_mode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
setSafe: <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>safe_mode,:</em>&nbsp;</td><td><code>TRUE</code> if the client is requesting that 'safe mode' be initiated, <code>FALSE</code> if the client is advising that 'safe mode' may be exited, i.e. normal operation may be resumed.</td></tr>
  </table>
</dl>
Request a <a class="el" href="interfaceAccessibility_1_1LoginHelper.html" title="An interface for use by assistive technologies by which they can access system information...">LoginHelper</a> to enter "safe" mode, or inform <a class="el" href="interfaceAccessibility_1_1LoginHelper.html" title="An interface for use by assistive technologies by which they can access system information...">LoginHelper</a> that "safe" mode may be exited. If <em>safe_mode</em> is <code>TRUE</code>, but the return value is <code>FALSE</code>, the requesting client may wish to deny services to the LoginHelper, for instance avoid raising its toplevels. The return value is purely advisory, and no guarantees are intended about what the implementing <a class="el" href="interfaceAccessibility_1_1LoginHelper.html" title="An interface for use by assistive technologies by which they can access system information...">LoginHelper</a> will do to improve security when in "safe" mode.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>: whether the LoginHelper is now "safe" or not. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b24d395e5696284de59dc043d0d998c5"></a><!-- doxytag: member="Accessibility::LoginHelper::getDeviceReqs" ref="b24d395e5696284de59dc043d0d998c5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#43c33e8f2d2334b8504b69b3d2e96932">DeviceReqList</a> Accessibility::LoginHelper::getDeviceReqs           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
getDeviceReqs:<p>
Query a LoginHelper for the types of device I/O it requires, in order to do its job. For instance, a LoginHelper which needs to receive keyboard events will include Accessibility_LoginHelper_CORE_KEYBOARD in this list.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>: A sequence of LoginHelper_DeviceReq indicating the device I/O required in order to facilitate end-user access to the system. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c38efbe184c29506e269e52edc9b7ac0"></a><!-- doxytag: member="Accessibility::LoginHelper::getRaiseWindows" ref="c38efbe184c29506e269e52edc9b7ac0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interfaceAccessibility_1_1LoginHelper.html#1fd0f349fcdc7ddd2dbce9b83b45d0cd">WindowList</a> Accessibility::LoginHelper::getRaiseWindows           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
getRaiseWindows:<p>
Get a list of window IDs that need raising on login.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>: a sequence containing window IDS for toplevels which need to be raised/made visible during user authentication, in order for the LoginHelper to facilitate end-user access to the system. </dd></dl>

</div>
</div><p>
<hr>The documentation for this interface was generated from the following file:<ul>
<li>/home/liyuan/src/at-spi/idl/<a class="el" href="Accessibility__LoginHelper_8idl-source.html">Accessibility_LoginHelper.idl</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jul 10 10:46:52 2007 for at-spi-idl by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>