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

« back to all changes in this revision

Viewing changes to doc/api/html/libbonobo-bonobo-context.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-exception.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="#id2848653" class="shortcut">Top</a>
 
30
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2687339" class="shortcut">Top</a>
31
31
                  &#160;|&#160;
32
 
                  <a href="#id2848764" class="shortcut">Description</a></nobr></td></tr>
 
32
                  <a href="#id2687450" class="shortcut">Description</a></nobr></td></tr>
33
33
</table>
34
34
<div class="refentry" lang="en">
35
35
<a name="libbonobo-bonobo-context"></a><div class="titlepage"></div>
36
36
<div class="refnamediv"><table width="100%"><tr>
37
37
<td valign="top">
38
38
<h2>
39
 
<a name="id2848653"></a><span class="refentrytitle">bonobo-context</span>
 
39
<a name="id2687339"></a><span class="refentrytitle">bonobo-context</span>
40
40
</h2>
41
41
<p>bonobo-context &#8212; Extensible runtime service interface</p>
42
42
</td>
58
58
</pre>
59
59
</div>
60
60
<div class="refsect1" lang="en">
61
 
<a name="id2848764"></a><h2>Description</h2>
 
61
<a name="id2687450"></a><h2>Description</h2>
62
62
<p>
63
63
The bonobo-context code is designed to provide a way to
64
64
expose CORBA contexts through a single C interface. This
71
71
<p>
72
72
  </p>
73
73
<div class="example">
74
 
<a name="id2848785"></a><p class="title"><b>Example&#160;1.&#160;Getting and using the moniker context</b></p>
 
74
<a name="id2687471"></a><p class="title"><b>Example&#160;1.&#160;Getting and using the moniker context</b></p>
75
75
<pre class="programlisting">
76
76
Bonobo_MonikerContext context;
77
77
Bonobo_Unknown        object;
111
111
<p>
112
112
  </p>
113
113
<div class="example">
114
 
<a name="id2848836"></a><p class="title"><b>Example&#160;2.&#160;How to get a factory to quit when it is idle</b></p>
 
114
<a name="id2687522"></a><p class="title"><b>Example&#160;2.&#160;How to get a factory to quit when it is idle</b></p>
115
115
<pre class="programlisting">
116
116
static void
117
117
last_unref_exit_cb (gpointer      context,
142
142
easier:
143
143
  </p>
144
144
<div class="example">
145
 
<a name="id2848893"></a><p class="title"><b>Example&#160;3.&#160;How to get a factory to quit when it is idle</b></p>
 
145
<a name="id2687579"></a><p class="title"><b>Example&#160;3.&#160;How to get a factory to quit when it is idle</b></p>
146
146
<pre class="programlisting">
147
147
bonobo_running_context_auto_exit_unref (factory) 
148
148
    </pre>
151
151
</p>
152
152
</div>
153
153
<div class="refsect1" lang="en">
154
 
<a name="id2848909"></a><h2>Details</h2>
 
154
<a name="id2687595"></a><h2>Details</h2>
155
155
<div class="refsect2" lang="en">
156
 
<a name="id2848919"></a><h3>
 
156
<a name="id2687605"></a><h3>
157
157
<a name="bonobo-context-get"></a>bonobo_context_get ()</h3>
158
 
<a class="indexterm" name="id2848932"></a><pre class="programlisting">Bonobo_Unknown bonobo_context_get           (const CORBA_char *context_name,
 
158
<a class="indexterm" name="id2687618"></a><pre class="programlisting">Bonobo_Unknown bonobo_context_get           (const CORBA_char *context_name,
159
159
                                             CORBA_Environment *opt_ev);</pre>
160
160
<p>
161
161
The most useful context is named 'Activation' and returns
189
189
</div>
190
190
<hr>
191
191
<div class="refsect2" lang="en">
192
 
<a name="id2849017"></a><h3>
 
192
<a name="id2687703"></a><h3>
193
193
<a name="bonobo-context-add"></a>bonobo_context_add ()</h3>
194
 
<a class="indexterm" name="id2849030"></a><pre class="programlisting">void        bonobo_context_add              (const CORBA_char *context_name,
 
194
<a class="indexterm" name="id2687716"></a><pre class="programlisting">void        bonobo_context_add              (const CORBA_char *context_name,
195
195
                                             Bonobo_Unknown context);</pre>
196
196
<p>
197
197
This function adds a new context to the context system</p>
218
218
</div>
219
219
<hr>
220
220
<div class="refsect2" lang="en">
221
 
<a name="id2849103"></a><h3>
 
221
<a name="id2687789"></a><h3>
222
222
<a name="bonobo-context-running-get"></a>bonobo_context_running_get ()</h3>
223
 
<a class="indexterm" name="id2849117"></a><pre class="programlisting"><a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* bonobo_context_running_get    (void);</pre>
 
223
<a class="indexterm" name="id2687803"></a><pre class="programlisting"><a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* bonobo_context_running_get    (void);</pre>
224
224
<p>
225
225
 
226
226
</p>
238
238
</div>
239
239
<hr>
240
240
<div class="refsect2" lang="en">
241
 
<a name="id2849152"></a><h3>
 
241
<a name="id2687838"></a><h3>
242
242
<a name="bonobo-running-context-auto-exit-unref"></a>bonobo_running_context_auto_exit_unref ()</h3>
243
 
<a class="indexterm" name="id2849166"></a><pre class="programlisting">void        bonobo_running_context_auto_exit_unref
 
243
<a class="indexterm" name="id2687852"></a><pre class="programlisting">void        bonobo_running_context_auto_exit_unref
244
244
                                            (<a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> *object);</pre>
245
245
<p>
246
246