![]() |
![]() |
![]() |
Zeitgeist Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Signals |
ZeitgeistDataSourceRegistryZeitgeistDataSourceRegistry — Query the Zeitgeist Data-Source Registry extension |
#define ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY void zeitgeist_data_source_registry_get_data_sources (ZeitgeistDataSourceRegistry *self
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); GPtrArray * zeitgeist_data_source_registry_get_data_sources_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
); void zeitgeist_data_source_registry_get_data_source_from_id (ZeitgeistDataSourceRegistry *self
,const gchar *unique_id
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); ZeitgeistDataSource * zeitgeist_data_source_registry_get_data_source_from_id_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
); void zeitgeist_data_source_registry_register_data_source (ZeitgeistDataSourceRegistry *self
,ZeitgeistDataSource *data_source
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); gboolean zeitgeist_data_source_registry_register_data_source_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
); void zeitgeist_data_source_registry_set_data_source_enabled (ZeitgeistDataSourceRegistry *self
,const gchar *unique_id
,gboolean enabled
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); void zeitgeist_data_source_registry_set_data_source_enabled_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
); ZeitgeistDataSourceRegistry * zeitgeist_data_source_registry_new (void
); struct ZeitgeistDataSourceRegistry; struct ZeitgeistDataSourceRegistryClass; void zeitgeist_remote_registry_get_data_sources (ZeitgeistRemoteRegistry *self
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); GVariant * zeitgeist_remote_registry_get_data_sources_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
); void zeitgeist_remote_registry_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 zeitgeist_remote_registry_register_data_source_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
); void zeitgeist_remote_registry_set_data_source_enabled (ZeitgeistRemoteRegistry *self
,const gchar *unique_id
,gboolean enabled
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); void zeitgeist_remote_registry_set_data_source_enabled_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
); void zeitgeist_remote_registry_get_data_source_from_id (ZeitgeistRemoteRegistry *self
,const gchar *unique_id
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); GVariant * zeitgeist_remote_registry_get_data_source_from_id_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
); ZeitgeistRemoteRegistry; struct ZeitgeistRemoteRegistryIface;
GObject +----ZeitgeistQueuedProxyWrapper +----ZeitgeistDataSourceRegistry
GInterface +----ZeitgeistRemoteRegistry
"source-disconnected" :Run Last
"source-enabled" :Run Last
"source-registered" :Run Last
"data-source-disconnected" :Run Last
"data-source-enabled" :Run Last
"data-source-registered" :Run Last
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.
#define ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY (zeitgeist_data_source_registry_get_type ())
The type for ZeitgeistDataSourceRegistry.
void zeitgeist_data_source_registry_get_data_sources (ZeitgeistDataSourceRegistry *self
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
See also: zeitgeist_data_source_registry_get_data_sources_finish()
|
the ZeitgeistDataSourceRegistry instance |
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
GPtrArray * zeitgeist_data_source_registry_get_data_sources_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_data_source_registry_get_data_sources()
|
the ZeitgeistDataSourceRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
void zeitgeist_data_source_registry_get_data_source_from_id (ZeitgeistDataSourceRegistry *self
,const gchar *unique_id
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
See also: zeitgeist_data_source_registry_get_data_source_from_id_finish()
|
the ZeitgeistDataSourceRegistry instance |
|
|
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
ZeitgeistDataSource * zeitgeist_data_source_registry_get_data_source_from_id_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_data_source_registry_get_data_source_from_id()
|
the ZeitgeistDataSourceRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
void zeitgeist_data_source_registry_register_data_source (ZeitgeistDataSourceRegistry *self
,ZeitgeistDataSource *data_source
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
See also: zeitgeist_data_source_registry_register_data_source_finish()
|
the ZeitgeistDataSourceRegistry instance |
|
|
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
gboolean zeitgeist_data_source_registry_register_data_source_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_data_source_registry_register_data_source()
|
the ZeitgeistDataSourceRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
void zeitgeist_data_source_registry_set_data_source_enabled (ZeitgeistDataSourceRegistry *self
,const gchar *unique_id
,gboolean enabled
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
See also: zeitgeist_data_source_registry_set_data_source_enabled_finish()
|
the ZeitgeistDataSourceRegistry instance |
|
|
|
|
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
void zeitgeist_data_source_registry_set_data_source_enabled_finish (ZeitgeistDataSourceRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_data_source_registry_set_data_source_enabled()
|
the ZeitgeistDataSourceRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
ZeitgeistDataSourceRegistry * zeitgeist_data_source_registry_new
(void
);
struct ZeitgeistDataSourceRegistry;
Query the Zeitgeist Data-Source Registry extension
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.
struct ZeitgeistDataSourceRegistryClass { ZeitgeistQueuedProxyWrapperClass parent_class; };
The class structure for ZEITGEIST_TYPE_DATA_SOURCE_REGISTRY
. All the fields in this structure are private and should never be accessed directly.
void zeitgeist_remote_registry_get_data_sources (ZeitgeistRemoteRegistry *self
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
See also: zeitgeist_remote_registry_get_data_sources_finish()
|
the ZeitgeistRemoteRegistry instance |
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
GVariant * zeitgeist_remote_registry_get_data_sources_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_remote_registry_get_data_sources()
|
the ZeitgeistRemoteRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
void zeitgeist_remote_registry_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_
);
See also: zeitgeist_remote_registry_register_data_source_finish()
|
the ZeitgeistRemoteRegistry instance |
|
|
|
|
|
|
|
|
|
|
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
gboolean zeitgeist_remote_registry_register_data_source_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_remote_registry_register_data_source()
|
the ZeitgeistRemoteRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
void zeitgeist_remote_registry_set_data_source_enabled (ZeitgeistRemoteRegistry *self
,const gchar *unique_id
,gboolean enabled
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
See also: zeitgeist_remote_registry_set_data_source_enabled_finish()
|
the ZeitgeistRemoteRegistry instance |
|
|
|
|
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
void zeitgeist_remote_registry_set_data_source_enabled_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_remote_registry_set_data_source_enabled()
|
the ZeitgeistRemoteRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
void zeitgeist_remote_registry_get_data_source_from_id (ZeitgeistRemoteRegistry *self
,const gchar *unique_id
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
See also: zeitgeist_remote_registry_get_data_source_from_id_finish()
|
the ZeitgeistRemoteRegistry instance |
|
|
|
|
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
GVariant * zeitgeist_remote_registry_get_data_source_from_id_finish (ZeitgeistRemoteRegistry *self
,GAsyncResult *_res_
,GError **error
);
See also: zeitgeist_remote_registry_get_data_source_from_id()
|
the ZeitgeistRemoteRegistry instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
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); };
Interface for creating ZeitgeistRemoteRegistry implementations.
"source-disconnected"
signalvoid user_function (ZeitgeistDataSourceRegistry *data_source_registry,
ZeitgeistDataSource *data_source,
gpointer user_data) : Run Last
|
the ZeitgeistDataSourceRegistry instance that received the signal |
|
|
|
user data set when the signal handler was connected. |
"source-enabled"
signalvoid user_function (ZeitgeistDataSourceRegistry *data_source_registry,
gchar *unique_id,
gboolean enabled,
gpointer user_data) : Run Last
|
the ZeitgeistDataSourceRegistry instance that received the signal |
|
|
|
|
|
user data set when the signal handler was connected. |
"source-registered"
signalvoid user_function (ZeitgeistDataSourceRegistry *data_source_registry,
ZeitgeistDataSource *data_source,
gpointer user_data) : Run Last
|
the ZeitgeistDataSourceRegistry instance that received the signal |
|
|
|
user data set when the signal handler was connected. |
"data-source-disconnected"
signalvoid user_function (ZeitgeistRemoteRegistry *remote_registry,
GVariant *data_source,
gpointer user_data) : Run Last
|
the ZeitgeistRemoteRegistry instance that received the signal |
|
|
|
user data set when the signal handler was connected. |
"data-source-enabled"
signalvoid user_function (ZeitgeistRemoteRegistry *remote_registry,
gchar *unique_id,
gboolean enabled,
gpointer user_data) : Run Last
|
the ZeitgeistRemoteRegistry instance that received the signal |
|
|
|
|
|
user data set when the signal handler was connected. |
"data-source-registered"
signalvoid user_function (ZeitgeistRemoteRegistry *remote_registry,
GVariant *data_source,
gpointer user_data) : Run Last
|
the ZeitgeistRemoteRegistry instance that received the signal |
|
|
|
user data set when the signal handler was connected. |