~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): Daniel Holbach
  • Date: 2007-02-26 18:46:36 UTC
  • mto: (3.1.2 lenny) (1.1.25 upstream)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20070226184636-6sm1katlj5dcb1tq
Tags: upstream-2.17.92
ImportĀ upstreamĀ versionĀ 2.17.92

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
<th width="100%" align="center">Libbonobo Reference Manual</th>
29
29
<td><a accesskey="n" href="libbonobo-bonobo-exception.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
30
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2971759" class="shortcut">Top</a>
 
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2583819" class="shortcut">Top</a>
32
32
                  &#160;|&#160;
33
 
                  <a href="#id2971871" class="shortcut">Description</a></nobr></td></tr>
 
33
                  <a href="#id2583932" class="shortcut">Description</a></nobr></td></tr>
34
34
</table>
35
35
<div class="refentry" lang="en">
36
36
<a name="libbonobo-bonobo-context"></a><div class="titlepage"></div>
37
37
<div class="refnamediv"><table width="100%"><tr>
38
38
<td valign="top">
39
39
<h2>
40
 
<a name="id2971759"></a><span class="refentrytitle">bonobo-context</span>
 
40
<a name="id2583819"></a><span class="refentrytitle">bonobo-context</span>
41
41
</h2>
42
42
<p>bonobo-context &#8212; Extensible runtime service interface</p>
43
43
</td>
59
59
</pre>
60
60
</div>
61
61
<div class="refsect1" lang="en">
62
 
<a name="id2971871"></a><h2>Description</h2>
 
62
<a name="id2583932"></a><h2>Description</h2>
63
63
<p>
64
64
The bonobo-context code is designed to provide a way to
65
65
expose CORBA contexts through a single C interface. This
72
72
<p>
73
73
  </p>
74
74
<div class="example">
75
 
<a name="id2971893"></a><p class="title"><b>Example&#160;1.&#160;Getting and using the moniker context</b></p>
 
75
<a name="id2583953"></a><p class="title"><b>Example&#160;1.&#160;Getting and using the moniker context</b></p>
76
76
<div class="example-contents"><pre class="programlisting">
77
77
Bonobo_MonikerContext context;
78
78
Bonobo_Unknown        object;
112
112
<p>
113
113
  </p>
114
114
<div class="example">
115
 
<a name="id2971943"></a><p class="title"><b>Example&#160;2.&#160;How to get a factory to quit when it is idle</b></p>
 
115
<a name="id2584004"></a><p class="title"><b>Example&#160;2.&#160;How to get a factory to quit when it is idle</b></p>
116
116
<div class="example-contents"><pre class="programlisting">
117
117
static void
118
118
last_unref_exit_cb (gpointer      context,
143
143
easier:
144
144
  </p>
145
145
<div class="example">
146
 
<a name="id2972000"></a><p class="title"><b>Example&#160;3.&#160;How to get a factory to quit when it is idle</b></p>
 
146
<a name="id2584061"></a><p class="title"><b>Example&#160;3.&#160;How to get a factory to quit when it is idle</b></p>
147
147
<div class="example-contents"><pre class="programlisting">
148
148
bonobo_running_context_auto_exit_unref (factory) 
149
149
    </pre></div>
152
152
</p>
153
153
</div>
154
154
<div class="refsect1" lang="en">
155
 
<a name="id2972016"></a><h2>Details</h2>
 
155
<a name="id2584077"></a><h2>Details</h2>
156
156
<div class="refsect2" lang="en">
157
 
<a name="id2972027"></a><h3>
 
157
<a name="id2584087"></a><h3>
158
158
<a name="bonobo-context-get"></a>bonobo_context_get ()</h3>
159
 
<a class="indexterm" name="id2972039"></a><pre class="programlisting">Bonobo_Unknown bonobo_context_get           (const CORBA_char *context_name,
 
159
<a class="indexterm" name="id2584100"></a><pre class="programlisting">Bonobo_Unknown bonobo_context_get           (const CORBA_char *context_name,
160
160
                                             CORBA_Environment *opt_ev);</pre>
161
161
<p>
162
162
The most useful context is named 'Activation' and returns
187
187
</div>
188
188
<hr>
189
189
<div class="refsect2" lang="en">
190
 
<a name="id2972124"></a><h3>
 
190
<a name="id2584185"></a><h3>
191
191
<a name="bonobo-context-add"></a>bonobo_context_add ()</h3>
192
 
<a class="indexterm" name="id2972137"></a><pre class="programlisting">void        bonobo_context_add              (const CORBA_char *context_name,
 
192
<a class="indexterm" name="id2584198"></a><pre class="programlisting">void        bonobo_context_add              (const CORBA_char *context_name,
193
193
                                             Bonobo_Unknown context);</pre>
194
194
<p>
195
195
This function adds a new context to the context system</p>
214
214
</div>
215
215
<hr>
216
216
<div class="refsect2" lang="en">
217
 
<a name="id2972211"></a><h3>
 
217
<a name="id2584271"></a><h3>
218
218
<a name="bonobo-context-running-get"></a>bonobo_context_running_get ()</h3>
219
 
<a class="indexterm" name="id2972224"></a><pre class="programlisting"><a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* bonobo_context_running_get    (void);</pre>
 
219
<a class="indexterm" name="id2584285"></a><pre class="programlisting"><a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* bonobo_context_running_get    (void);</pre>
220
220
<p>
221
221
 
222
222
</p>
233
233
</div>
234
234
<hr>
235
235
<div class="refsect2" lang="en">
236
 
<a name="id2972260"></a><h3>
 
236
<a name="id2584320"></a><h3>
237
237
<a name="bonobo-running-context-auto-exit-unref"></a>bonobo_running_context_auto_exit_unref ()</h3>
238
 
<a class="indexterm" name="id2972273"></a><pre class="programlisting">void        bonobo_running_context_auto_exit_unref
 
238
<a class="indexterm" name="id2584334"></a><pre class="programlisting">void        bonobo_running_context_auto_exit_unref
239
239
                                            (<a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a> *object);</pre>
240
240
<p>
241
241