This file is indexed.

/usr/share/gtk-doc/html/bonobo-activation/query-langage.html is in libbonobo2-dev 2.32.1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Bonobo Activation Query Langage</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Bonobo Activation API Reference Manual">
<link rel="up" href="index.html" title="Bonobo Activation API Reference Manual">
<link rel="prev" href="async-activation.html" title="Async Activation">
<link rel="next" href="query-syntax.html" title="Syntax">
<meta name="generator" content="GTK-Doc V1.16 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="async-activation.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Bonobo Activation API Reference Manual</th>
<td><a accesskey="n" href="query-syntax.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h2 class="title">
<a name="query-langage"></a>Bonobo Activation Query Langage</h2></div></div></div>
<div class="toc"><dl>
<dt><span class="sect1"><a href="query-langage.html#id326567">The Bonobo Activation query langage</a></span></dt>
<dt><span class="sect1"><a href="query-syntax.html">Syntax</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="query-syntax.html#oaf-query-ref-types">Constants</a></span></dt>
<dt><span class="sect2"><a href="query-syntax.html#id326930">Field identifiers</a></span></dt>
<dt><span class="sect2"><a href="query-syntax.html#id326953">Variables</a></span></dt>
<dt><span class="sect2"><a href="query-syntax.html#id326978">Functions</a></span></dt>
<dt><span class="sect2"><a href="query-syntax.html#id327045">Operators</a></span></dt>
</dl></dd>
</dl></div>
<div class="sect1">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id326567"></a>The Bonobo Activation query langage</h2></div></div></div>
<p>
Bonobo Activation has a query language used to request components with
specific properties from the Bonobo Activation daemon.
The API call <code class="function">bonobo_activation_activate</code> takes a
<span class="emphasis"><em>requirements</em></span> parameter which is
a string containing a specific request in the OAF query 
langage.
A simple example is:
</p>
<pre class="programlisting">
CORBA_Object o = bonobo_activation_activate ("repo_ids.has ('IDL:GNOME/Graph/Layout:1.0')",
                                             NULL, 0, NULL, &amp;ev);
</pre>
<p>
This will ask for a component which supports the GNOME/Graph/Lyout:1.0 interface.
You can also do much more complicated things.
</p>
<pre class="programlisting">
"(repo_ids.has_all (['IDL:Bonobo/Control:1.0',
		     'IDL:Nautilus/ContentView:1.0']) OR
  repo_ids.has_one (['IDL:Bonobo/Control:1.0',
                     'IDL:Bonobo/Embeddable:1.0'])) AND
  repo_ids.has('IDL:Bonobo/PersistFile:1.0') AND
  foo:bar.defined()"
</pre>
<p>
This would get any component with both 'Control' and 'ContentView' or
with either 'Control' or 'Embeddable' as long as they supported the
'PersistFile' interface, and defined the attribute 'foo:bar'.
</p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.16</div>
</body>
</html>