1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
<title>at-spi-idl: /home/liyuan/src-git/at-spi/idl/Accessibility_StreamableContent.idl Source File</title>
4
<link href="tabs.css" rel="stylesheet" type="text/css">
5
<link href="doxygen.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.9 -->
8
<div class="navigation" id="top">
11
<li><a href="index.html"><span>Main Page</span></a></li>
12
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
13
<li><a href="annotated.html"><span>Data Structures</span></a></li>
14
<li class="current"><a href="files.html"><span>Files</span></a></li>
15
<li><a href="dirs.html"><span>Directories</span></a></li>
20
<li><a href="files.html"><span>File List</span></a></li>
23
<div class="navpath"><a class="el" href="dir_ee39139619505595933c7dd613b47914.html">idl</a>
26
<div class="contents">
27
<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>
28
<a name="l00002"></a>00002 <span class="comment"> * AT-SPI - Assistive Technology Service Provider Interface </span>
29
<a name="l00003"></a>00003 <span class="comment"> * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)</span>
30
<a name="l00004"></a>00004 <span class="comment"> *</span>
31
<a name="l00005"></a>00005 <span class="comment"> * Copyright 2001 Sun Microsystems, Inc.</span>
32
<a name="l00006"></a>00006 <span class="comment"> *</span>
33
<a name="l00007"></a>00007 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
34
<a name="l00008"></a>00008 <span class="comment"> * modify it under the terms of the GNU Library General Public</span>
35
<a name="l00009"></a>00009 <span class="comment"> * License as published by the Free Software Foundation; either</span>
36
<a name="l00010"></a>00010 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span>
37
<a name="l00011"></a>00011 <span class="comment"> *</span>
38
<a name="l00012"></a>00012 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
39
<a name="l00013"></a>00013 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
40
<a name="l00014"></a>00014 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
41
<a name="l00015"></a>00015 <span class="comment"> * Library General Public License for more details.</span>
42
<a name="l00016"></a>00016 <span class="comment"> *</span>
43
<a name="l00017"></a>00017 <span class="comment"> * You should have received a copy of the GNU Library General Public</span>
44
<a name="l00018"></a>00018 <span class="comment"> * License along with this library; if not, write to the</span>
45
<a name="l00019"></a>00019 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330,</span>
46
<a name="l00020"></a>00020 <span class="comment"> * Boston, MA 02111-1307, USA.</span>
47
<a name="l00021"></a>00021 <span class="comment"> */</span>
48
<a name="l00022"></a>00022
49
<a name="l00023"></a>00023 <span class="preprocessor">#include <Bonobo_Storage.idl></span>
50
<a name="l00024"></a>00024
51
<a name="l00025"></a>00025 module Accessibility {
52
<a name="l00026"></a>00026
53
<a name="l00027"></a><a class="code" href="namespaceAccessibility.html#f0a087a022848a7c6610ad237ecc845d">00027</a> <span class="keyword">typedef</span> sequence<string> <a class="code" href="namespaceAccessibility.html#f0a087a022848a7c6610ad237ecc845d">StringSeq</a>;
54
<a name="l00028"></a>00028
55
<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 {
56
<a name="l00038"></a>00038
57
<a name="l00039"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#8554cffb7178852d6e32f5d31acea7b2">00039</a> <span class="keyword">typedef</span> sequence<octet> iobuf;
58
<a name="l00040"></a>00040
59
<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> {
60
<a name="l00046"></a>00046 <span class="keywordtype">string</span> reason;
61
<a name="l00047"></a>00047 };
62
<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> {
63
<a name="l00052"></a>00052 <span class="keywordtype">string</span> reason;
64
<a name="l00053"></a>00053 };
65
<a name="l00054"></a>00054
66
<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> {
67
<a name="l00061"></a>00061 <span class="keywordtype">string</span> reason;
68
<a name="l00062"></a>00062 };
69
<a name="l00063"></a>00063
70
<a name="l00070"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#73bba2b2c114a719cc0ba095063fdeb2">00070</a> <span class="keyword">enum</span> <a class="code" href="interfaceAccessibility_1_1ContentStream.html#73bba2b2c114a719cc0ba095063fdeb2">SeekType</a> {
71
<a name="l00071"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#73bba2b2c114a719cc0ba095063fdeb2218beadb76afc4b26bd7374e21de2390">00071</a> SEEK_SET,
72
<a name="l00072"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#73bba2b2c114a719cc0ba095063fdeb20883248c28863de04e0572241e7c1477">00072</a> SEEK_CURRENT,
73
<a name="l00073"></a><a class="code" href="interfaceAccessibility_1_1ContentStream.html#73bba2b2c114a719cc0ba095063fdeb22ccbe0c9974bcc3f373998c9bc445ec3">00073</a> SEEK_END
74
<a name="l00074"></a>00074 };
75
<a name="l00075"></a>00075
76
<a name="l00085"></a>00085 <span class="keywordtype">long</span> seek (in <span class="keywordtype">long</span> offset, in SeekType whence)
77
<a name="l00086"></a>00086 raises (NoPermission, IOError, NotSupported);
78
<a name="l00091"></a>00091 <span class="keywordtype">long</span> read (in <span class="keywordtype">long</span> count, out iobuf buffer)
79
<a name="l00092"></a>00092 raises (NoPermission, IOError);
80
<a name="l00098"></a>00098 <span class="keywordtype">void</span> close ();
81
<a name="l00099"></a>00099
82
<a name="l00101"></a>00101 <span class="keywordtype">void</span> unimplemented ();
83
<a name="l00102"></a>00102 <span class="keywordtype">void</span> unimplemented2 ();
84
<a name="l00104"></a>00104 };
85
<a name="l00105"></a>00105
86
<a name="l00106"></a>00106
87
<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 {
88
<a name="l00125"></a>00125
89
<a name="l00130"></a>00130 StringSeq getContentTypes ();
90
<a name="l00155"></a>00155 Bonobo::Stream getContent (in <span class="keywordtype">string</span> contentType);
91
<a name="l00156"></a>00156
92
<a name="l00171"></a>00171 <a class="code" href="interfaceAccessibility_1_1ContentStream.html">ContentStream</a> getStream (in <span class="keywordtype">string</span> contentType);
93
<a name="l00172"></a>00172
94
<a name="l00183"></a>00183 <span class="keywordtype">string</span> getURI (in <span class="keywordtype">string</span> contentType);
95
<a name="l00190"></a>00190 <span class="keywordtype">void</span> unImplemented ();
96
<a name="l00191"></a>00191 <span class="keywordtype">void</span> unImplemented2 ();
97
<a name="l00193"></a>00193 };
98
<a name="l00194"></a>00194
99
<a name="l00195"></a>00195 };
101
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 24 18:12:32 2009 for at-spi-idl by
102
<a href="http://www.doxygen.org/index.html">
103
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>