<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<refentry id="ZeitgeistDataSourceRegistry">
<refmeta>
<refentrytitle role="top_of_page" id="ZeitgeistDataSourceRegistry.top_of_page">ZeitgeistDataSourceRegistry</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  ZEITGEIST-2.0 Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>ZeitgeistDataSourceRegistry</refname>
<refpurpose>Query the Zeitgeist Data-Source Registry extension</refpurpose>
</refnamediv>

<refsynopsisdiv id="ZeitgeistDataSourceRegistry.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<anchor id="ZeitgeistRemoteRegistry"/>
<synopsis>#define             <link linkend="ZEITGEIST-TYPE-DATA-SOURCE-REGISTRY:CAPS">ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY</link>
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-data-source-registry-get-data-sources">zeitgeist_data_source_registry_get_data_sources</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="GPtrArray"><returnvalue>GPtrArray</returnvalue></link> *         <link linkend="zeitgeist-data-source-registry-get-data-sources-finish">zeitgeist_data_source_registry_get_data_sources_finish</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-data-source-registry-get-data-source-from-id">zeitgeist_data_source_registry_get_data_source_from_id</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="ZeitgeistDataSource"><returnvalue>ZeitgeistDataSource</returnvalue></link> * <link linkend="zeitgeist-data-source-registry-get-data-source-from-id-finish">zeitgeist_data_source_registry_get_data_source_from_id_finish</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-data-source-registry-register-data-source">zeitgeist_data_source_registry_register_data_source</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="ZeitgeistDataSource"><type>ZeitgeistDataSource</type></link> *data_source</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="zeitgeist-data-source-registry-register-data-source-finish">zeitgeist_data_source_registry_register_data_source_finish</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-data-source-registry-set-data-source-enabled">zeitgeist_data_source_registry_set_data_source_enabled</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="gboolean"><type>gboolean</type></link> enabled</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-data-source-registry-set-data-source-enabled-finish">zeitgeist_data_source_registry_set_data_source_enabled_finish</link>
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="ZeitgeistDataSourceRegistry"><returnvalue>ZeitgeistDataSourceRegistry</returnvalue></link> * <link linkend="zeitgeist-data-source-registry-new">zeitgeist_data_source_registry_new</link>
                                                        (<parameter><type>void</type></parameter>);
struct              <link linkend="ZeitgeistDataSourceRegistry-struct">ZeitgeistDataSourceRegistry</link>;
struct              <link linkend="ZeitgeistDataSourceRegistryClass">ZeitgeistDataSourceRegistryClass</link>;
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-remote-registry-get-data-sources">zeitgeist_remote_registry_get_data_sources</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="GVariant"><returnvalue>GVariant</returnvalue></link> *          <link linkend="zeitgeist-remote-registry-get-data-sources-finish">zeitgeist_remote_registry_get_data_sources_finish</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-remote-registry-register-data-source">zeitgeist_remote_registry_register_data_source</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *name</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *description</parameter>,
                                                         <parameter><link linkend="GVariant"><type>GVariant</type></link> *event_templates</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter>const <link linkend="char"><type>char</type></link> *sender</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="zeitgeist-remote-registry-register-data-source-finish">zeitgeist_remote_registry_register_data_source_finish</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-remote-registry-set-data-source-enabled">zeitgeist_remote_registry_set_data_source_enabled</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="gboolean"><type>gboolean</type></link> enabled</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-remote-registry-set-data-source-enabled-finish">zeitgeist_remote_registry_set_data_source_enabled_finish</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="zeitgeist-remote-registry-get-data-source-from-id">zeitgeist_remote_registry_get_data_source_from_id</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);
<link linkend="GVariant"><returnvalue>GVariant</returnvalue></link> *          <link linkend="zeitgeist-remote-registry-get-data-source-from-id-finish">zeitgeist_remote_registry_get_data_source_from_id_finish</link>
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);
                    <link linkend="ZeitgeistRemoteRegistry-struct">ZeitgeistRemoteRegistry</link>;
struct              <link linkend="ZeitgeistRemoteRegistryIface">ZeitgeistRemoteRegistryIface</link>;
</synopsis>
</refsynopsisdiv>
<refsect1 id="ZeitgeistDataSourceRegistry.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="ZeitgeistQueuedProxyWrapper">ZeitgeistQueuedProxyWrapper</link>
         +----ZeitgeistDataSourceRegistry
</synopsis>
<synopsis>
  <link linkend="GInterface">GInterface</link>
   +----ZeitgeistRemoteRegistry
</synopsis>
</refsect1>
<refsect1 id="ZeitgeistDataSourceRegistry.prerequisites" role="prerequisites">
<title role="prerequisites.title">Prerequisites</title>
<para>
ZeitgeistRemoteRegistry requires
 <link linkend="GObject">GObject</link>.</para>
</refsect1>
<refsect1 id="ZeitgeistDataSourceRegistry.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
  &quot;<link linkend="ZeitgeistDataSourceRegistry-source-disconnected">source-disconnected</link>&quot;                            : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link>
  &quot;<link linkend="ZeitgeistDataSourceRegistry-source-enabled">source-enabled</link>&quot;                                 : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link>
  &quot;<link linkend="ZeitgeistDataSourceRegistry-source-registered">source-registered</link>&quot;                              : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link>
  &quot;<link linkend="ZeitgeistRemoteRegistry-data-source-disconnected">data-source-disconnected</link>&quot;                       : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link>
  &quot;<link linkend="ZeitgeistRemoteRegistry-data-source-enabled">data-source-enabled</link>&quot;                            : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link>
  &quot;<link linkend="ZeitgeistRemoteRegistry-data-source-registered">data-source-registered</link>&quot;                         : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link>
</synopsis>
</refsect1>

<refsect1 id="ZeitgeistDataSourceRegistry.description" role="desc">
<title role="desc.title">Description</title>
<para>
<para>The Zeitgeist engine maintains a publicly available list of recognized data-sources (components inserting information into Zeitgeist). ZeitgeistDataSourceRegistry is used to register new data sources, get information about them and gives the ability to enable or disable the data sources.</para>
</para>
</refsect1>
<refsect1 id="ZeitgeistDataSourceRegistry.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="ZEITGEIST-TYPE-DATA-SOURCE-REGISTRY:CAPS" role="macro">
<title>ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY</title>
<indexterm zone="ZEITGEIST-TYPE-DATA-SOURCE-REGISTRY:CAPS"><primary>ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY</primary></indexterm>
<programlisting>#define ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY (zeitgeist_data_source_registry_get_type ())
</programlisting>
<para>
The type for <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link>.
</para></refsect2>
<refsect2 id="zeitgeist-data-source-registry-get-data-sources" role="function">
<title>zeitgeist_data_source_registry_get_data_sources ()</title>
<indexterm zone="zeitgeist-data-source-registry-get-data-sources"><primary>zeitgeist_data_source_registry_get_data_sources</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_data_source_registry_get_data_sources
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-get-data-sources-finish"><function><link linkend="zeitgeist-data-source-registry-get-data-sources-finish"><function>zeitgeist_data_source_registry_get_data_sources_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-get-data-sources-finish" role="function">
<title>zeitgeist_data_source_registry_get_data_sources_finish ()</title>
<indexterm zone="zeitgeist-data-source-registry-get-data-sources-finish"><primary>zeitgeist_data_source_registry_get_data_sources_finish</primary></indexterm>
<programlisting><link linkend="GPtrArray"><returnvalue>GPtrArray</returnvalue></link> *         zeitgeist_data_source_registry_get_data_sources_finish
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-get-data-sources"><function><link linkend="zeitgeist-data-source-registry-get-data-sources"><function>zeitgeist_data_source_registry_get_data_sources()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-get-data-source-from-id" role="function">
<title>zeitgeist_data_source_registry_get_data_source_from_id ()</title>
<indexterm zone="zeitgeist-data-source-registry-get-data-source-from-id"><primary>zeitgeist_data_source_registry_get_data_source_from_id</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_data_source_registry_get_data_source_from_id
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-get-data-source-from-id-finish"><function><link linkend="zeitgeist-data-source-registry-get-data-source-from-id-finish"><function>zeitgeist_data_source_registry_get_data_source_from_id_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unique_id</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-get-data-source-from-id-finish" role="function">
<title>zeitgeist_data_source_registry_get_data_source_from_id_finish ()</title>
<indexterm zone="zeitgeist-data-source-registry-get-data-source-from-id-finish"><primary>zeitgeist_data_source_registry_get_data_source_from_id_finish</primary></indexterm>
<programlisting><link linkend="ZeitgeistDataSource"><returnvalue>ZeitgeistDataSource</returnvalue></link> * zeitgeist_data_source_registry_get_data_source_from_id_finish
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-get-data-source-from-id"><function><link linkend="zeitgeist-data-source-registry-get-data-source-from-id"><function>zeitgeist_data_source_registry_get_data_source_from_id()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-register-data-source" role="function">
<title>zeitgeist_data_source_registry_register_data_source ()</title>
<indexterm zone="zeitgeist-data-source-registry-register-data-source"><primary>zeitgeist_data_source_registry_register_data_source</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_data_source_registry_register_data_source
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="ZeitgeistDataSource"><type>ZeitgeistDataSource</type></link> *data_source</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-register-data-source-finish"><function><link linkend="zeitgeist-data-source-registry-register-data-source-finish"><function>zeitgeist_data_source_registry_register_data_source_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data_source</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-register-data-source-finish" role="function">
<title>zeitgeist_data_source_registry_register_data_source_finish ()</title>
<indexterm zone="zeitgeist-data-source-registry-register-data-source-finish"><primary>zeitgeist_data_source_registry_register_data_source_finish</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            zeitgeist_data_source_registry_register_data_source_finish
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-register-data-source"><function><link linkend="zeitgeist-data-source-registry-register-data-source"><function>zeitgeist_data_source_registry_register_data_source()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-set-data-source-enabled" role="function">
<title>zeitgeist_data_source_registry_set_data_source_enabled ()</title>
<indexterm zone="zeitgeist-data-source-registry-set-data-source-enabled"><primary>zeitgeist_data_source_registry_set_data_source_enabled</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_data_source_registry_set_data_source_enabled
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="gboolean"><type>gboolean</type></link> enabled</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-set-data-source-enabled-finish"><function><link linkend="zeitgeist-data-source-registry-set-data-source-enabled-finish"><function>zeitgeist_data_source_registry_set_data_source_enabled_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unique_id</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enabled</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-set-data-source-enabled-finish" role="function">
<title>zeitgeist_data_source_registry_set_data_source_enabled_finish ()</title>
<indexterm zone="zeitgeist-data-source-registry-set-data-source-enabled-finish"><primary>zeitgeist_data_source_registry_set_data_source_enabled_finish</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_data_source_registry_set_data_source_enabled_finish
                                                        (<parameter><link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-data-source-registry-set-data-source-enabled"><function><link linkend="zeitgeist-data-source-registry-set-data-source-enabled"><function>zeitgeist_data_source_registry_set_data_source_enabled()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-data-source-registry-new" role="function">
<title>zeitgeist_data_source_registry_new ()</title>
<indexterm zone="zeitgeist-data-source-registry-new"><primary>zeitgeist_data_source_registry_new</primary></indexterm>
<programlisting><link linkend="ZeitgeistDataSourceRegistry"><returnvalue>ZeitgeistDataSourceRegistry</returnvalue></link> * zeitgeist_data_source_registry_new
                                                        (<parameter><type>void</type></parameter>);</programlisting>
</refsect2>
<refsect2 id="ZeitgeistDataSourceRegistry-struct" role="struct">
<title>struct ZeitgeistDataSourceRegistry</title>
<indexterm zone="ZeitgeistDataSourceRegistry-struct"><primary>ZeitgeistDataSourceRegistry</primary></indexterm>
<programlisting>struct ZeitgeistDataSourceRegistry;</programlisting>
<para>
Query the Zeitgeist Data-Source Registry extension
</para>
<para>
<para>The Zeitgeist engine maintains a publicly available list of recognized data-sources (components inserting information into Zeitgeist). ZeitgeistDataSourceRegistry is used to register new data sources, get information about them and gives the ability to enable or disable the data sources.</para>
</para></refsect2>
<refsect2 id="ZeitgeistDataSourceRegistryClass" role="struct">
<title>struct ZeitgeistDataSourceRegistryClass</title>
<indexterm zone="ZeitgeistDataSourceRegistryClass"><primary>ZeitgeistDataSourceRegistryClass</primary></indexterm>
<programlisting>struct ZeitgeistDataSourceRegistryClass {
	ZeitgeistQueuedProxyWrapperClass parent_class;
};
</programlisting>
<para>
The class structure for <link linkend="ZEITGEIST-TYPE-DATA-SOURCE-REGISTRY:CAPS"><literal>ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY</literal></link>. All the fields in this structure are private and should never be accessed directly.
</para><variablelist role="struct">
<varlistentry><term><link linkend="ZeitgeistQueuedProxyWrapperClass"><type>ZeitgeistQueuedProxyWrapperClass</type></link>&#160;<structfield id="ZeitgeistDataSourceRegistryClass.parent-class">parent_class</structfield>;</term>
<listitem><simpara>the parent class structure</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-get-data-sources" role="function">
<title>zeitgeist_remote_registry_get_data_sources ()</title>
<indexterm zone="zeitgeist-remote-registry-get-data-sources"><primary>zeitgeist_remote_registry_get_data_sources</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_remote_registry_get_data_sources
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-get-data-sources-finish"><function><link linkend="zeitgeist-remote-registry-get-data-sources-finish"><function>zeitgeist_remote_registry_get_data_sources_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-get-data-sources-finish" role="function">
<title>zeitgeist_remote_registry_get_data_sources_finish ()</title>
<indexterm zone="zeitgeist-remote-registry-get-data-sources-finish"><primary>zeitgeist_remote_registry_get_data_sources_finish</primary></indexterm>
<programlisting><link linkend="GVariant"><returnvalue>GVariant</returnvalue></link> *          zeitgeist_remote_registry_get_data_sources_finish
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-get-data-sources"><function><link linkend="zeitgeist-remote-registry-get-data-sources"><function>zeitgeist_remote_registry_get_data_sources()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-register-data-source" role="function">
<title>zeitgeist_remote_registry_register_data_source ()</title>
<indexterm zone="zeitgeist-remote-registry-register-data-source"><primary>zeitgeist_remote_registry_register_data_source</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_remote_registry_register_data_source
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *name</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *description</parameter>,
                                                         <parameter><link linkend="GVariant"><type>GVariant</type></link> *event_templates</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter>const <link linkend="char"><type>char</type></link> *sender</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-register-data-source-finish"><function><link linkend="zeitgeist-remote-registry-register-data-source-finish"><function>zeitgeist_remote_registry_register_data_source_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unique_id</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>description</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>event_templates</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>sender</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-register-data-source-finish" role="function">
<title>zeitgeist_remote_registry_register_data_source_finish ()</title>
<indexterm zone="zeitgeist-remote-registry-register-data-source-finish"><primary>zeitgeist_remote_registry_register_data_source_finish</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            zeitgeist_remote_registry_register_data_source_finish
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-register-data-source"><function><link linkend="zeitgeist-remote-registry-register-data-source"><function>zeitgeist_remote_registry_register_data_source()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-set-data-source-enabled" role="function">
<title>zeitgeist_remote_registry_set_data_source_enabled ()</title>
<indexterm zone="zeitgeist-remote-registry-set-data-source-enabled"><primary>zeitgeist_remote_registry_set_data_source_enabled</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_remote_registry_set_data_source_enabled
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="gboolean"><type>gboolean</type></link> enabled</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-set-data-source-enabled-finish"><function><link linkend="zeitgeist-remote-registry-set-data-source-enabled-finish"><function>zeitgeist_remote_registry_set_data_source_enabled_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unique_id</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enabled</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-set-data-source-enabled-finish" role="function">
<title>zeitgeist_remote_registry_set_data_source_enabled_finish ()</title>
<indexterm zone="zeitgeist-remote-registry-set-data-source-enabled-finish"><primary>zeitgeist_remote_registry_set_data_source_enabled_finish</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_remote_registry_set_data_source_enabled_finish
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-set-data-source-enabled"><function><link linkend="zeitgeist-remote-registry-set-data-source-enabled"><function>zeitgeist_remote_registry_set_data_source_enabled()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-get-data-source-from-id" role="function">
<title>zeitgeist_remote_registry_get_data_source_from_id ()</title>
<indexterm zone="zeitgeist-remote-registry-get-data-source-from-id"><primary>zeitgeist_remote_registry_get_data_source_from_id</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                zeitgeist_remote_registry_get_data_source_from_id
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter>const <link linkend="gchar"><type>gchar</type></link> *unique_id</parameter>,
                                                         <parameter><link linkend="GCancellable"><type>GCancellable</type></link> *cancellable</parameter>,
                                                         <parameter><link linkend="GAsyncReadyCallback"><type>GAsyncReadyCallback</type></link> _callback_</parameter>,
                                                         <parameter><link linkend="gpointer"><type>gpointer</type></link> _user_data_</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-get-data-source-from-id-finish"><function><link linkend="zeitgeist-remote-registry-get-data-source-from-id-finish"><function>zeitgeist_remote_registry_get_data_source_from_id_finish()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unique_id</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cancellable</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_callback_</parameter>&#160;:</term>
<listitem><simpara>callback to call when the request is satisfied. <emphasis role="annotation">[<acronym>scope async</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><parameter>_user_data_</parameter>&#160;:</term>
<listitem><simpara>the data to pass to <parameter>_callback_</parameter> function. <emphasis role="annotation">[<acronym>closure</acronym>]</emphasis></simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="zeitgeist-remote-registry-get-data-source-from-id-finish" role="function">
<title>zeitgeist_remote_registry_get_data_source_from_id_finish ()</title>
<indexterm zone="zeitgeist-remote-registry-get-data-source-from-id-finish"><primary>zeitgeist_remote_registry_get_data_source_from_id_finish</primary></indexterm>
<programlisting><link linkend="GVariant"><returnvalue>GVariant</returnvalue></link> *          zeitgeist_remote_registry_get_data_source_from_id_finish
                                                        (<parameter><link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *self</parameter>,
                                                         <parameter><link linkend="GAsyncResult"><type>GAsyncResult</type></link> *_res_</parameter>,
                                                         <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
<emphasis>See also</emphasis>: <link linkend="zeitgeist-remote-registry-get-data-source-from-id"><function><link linkend="zeitgeist-remote-registry-get-data-source-from-id"><function>zeitgeist_remote_registry_get_data_source_from_id()</function></link></function></link>
</para><variablelist role="params">
<varlistentry><term><parameter>self</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_res_</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GAsyncResult"><type>GAsyncResult</type></link></simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>location to store the error occuring, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to ignore</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ZeitgeistRemoteRegistry-struct" role="struct">
<title>ZeitgeistRemoteRegistry</title>
<indexterm zone="ZeitgeistRemoteRegistry-struct"><primary>ZeitgeistRemoteRegistry</primary></indexterm>
<programlisting>typedef struct _ZeitgeistRemoteRegistry ZeitgeistRemoteRegistry;</programlisting>
</refsect2>
<refsect2 id="ZeitgeistRemoteRegistryIface" role="struct">
<title>struct ZeitgeistRemoteRegistryIface</title>
<indexterm zone="ZeitgeistRemoteRegistryIface"><primary>ZeitgeistRemoteRegistryIface</primary></indexterm>
<programlisting>struct ZeitgeistRemoteRegistryIface {
	GTypeInterface parent_iface;
	void (*get_data_sources) (ZeitgeistRemoteRegistry* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GVariant* (*get_data_sources_finish) (ZeitgeistRemoteRegistry* self, GAsyncResult* _res_, GError** error);
	void (*register_data_source) (ZeitgeistRemoteRegistry* self, const gchar* unique_id, const gchar* name, const gchar* description, GVariant* event_templates, GCancellable* cancellable, const char* sender, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*register_data_source_finish) (ZeitgeistRemoteRegistry* self, GAsyncResult* _res_, GError** error);
	void (*set_data_source_enabled) (ZeitgeistRemoteRegistry* self, const gchar* unique_id, gboolean enabled, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*set_data_source_enabled_finish) (ZeitgeistRemoteRegistry* self, GAsyncResult* _res_, GError** error);
	void (*get_data_source_from_id) (ZeitgeistRemoteRegistry* self, const gchar* unique_id, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GVariant* (*get_data_source_from_id_finish) (ZeitgeistRemoteRegistry* self, GAsyncResult* _res_, GError** error);
};
</programlisting>
<para>
Interface for creating <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> implementations.
</para><variablelist role="struct">
<varlistentry><term><link linkend="GTypeInterface"><type>GTypeInterface</type></link>&#160;<structfield id="ZeitgeistRemoteRegistryIface.parent-iface">parent_iface</structfield>;</term>
<listitem><simpara>the parent interface structure</simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.get-data-sources">get_data_sources</structfield>&#160;()</term>
<listitem><simpara>virtual method called by <link linkend="zeitgeist-remote-registry-get-data-sources"><function><link linkend="zeitgeist-remote-registry-get-data-sources"><function>zeitgeist_remote_registry_get_data_sources()</function></link></function></link></simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.get-data-sources-finish">get_data_sources_finish</structfield>&#160;()</term>
<listitem><simpara>asynchronous finish function for <structfield>get_data_sources</structfield>, called by <link linkend="zeitgeist-remote-registry-get-data-sources"><function><link linkend="zeitgeist-remote-registry-get-data-sources"><function>zeitgeist_remote_registry_get_data_sources()</function></link></function></link></simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.register-data-source">register_data_source</structfield>&#160;()</term>
<listitem><simpara>virtual method called by <link linkend="zeitgeist-remote-registry-register-data-source"><function><link linkend="zeitgeist-remote-registry-register-data-source"><function>zeitgeist_remote_registry_register_data_source()</function></link></function></link></simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.register-data-source-finish">register_data_source_finish</structfield>&#160;()</term>
<listitem><simpara>asynchronous finish function for <structfield>register_data_source</structfield>, called by <link linkend="zeitgeist-remote-registry-register-data-source"><function><link linkend="zeitgeist-remote-registry-register-data-source"><function>zeitgeist_remote_registry_register_data_source()</function></link></function></link></simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.set-data-source-enabled">set_data_source_enabled</structfield>&#160;()</term>
<listitem><simpara>virtual method called by <link linkend="zeitgeist-remote-registry-set-data-source-enabled"><function><link linkend="zeitgeist-remote-registry-set-data-source-enabled"><function>zeitgeist_remote_registry_set_data_source_enabled()</function></link></function></link></simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.set-data-source-enabled-finish">set_data_source_enabled_finish</structfield>&#160;()</term>
<listitem><simpara>asynchronous finish function for <structfield>set_data_source_enabled</structfield>, called by <link linkend="zeitgeist-remote-registry-set-data-source-enabled"><function><link linkend="zeitgeist-remote-registry-set-data-source-enabled"><function>zeitgeist_remote_registry_set_data_source_enabled()</function></link></function></link></simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.get-data-source-from-id">get_data_source_from_id</structfield>&#160;()</term>
<listitem><simpara>virtual method called by <link linkend="zeitgeist-remote-registry-get-data-source-from-id"><function><link linkend="zeitgeist-remote-registry-get-data-source-from-id"><function>zeitgeist_remote_registry_get_data_source_from_id()</function></link></function></link></simpara></listitem>
</varlistentry>
<varlistentry><term><structfield id="ZeitgeistRemoteRegistryIface.get-data-source-from-id-finish">get_data_source_from_id_finish</structfield>&#160;()</term>
<listitem><simpara>asynchronous finish function for <structfield>get_data_source_from_id</structfield>, called by <link linkend="zeitgeist-remote-registry-get-data-source-from-id"><function><link linkend="zeitgeist-remote-registry-get-data-source-from-id"><function>zeitgeist_remote_registry_get_data_source_from_id()</function></link></function></link></simpara></listitem>
</varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="ZeitgeistDataSourceRegistry.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="ZeitgeistDataSourceRegistry-source-disconnected" role="signal"><title>The <literal>&quot;source-disconnected&quot;</literal> signal</title>
<indexterm zone="ZeitgeistDataSourceRegistry-source-disconnected"><primary>ZeitgeistDataSourceRegistry::source-disconnected</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                user_function                      (<link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *data_source_registry,
                                                        <link linkend="ZeitgeistDataSource"><type>ZeitgeistDataSource</type></link>         *data_source,
                                                        <link linkend="gpointer"><type>gpointer</type></link>                     user_data)                 : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link></programlisting>
<variablelist role="params">
<varlistentry><term><parameter>data_source_registry</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance that received the signal</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data_source</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="ZeitgeistDataSourceRegistry-source-enabled" role="signal"><title>The <literal>&quot;source-enabled&quot;</literal> signal</title>
<indexterm zone="ZeitgeistDataSourceRegistry-source-enabled"><primary>ZeitgeistDataSourceRegistry::source-enabled</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                user_function                      (<link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *data_source_registry,
                                                        <link linkend="gchar"><type>gchar</type></link>                       *unique_id,
                                                        <link linkend="gboolean"><type>gboolean</type></link>                     enabled,
                                                        <link linkend="gpointer"><type>gpointer</type></link>                     user_data)                 : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link></programlisting>
<variablelist role="params">
<varlistentry><term><parameter>data_source_registry</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance that received the signal</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unique_id</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enabled</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="ZeitgeistDataSourceRegistry-source-registered" role="signal"><title>The <literal>&quot;source-registered&quot;</literal> signal</title>
<indexterm zone="ZeitgeistDataSourceRegistry-source-registered"><primary>ZeitgeistDataSourceRegistry::source-registered</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                user_function                      (<link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> *data_source_registry,
                                                        <link linkend="ZeitgeistDataSource"><type>ZeitgeistDataSource</type></link>         *data_source,
                                                        <link linkend="gpointer"><type>gpointer</type></link>                     user_data)                 : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link></programlisting>
<variablelist role="params">
<varlistentry><term><parameter>data_source_registry</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistDataSourceRegistry"><type>ZeitgeistDataSourceRegistry</type></link> instance that received the signal</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data_source</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="ZeitgeistRemoteRegistry-data-source-disconnected" role="signal"><title>The <literal>&quot;data-source-disconnected&quot;</literal> signal</title>
<indexterm zone="ZeitgeistRemoteRegistry-data-source-disconnected"><primary>ZeitgeistRemoteRegistry::data-source-disconnected</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                user_function                      (<link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *remote_registry,
                                                        <link linkend="GVariant"><type>GVariant</type></link>                *data_source,
                                                        <link linkend="gpointer"><type>gpointer</type></link>                 user_data)            : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link></programlisting>
<variablelist role="params">
<varlistentry><term><parameter>remote_registry</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance that received the signal</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data_source</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="ZeitgeistRemoteRegistry-data-source-enabled" role="signal"><title>The <literal>&quot;data-source-enabled&quot;</literal> signal</title>
<indexterm zone="ZeitgeistRemoteRegistry-data-source-enabled"><primary>ZeitgeistRemoteRegistry::data-source-enabled</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                user_function                      (<link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *remote_registry,
                                                        <link linkend="gchar"><type>gchar</type></link>                   *unique_id,
                                                        <link linkend="gboolean"><type>gboolean</type></link>                 enabled,
                                                        <link linkend="gpointer"><type>gpointer</type></link>                 user_data)            : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link></programlisting>
<variablelist role="params">
<varlistentry><term><parameter>remote_registry</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance that received the signal</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unique_id</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enabled</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="ZeitgeistRemoteRegistry-data-source-registered" role="signal"><title>The <literal>&quot;data-source-registered&quot;</literal> signal</title>
<indexterm zone="ZeitgeistRemoteRegistry-data-source-registered"><primary>ZeitgeistRemoteRegistry::data-source-registered</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                user_function                      (<link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> *remote_registry,
                                                        <link linkend="GVariant"><type>GVariant</type></link>                *data_source,
                                                        <link linkend="gpointer"><type>gpointer</type></link>                 user_data)            : <link linkend="G-SIGNAL-RUN-LAST:CAPS"><literal>Run Last</literal></link></programlisting>
<variablelist role="params">
<varlistentry><term><parameter>remote_registry</parameter>&#160;:</term>
<listitem><simpara>the <link linkend="ZeitgeistRemoteRegistry"><type>ZeitgeistRemoteRegistry</type></link> instance that received the signal</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data_source</parameter>&#160;:</term>
<listitem><simpara>&nbsp;</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>

</refentry>
