<!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: /home/liyuan/src/at-spi/idl/Accessibility_StreamableContent.idl Source File</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 Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><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="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div class="nav"> <a class="el" href="dir_d9ecf4153bf52f2941809e24991d229c.html">idl</a></div> <h1>Accessibility_StreamableContent.idl</h1><a href="Accessibility__StreamableContent_8idl.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"> * AT-SPI - Assistive Technology Service Provider Interface </span> <a name="l00003"></a>00003 <span class="comment"> * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)</span> <a name="l00004"></a>00004 <span class="comment"> *</span> <a name="l00005"></a>00005 <span class="comment"> * Copyright 2001 Sun Microsystems, Inc.</span> <a name="l00006"></a>00006 <span class="comment"> *</span> <a name="l00007"></a>00007 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00008"></a>00008 <span class="comment"> * modify it under the terms of the GNU Library General Public</span> <a name="l00009"></a>00009 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00010"></a>00010 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span> <a name="l00011"></a>00011 <span class="comment"> *</span> <a name="l00012"></a>00012 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00013"></a>00013 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00014"></a>00014 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00015"></a>00015 <span class="comment"> * Library General Public License for more details.</span> <a name="l00016"></a>00016 <span class="comment"> *</span> <a name="l00017"></a>00017 <span class="comment"> * You should have received a copy of the GNU Library General Public</span> <a name="l00018"></a>00018 <span class="comment"> * License along with this library; if not, write to the</span> <a name="l00019"></a>00019 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330,</span> <a name="l00020"></a>00020 <span class="comment"> * Boston, MA 02111-1307, USA.</span> <a name="l00021"></a>00021 <span class="comment"> */</span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="preprocessor">#include <Bonobo_Storage.idl></span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 module Accessibility { <a name="l00026"></a>00026 <a name="l00027"></a><a class="code" href="namespaceAccessibility.html#9737318cb7addece57bcf42713cd88c4">00027</a> <span class="keyword">typedef</span> sequence<string> <a class="code" href="namespaceAccessibility.html#9737318cb7addece57bcf42713cd88c4">StringSeq</a>; <a name="l00028"></a>00028 <a name="l00037"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html">00037</a> interface <a class="code" href="interfaceAccessibility_1_1ContentStream.html">ContentStream</a> : Bonobo::Unknown { <a name="l00038"></a>00038 <a name="l00039"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#1ae044794ce26c96441ddec475067b95">00039</a> <span class="keyword">typedef</span> sequence<octet> iobuf; <a name="l00040"></a>00040 <a name="l00045"></a><a class="code" href="exceptionAccessibility_1_1ContentStream_1_1IOError.html">00045</a> exception <a class="code" href="exceptionAccessibility_1_1ContentStream_1_1IOError.html">IOError</a> { <a name="l00046"></a>00046 <span class="keywordtype">string</span> reason; <a name="l00047"></a>00047 }; <a name="l00051"></a><a class="code" href="exceptionAccessibility_1_1ContentStream_1_1NotSupported.html">00051</a> exception <a class="code" href="exceptionAccessibility_1_1ContentStream_1_1NotSupported.html">NotSupported</a> { <a name="l00052"></a>00052 <span class="keywordtype">string</span> reason; <a name="l00053"></a>00053 }; <a name="l00054"></a>00054 <a name="l00060"></a><a class="code" href="exceptionAccessibility_1_1ContentStream_1_1NoPermission.html">00060</a> exception <a class="code" href="exceptionAccessibility_1_1ContentStream_1_1NoPermission.html">NoPermission</a> { <a name="l00061"></a>00061 <span class="keywordtype">string</span> reason; <a name="l00062"></a>00062 }; <a name="l00063"></a>00063 <a name="l00070"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#4a1a5ddc2ea1eed1c7b7e2ced6446670">00070</a> <span class="keyword">enum</span> <a class="code" href="interfaceAccessibility_1_1ContentStream.html#4a1a5ddc2ea1eed1c7b7e2ced6446670">SeekType</a> { <a name="l00071"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#4a1a5ddc2ea1eed1c7b7e2ced64466704a0b8493423f05ab26e5846444b50cec">00071</a> SEEK_SET, <a name="l00072"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#4a1a5ddc2ea1eed1c7b7e2ced64466705268bca16e26f97aa8c8213d804e8239">00072</a> SEEK_CURRENT, <a name="l00073"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#4a1a5ddc2ea1eed1c7b7e2ced64466703662841022b56ddafa83ad8e28402508">00073</a> SEEK_END <a name="l00074"></a>00074 }; <a name="l00075"></a>00075 <a name="l00085"></a>00085 <span class="keywordtype">long</span> seek (in <span class="keywordtype">long</span> offset, in SeekType whence) <a name="l00086"></a>00086 raises (NoPermission, IOError, NotSupported); <a name="l00091"></a>00091 <span class="keywordtype">long</span> read (in <span class="keywordtype">long</span> count, out iobuf buffer) <a name="l00092"></a>00092 raises (NoPermission, IOError); <a name="l00098"></a>00098 <span class="keywordtype">void</span> close (); <a name="l00099"></a>00099 <a name="l00101"></a>00101 <span class="keywordtype">void</span> unimplemented (); <a name="l00102"></a>00102 <span class="keywordtype">void</span> unimplemented2 (); <a name="l00104"></a>00104 }; <a name="l00105"></a>00105 <a name="l00106"></a>00106 <a name="l00124"></a><a class="code" href="interfaceAccessibility_1_1StreamableContent.html">00124</a> interface <a class="code" href="interfaceAccessibility_1_1StreamableContent.html">StreamableContent</a> : Bonobo::Unknown { <a name="l00125"></a>00125 <a name="l00130"></a>00130 StringSeq getContentTypes (); <a name="l00155"></a>00155 Bonobo::Stream getContent (in <span class="keywordtype">string</span> contentType); <a name="l00156"></a>00156 <a name="l00171"></a>00171 <a class="code" href="interfaceAccessibility_1_1ContentStream.html">ContentStream</a> getStream (in <span class="keywordtype">string</span> contentType); <a name="l00172"></a>00172 <a name="l00183"></a>00183 <span class="keywordtype">string</span> getURI (in <span class="keywordtype">string</span> contentType); <a name="l00190"></a>00190 <span class="keywordtype">void</span> unImplemented (); <a name="l00191"></a>00191 <span class="keywordtype">void</span> unImplemented2 (); <a name="l00193"></a>00193 }; <a name="l00194"></a>00194 <a name="l00195"></a>00195 }; </pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Jul 10 10:46:52 2007 for at-spi-idl by <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>