~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

« back to all changes in this revision

Viewing changes to doc/api/html/libbonobo-bonobo-persist-stream.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-09-04 17:59:13 UTC
  • mto: (3.1.2 lenny) (1.1.25 upstream)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20060904175913-oml3562yozrki3pg
Tags: upstream-2.16.0
Import upstream version 2.16.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
<th width="100%" align="center">Libbonobo Reference Manual</th>
28
28
<td><a accesskey="n" href="libbonobo-bonobo-persist-client.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
29
29
</tr>
30
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2945483" class="shortcut">Top</a>
31
 
                  &#160;|&#160;
32
 
                  <a href="#id2945777" class="shortcut">Description</a>
33
 
                  &#160;|&#160;
34
 
                  <a href="#id2945738" class="shortcut">Object Hierarchy</a></nobr></td></tr>
 
30
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2784168" class="shortcut">Top</a>
 
31
                  &#160;|&#160;
 
32
                  <a href="#id2784463" class="shortcut">Description</a>
 
33
                  &#160;|&#160;
 
34
                  <a href="#id2784423" class="shortcut">Object Hierarchy</a></nobr></td></tr>
35
35
</table>
36
36
<div class="refentry" lang="en">
37
37
<a name="libbonobo-bonobo-persist-stream"></a><div class="titlepage"></div>
38
38
<div class="refnamediv"><table width="100%"><tr>
39
39
<td valign="top">
40
40
<h2>
41
 
<a name="id2945483"></a><span class="refentrytitle">BonoboPersistStream</span>
 
41
<a name="id2784168"></a><span class="refentrytitle">BonoboPersistStream</span>
42
42
</h2>
43
43
<p>BonoboPersistStream &#8212; Interface for anything that can save / load itself from a Bonobo stream.</p>
44
44
</td>
83
83
</pre>
84
84
</div>
85
85
<div class="refsect1" lang="en">
86
 
<a name="id2945738"></a><h2>Object Hierarchy</h2>
 
86
<a name="id2784423"></a><h2>Object Hierarchy</h2>
87
87
<pre class="synopsis">
88
88
 
89
89
  <a
95
95
</pre>
96
96
</div>
97
97
<div class="refsect1" lang="en">
98
 
<a name="id2945777"></a><h2>Description</h2>
 
98
<a name="id2784463"></a><h2>Description</h2>
99
99
<p>
100
100
The PersistStream interface is the interface to use for all new
101
101
components that are able to load and save themselves to a stream.
111
111
<p>
112
112
  </p>
113
113
<div class="example">
114
 
<a name="id2945813"></a><p class="title"><b>Example&#160;4.&#160;Implementing the PersistStream callbacks</b></p>
 
114
<a name="id2784499"></a><p class="title"><b>Example&#160;4.&#160;Implementing the PersistStream callbacks</b></p>
115
115
<pre class="programlisting">
116
116
static void
117
117
load_from_stream (BonoboPersistStream        *ps,
152
152
and aggregate the interface to our object:
153
153
  </p>
154
154
<div class="example">
155
 
<a name="id2945864"></a><p class="title"><b>Example&#160;5.&#160;Aggregating a new PersistStream</b></p>
 
155
<a name="id2784550"></a><p class="title"><b>Example&#160;5.&#160;Aggregating a new PersistStream</b></p>
156
156
<pre class="programlisting">
157
157
EogImageData *
158
158
eog_image_data_construct (EogImageData *image_data)
181
181
</p>
182
182
</div>
183
183
<div class="refsect1" lang="en">
184
 
<a name="id2945886"></a><h2>Details</h2>
 
184
<a name="id2784572"></a><h2>Details</h2>
185
185
<div class="refsect2" lang="en">
186
 
<a name="id2945897"></a><h3>
 
186
<a name="id2784582"></a><h3>
187
187
<a name="BonoboPersistStream-struct"></a>BonoboPersistStream</h3>
188
 
<a class="indexterm" name="id2945910"></a><pre class="programlisting">typedef struct _BonoboPersistStream BonoboPersistStream;</pre>
 
188
<a class="indexterm" name="id2784596"></a><pre class="programlisting">typedef struct _BonoboPersistStream BonoboPersistStream;</pre>
189
189
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
190
190
<h3 class="title">Warning</h3>
191
191
<p><code class="literal">BonoboPersistStream</code> is deprecated and should not be used in newly-written code.</p>
196
196
</div>
197
197
<hr>
198
198
<div class="refsect2" lang="en">
199
 
<a name="id2945939"></a><h3>
 
199
<a name="id2784624"></a><h3>
200
200
<a name="BonoboPersistStreamClass"></a>BonoboPersistStreamClass</h3>
201
 
<a class="indexterm" name="id2945954"></a><pre class="programlisting">typedef struct {
 
201
<a class="indexterm" name="id2784640"></a><pre class="programlisting">typedef struct {
202
202
        BonoboPersistClass parent_class;
203
203
 
204
204
        POA_Bonobo_PersistStream__epv epv;
227
227
</div>
228
228
<hr>
229
229
<div class="refsect2" lang="en">
230
 
<a name="id2945992"></a><h3>
 
230
<a name="id2784678"></a><h3>
231
231
<a name="BonoboPersistStreamIOFn"></a>BonoboPersistStreamIOFn ()</h3>
232
 
<a class="indexterm" name="id2946007"></a><pre class="programlisting">void        (*BonoboPersistStreamIOFn)      (<a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a> *ps,
 
232
<a class="indexterm" name="id2784693"></a><pre class="programlisting">void        (*BonoboPersistStreamIOFn)      (<a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a> *ps,
233
233
                                             const Bonobo_Stream stream,
234
234
                                             Bonobo_Persist_ContentType type,
235
235
                                             void *closure,
281
281
</div>
282
282
<hr>
283
283
<div class="refsect2" lang="en">
284
 
<a name="id2946153"></a><h3>
 
284
<a name="id2784838"></a><h3>
285
285
<a name="BonoboPersistStreamTypesFn"></a>BonoboPersistStreamTypesFn ()</h3>
286
 
<a class="indexterm" name="id2946169"></a><pre class="programlisting">Bonobo_Persist_ContentTypeList* (*BonoboPersistStreamTypesFn)
 
286
<a class="indexterm" name="id2784855"></a><pre class="programlisting">Bonobo_Persist_ContentTypeList* (*BonoboPersistStreamTypesFn)
287
287
                                            (<a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a> *ps,
288
288
                                             void *closure,
289
289
                                             CORBA_Environment *ev);</pre>
328
328
</div>
329
329
<hr>
330
330
<div class="refsect2" lang="en">
331
 
<a name="id2946282"></a><h3>
 
331
<a name="id2784967"></a><h3>
332
332
<a name="bonobo-persist-stream-new"></a>bonobo_persist_stream_new ()</h3>
333
 
<a class="indexterm" name="id2946298"></a><pre class="programlisting"><a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a>* bonobo_persist_stream_new
 
333
<a class="indexterm" name="id2784984"></a><pre class="programlisting"><a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a>* bonobo_persist_stream_new
334
334
                                            (<a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStreamIOFn">BonoboPersistStreamIOFn</a> load_fn,
335
335
                                             <a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStreamIOFn">BonoboPersistStreamIOFn</a> save_fn,
336
336
                                             <a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStreamTypesFn">BonoboPersistStreamTypesFn</a> types_fn,
397
397
</div>
398
398
<hr>
399
399
<div class="refsect2" lang="en">
400
 
<a name="id2946482"></a><h3>
 
400
<a name="id2785168"></a><h3>
401
401
<a name="bonobo-persist-stream-construct"></a>bonobo_persist_stream_construct ()</h3>
402
 
<a class="indexterm" name="id2946498"></a><pre class="programlisting"><a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a>* bonobo_persist_stream_construct
 
402
<a class="indexterm" name="id2785184"></a><pre class="programlisting"><a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a>* bonobo_persist_stream_construct
403
403
                                            (<a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStream">BonoboPersistStream</a> *ps,
404
404
                                             <a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStreamIOFn">BonoboPersistStreamIOFn</a> load_fn,
405
405
                                             <a href="libbonobo-bonobo-persist-stream.html#BonoboPersistStreamIOFn">BonoboPersistStreamIOFn</a> save_fn,