diff options
Diffstat (limited to 'docs/reference/libindicate-decl.txt')
-rw-r--r-- | docs/reference/libindicate-decl.txt | 872 |
1 files changed, 872 insertions, 0 deletions
diff --git a/docs/reference/libindicate-decl.txt b/docs/reference/libindicate-decl.txt index e69de29..b2caecb 100644 --- a/docs/reference/libindicate-decl.txt +++ b/docs/reference/libindicate-decl.txt @@ -0,0 +1,872 @@ +<MACRO> +<NAME>INDICATE_TYPE_INDICATOR</NAME> +#define INDICATE_TYPE_INDICATOR (indicate_indicator_get_type ()) +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR</NAME> +#define INDICATE_INDICATOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), INDICATE_TYPE_INDICATOR, IndicateIndicator)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_INDICATOR</NAME> +#define INDICATE_IS_INDICATOR(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), INDICATE_TYPE_INDICATOR)) +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_CLASS</NAME> +#define INDICATE_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), INDICATE_TYPE_INDICATOR, IndicateIndicatorClass)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_INDICATOR_CLASS</NAME> +#define INDICATE_IS_INDICATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), INDICATE_TYPE_INDICATOR)) +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_GET_CLASS</NAME> +#define INDICATE_INDICATOR_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), INDICATE_TYPE_INDICATOR, IndicateIndicatorClass)) +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_SIGNAL_HIDE</NAME> +#define INDICATE_INDICATOR_SIGNAL_HIDE "hide" +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_SIGNAL_SHOW</NAME> +#define INDICATE_INDICATOR_SIGNAL_SHOW "show" +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_SIGNAL_DISPLAY</NAME> +#define INDICATE_INDICATOR_SIGNAL_DISPLAY "user-display" +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_SIGNAL_MODIFIED</NAME> +#define INDICATE_INDICATOR_SIGNAL_MODIFIED "modified" +</MACRO> +<STRUCT> +<NAME>IndicateIndicator</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateIndicatorClass</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateIndicator</NAME> +struct _IndicateIndicator { + GObject parent; +}; + +</STRUCT> +<STRUCT> +<NAME>IndicateIndicatorClass</NAME> +struct _IndicateIndicatorClass { + GObjectClass parent_class; + + void (*hide) (IndicateIndicator * indicator, gpointer data); + void (*show) (IndicateIndicator * indicator, gpointer data); + void (*user_display) (IndicateIndicator * indicator, gpointer data); + void (*modified) (IndicateIndicator * indicator, gchar * property, gpointer data); + + const gchar * (*get_type) (IndicateIndicator * indicator); + void (*set_property) (IndicateIndicator * indicator, const gchar * key, const gchar * data); + const gchar * (*get_property) (IndicateIndicator * indicator, const gchar * key); + GPtrArray * (*list_properties) (IndicateIndicator * indicator); +}; + +</STRUCT> +<FUNCTION> +<NAME>indicate_indicator_get_type</NAME> +<RETURNS>GType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_new</NAME> +<RETURNS>IndicateIndicator *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_set_property</NAME> +<RETURNS>void </RETURNS> +IndicateIndicator * indicator, const gchar * property_name, const gchar * property_value +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_show</NAME> +<RETURNS>void </RETURNS> +IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_hide</NAME> +<RETURNS>void </RETURNS> +IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_is_visible</NAME> +<RETURNS>gboolean </RETURNS> +IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_get_id</NAME> +<RETURNS>guint </RETURNS> +IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_get_indicator_type</NAME> +<RETURNS>const gchar *</RETURNS> +IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_user_display</NAME> +<RETURNS>void </RETURNS> +IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_set_property</NAME> +<RETURNS>void </RETURNS> +IndicateIndicator * indicator, const gchar * key, const gchar * data +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_get_property</NAME> +<RETURNS>const gchar *</RETURNS> +IndicateIndicator * indicator, const gchar * key +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_list_properties</NAME> +<RETURNS>GPtrArray *</RETURNS> +IndicateIndicator * indicator +</FUNCTION> +<MACRO> +<NAME>INDICATE_TYPE_LISTENER</NAME> +#define INDICATE_TYPE_LISTENER (indicate_listener_get_type ()) +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER</NAME> +#define INDICATE_LISTENER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), INDICATE_TYPE_LISTENER, IndicateListener)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_LISTENER</NAME> +#define INDICATE_IS_LISTENER(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), INDICATE_TYPE_LISTENER)) +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_CLASS</NAME> +#define INDICATE_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), INDICATE_TYPE_LISTENER, IndicateListenerClass)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_LISTENER_CLASS</NAME> +#define INDICATE_IS_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), INDICATE_TYPE_LISTENER)) +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_GET_CLASS</NAME> +#define INDICATE_LISTENER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), INDICATE_TYPE_LISTENER, IndicateListenerClass)) +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_SIGNAL_INDICATOR_ADDED</NAME> +#define INDICATE_LISTENER_SIGNAL_INDICATOR_ADDED "indicator-added" +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_SIGNAL_INDICATOR_REMOVED</NAME> +#define INDICATE_LISTENER_SIGNAL_INDICATOR_REMOVED "indicator-removed" +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_SIGNAL_INDICATOR_MODIFIED</NAME> +#define INDICATE_LISTENER_SIGNAL_INDICATOR_MODIFIED "indicator-modified" +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_SIGNAL_SERVER_ADDED</NAME> +#define INDICATE_LISTENER_SIGNAL_SERVER_ADDED "server-added" +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_SIGNAL_SERVER_REMOVED</NAME> +#define INDICATE_LISTENER_SIGNAL_SERVER_REMOVED "server-removed" +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_SERVER_DBUS_NAME</NAME> +#define INDICATE_LISTENER_SERVER_DBUS_NAME(server) ((gchar *)server) +</MACRO> +<MACRO> +<NAME>INDICATE_LISTENER_INDICATOR_ID</NAME> +#define INDICATE_LISTENER_INDICATOR_ID(indicator) (GPOINTER_TO_UINT(indicator)) +</MACRO> +<TYPEDEF> +<NAME>IndicateListenerServer</NAME> +typedef gchar IndicateListenerServer; +</TYPEDEF> +<TYPEDEF> +<NAME>IndicateListenerIndicator</NAME> +typedef guint IndicateListenerIndicator; +</TYPEDEF> +<STRUCT> +<NAME>IndicateListener</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateListener</NAME> +struct _IndicateListener { + GObject parent; +}; + +</STRUCT> +<STRUCT> +<NAME>IndicateListenerClass</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateListenerClass</NAME> +struct _IndicateListenerClass { + GObjectClass parent; + + /* Signals */ + void (* indicator_added) (IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * type); + void (* indicator_removed) (IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * type); + void (* indicator_modified) (IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * type, gchar * property); + + void (* server_added) (IndicateListenerServer * server); + void (* server_removed) (IndicateListenerServer * server); +}; + +</STRUCT> +<FUNCTION> +<NAME>indicate_listener_get_type</NAME> +<RETURNS>GType </RETURNS> +void +</FUNCTION> +<USER_FUNCTION> +<NAME>indicate_listener_get_property_cb</NAME> +<RETURNS>void </RETURNS> +IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, gchar * propertydata, gpointer data +</USER_FUNCTION> +<FUNCTION> +<NAME>indicate_listener_new</NAME> +<RETURNS>IndicateListener *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>indicate_listener_get_property</NAME> +<RETURNS>void </RETURNS> +IndicateListener * listener,IndicateListenerServer * server,IndicateListenerIndicator * indicator,gchar * property,indicate_listener_get_property_cb callback,gpointer data +</FUNCTION> +<FUNCTION> +<NAME>indicate_listener_display</NAME> +<RETURNS>void </RETURNS> +IndicateListener * listener,IndicateListenerServer * server,IndicateListenerIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_listener_marshal_VOID__UINT_STRING</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>indicate_listener_marshal_VOID__POINTER_POINTER_STRING</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>indicate_listener_marshal_VOID__POINTER_POINTER_STRING_STRING</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_desktop</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, char ** OUT_desktop_file_uri, GError **error){return dbus_g_proxy_call (proxy, "GetDesktop", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_desktop_file_uri, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_desktop_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, char * OUT_desktop_file_uri, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_desktop_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, org_freedesktop_indicator_get_desktop_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetDesktop", org_freedesktop_indicator_get_desktop_async_callback, stuff, g_free, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_count</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, guint* OUT_indicator_count, GError **error){return dbus_g_proxy_call (proxy, "GetIndicatorCount", error, G_TYPE_INVALID, G_TYPE_UINT, OUT_indicator_count, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_count_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, guint OUT_indicator_count, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_count_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, org_freedesktop_indicator_get_indicator_count_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetIndicatorCount", org_freedesktop_indicator_get_indicator_count_async_callback, stuff, g_free, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_count_by_type</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, const char * IN_type, guint* OUT_indicator_count, GError **error){return dbus_g_proxy_call (proxy, "GetIndicatorCountByType", error, G_TYPE_STRING, IN_type, G_TYPE_INVALID, G_TYPE_UINT, OUT_indicator_count, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_count_by_type_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, guint OUT_indicator_count, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_count_by_type_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, const char * IN_type, org_freedesktop_indicator_get_indicator_count_by_type_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetIndicatorCountByType", org_freedesktop_indicator_get_indicator_count_by_type_async_callback, stuff, g_free, G_TYPE_STRING, IN_type, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_list</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, GArray** OUT_indicators, GError **error){return dbus_g_proxy_call (proxy, "GetIndicatorList", error, G_TYPE_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_INT), OUT_indicators, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_list_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, GArray *OUT_indicators, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_list_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, org_freedesktop_indicator_get_indicator_list_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetIndicatorList", org_freedesktop_indicator_get_indicator_list_async_callback, stuff, g_free, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_list_by_type</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, const char * IN_type, GArray** OUT_indicators, GError **error){return dbus_g_proxy_call (proxy, "GetIndicatorListByType", error, G_TYPE_STRING, IN_type, G_TYPE_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_INT), OUT_indicators, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_list_by_type_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, GArray *OUT_indicators, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_list_by_type_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, const char * IN_type, org_freedesktop_indicator_get_indicator_list_by_type_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetIndicatorListByType", org_freedesktop_indicator_get_indicator_list_by_type_async_callback, stuff, g_free, G_TYPE_STRING, IN_type, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_property</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, const guint IN_id, const char * IN_property, char ** OUT_value, GError **error){return dbus_g_proxy_call (proxy, "GetIndicatorProperty", error, G_TYPE_UINT, IN_id, G_TYPE_STRING, IN_property, G_TYPE_INVALID, G_TYPE_STRING, OUT_value, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_property_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, char * OUT_value, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_property_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, const guint IN_id, const char * IN_property, org_freedesktop_indicator_get_indicator_property_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetIndicatorProperty", org_freedesktop_indicator_get_indicator_property_async_callback, stuff, g_free, G_TYPE_UINT, IN_id, G_TYPE_STRING, IN_property, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_property_group</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, const guint IN_id, const char ** IN_properties, char *** OUT_values, GError **error){return dbus_g_proxy_call (proxy, "GetIndicatorPropertyGroup", error, G_TYPE_UINT, IN_id, G_TYPE_STRV, IN_properties, G_TYPE_INVALID, G_TYPE_STRV, OUT_values, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_property_group_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, char * *OUT_values, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_property_group_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, const guint IN_id, const char ** IN_properties, org_freedesktop_indicator_get_indicator_property_group_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetIndicatorPropertyGroup", org_freedesktop_indicator_get_indicator_property_group_async_callback, stuff, g_free, G_TYPE_UINT, IN_id, G_TYPE_STRV, IN_properties, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_properties</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, const guint IN_id, char *** OUT_properties, GError **error){return dbus_g_proxy_call (proxy, "GetIndicatorProperties", error, G_TYPE_UINT, IN_id, G_TYPE_INVALID, G_TYPE_STRV, OUT_properties, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_properties_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, char * *OUT_properties, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_get_indicator_properties_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, const guint IN_id, org_freedesktop_indicator_get_indicator_properties_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "GetIndicatorProperties", org_freedesktop_indicator_get_indicator_properties_async_callback, stuff, g_free, G_TYPE_UINT, IN_id, G_TYPE_INVALID +</FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_show_indicator_to_user</NAME> +<RETURNS>gboolean </RETURNS> +DBusGProxy *proxy, const guint IN_id, GError **error){return dbus_g_proxy_call (proxy, "ShowIndicatorToUser", error, G_TYPE_UINT, IN_id, G_TYPE_INVALID, G_TYPE_INVALID +</FUNCTION> +<USER_FUNCTION> +<NAME>org_freedesktop_indicator_show_indicator_to_user_reply</NAME> +<RETURNS>void </RETURNS> +DBusGProxy *proxy, GError *error, gpointer userdata +</USER_FUNCTION> +<FUNCTION> +<NAME>org_freedesktop_indicator_show_indicator_to_user_async</NAME> +<RETURNS>DBusGProxyCall *</RETURNS> +DBusGProxy *proxy, const guint IN_id, org_freedesktop_indicator_show_indicator_to_user_reply callback, gpointer userdata){DBusGAsyncData *stuff;stuff = g_new (DBusGAsyncData, 1 +</FUNCTION> +<FUNCTION> +<NAME>dbus_g_proxy_begin_call</NAME> +<RETURNS>return </RETURNS> +proxy, "ShowIndicatorToUser", org_freedesktop_indicator_show_indicator_to_user_async_callback, stuff, g_free, G_TYPE_UINT, IN_id, G_TYPE_INVALID +</FUNCTION> +<MACRO> +<NAME>INDICATE_TYPE_SERVER</NAME> +#define INDICATE_TYPE_SERVER (indicate_server_get_type ()) +</MACRO> +<MACRO> +<NAME>INDICATE_SERVER</NAME> +#define INDICATE_SERVER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), INDICATE_TYPE_SERVER, IndicateServer)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_SERVER</NAME> +#define INDICATE_IS_SERVER(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), INDICATE_TYPE_SERVER)) +</MACRO> +<MACRO> +<NAME>INDICATE_SERVER_CLASS</NAME> +#define INDICATE_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), INDICATE_TYPE_SERVER, IndicateServerClass)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_SERVER_CLASS</NAME> +#define INDICATE_IS_SERVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), INDICATE_TYPE_SERVER)) +</MACRO> +<MACRO> +<NAME>INDICATE_SERVER_GET_CLASS</NAME> +#define INDICATE_SERVER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), INDICATE_TYPE_SERVER, IndicateServerClass)) +</MACRO> +<STRUCT> +<NAME>IndicateServer</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateServer</NAME> +struct _IndicateServer { + GObject parent; +}; + +</STRUCT> +<STRUCT> +<NAME>IndicateServerClass</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateServerClass</NAME> +struct _IndicateServerClass { + GObjectClass parent; + + /* Signals */ + void (* indicator_added) (IndicateServer * server, guint id, gchar * type); + void (* indicator_removed) (IndicateServer * server, guint id, gchar * type); + void (* indicator_modified) (IndicateServer * server, guint id, gchar * property); + + /* Virtual Functions */ + gboolean (*get_desktop) (IndicateServer * server, gchar ** desktop_path, GError **error); + gboolean (*get_indicator_count) (IndicateServer * server, guint * count, GError **error); + gboolean (*get_indicator_count_by_type) (IndicateServer * server, gchar * type, guint * count, GError **error); + gboolean (*get_indicator_list) (IndicateServer * server, GArray ** indicators, GError ** error); + gboolean (*get_indicator_list_by_type) (IndicateServer * server, gchar * type, guint ** indicators, GError ** error); + gboolean (*get_indicator_property) (IndicateServer * server, guint id, gchar * property, gchar ** value, GError **error); + gboolean (*get_indicator_property_group) (IndicateServer * server, guint id, GPtrArray * properties, gchar *** value, GError **error); + gboolean (*get_indicator_properties) (IndicateServer * server, guint id, gchar *** properties, GError **error); + gboolean (*show_indicator_to_user) (IndicateServer * server, guint id, GError ** error); + guint (*get_next_id) (IndicateServer * server); +}; + +</STRUCT> +<FUNCTION> +<NAME>indicate_server_get_type</NAME> +<RETURNS>GType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_new</NAME> +<RETURNS>IndicateServer *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_set_dbus_object</NAME> +<RETURNS>void </RETURNS> +const gchar * obj +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_set_desktop_file</NAME> +<RETURNS>void </RETURNS> +const gchar * path +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_show</NAME> +<RETURNS>void </RETURNS> +IndicateServer * server +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_hide</NAME> +<RETURNS>void </RETURNS> +IndicateServer * server +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_next_id</NAME> +<RETURNS>guint </RETURNS> +IndicateServer * server +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_add_indicator</NAME> +<RETURNS>void </RETURNS> +IndicateServer * server, IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_remove_indicator</NAME> +<RETURNS>void </RETURNS> +IndicateServer * server, IndicateIndicator * indicator +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_ref_default</NAME> +<RETURNS>IndicateServer *</RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_set_default</NAME> +<RETURNS>void </RETURNS> +IndicateServer * server +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_desktop</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, gchar ** desktop_path, GError **error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_indicator_count</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, guint * count, GError **error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_indicator_count_by_type</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, gchar * type, guint * count, GError **error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_indicator_list</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, GArray ** indicators, GError ** error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_indicator_list_by_type</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, gchar * type, guint ** indicators, GError ** error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_indicator_property</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, guint id, gchar * property, gchar ** value, GError **error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_indicator_property_group</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, guint id, GPtrArray * properties, gchar *** value, GError **error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_get_indicator_properties</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, guint id, gchar *** properties, GError **error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_show_indicator_to_user</NAME> +<RETURNS>gboolean </RETURNS> +IndicateServer * server, guint id, GError ** error +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_emit_indicator_added</NAME> +<RETURNS>void </RETURNS> +IndicateServer *server, guint id, const gchar *type +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_emit_indicator_removed</NAME> +<RETURNS>void </RETURNS> +IndicateServer *server, guint id, const gchar *type +</FUNCTION> +<FUNCTION> +<NAME>indicate_server_emit_indicator_modified</NAME> +<RETURNS>void </RETURNS> +IndicateServer *server, guint id, const gchar *property +</FUNCTION> +<MACRO> +<NAME>INDICATE_TYPE_INDICATOR_MESSAGE</NAME> +#define INDICATE_TYPE_INDICATOR_MESSAGE (indicate_indicator_message_get_type ()) +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_MESSAGE</NAME> +#define INDICATE_INDICATOR_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessage)) +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_MESSAGE_CLASS</NAME> +#define INDICATE_INDICATOR_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessageClass)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_INDICATOR_MESSAGE</NAME> +#define INDICATE_IS_INDICATOR_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATE_TYPE_INDICATOR_MESSAGE)) +</MACRO> +<MACRO> +<NAME>INDICATE_IS_INDICATOR_MESSAGE_CLASS</NAME> +#define INDICATE_IS_INDICATOR_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATE_TYPE_INDICATOR_MESSAGE)) +</MACRO> +<MACRO> +<NAME>INDICATE_INDICATOR_MESSAGE_GET_CLASS</NAME> +#define INDICATE_INDICATOR_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessageClass)) +</MACRO> +<STRUCT> +<NAME>IndicateIndicatorMessage</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateIndicatorMessageClass</NAME> +</STRUCT> +<STRUCT> +<NAME>IndicateIndicatorMessageClass</NAME> +struct _IndicateIndicatorMessageClass +{ +IndicateIndicatorClass parent_class; +}; +</STRUCT> +<STRUCT> +<NAME>IndicateIndicatorMessage</NAME> +struct _IndicateIndicatorMessage +{ +IndicateIndicator parent; +}; +</STRUCT> +<FUNCTION> +<NAME>indicate_indicator_message_get_type</NAME> +<RETURNS>GType </RETURNS> +void +</FUNCTION> +<FUNCTION> +<NAME>indicate_indicator_message_new</NAME> +<RETURNS>IndicateIndicatorMessage *</RETURNS> +void +</FUNCTION> +<MACRO> +<NAME>g_marshal_value_peek_boolean</NAME> +#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_char</NAME> +#define g_marshal_value_peek_char(v) g_value_get_char (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_uchar</NAME> +#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_int</NAME> +#define g_marshal_value_peek_int(v) g_value_get_int (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_uint</NAME> +#define g_marshal_value_peek_uint(v) g_value_get_uint (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_long</NAME> +#define g_marshal_value_peek_long(v) g_value_get_long (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_ulong</NAME> +#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_int64</NAME> +#define g_marshal_value_peek_int64(v) g_value_get_int64 (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_uint64</NAME> +#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_enum</NAME> +#define g_marshal_value_peek_enum(v) g_value_get_enum (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_flags</NAME> +#define g_marshal_value_peek_flags(v) g_value_get_flags (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_float</NAME> +#define g_marshal_value_peek_float(v) g_value_get_float (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_double</NAME> +#define g_marshal_value_peek_double(v) g_value_get_double (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_string</NAME> +#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_param</NAME> +#define g_marshal_value_peek_param(v) g_value_get_param (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_boxed</NAME> +#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_pointer</NAME> +#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_object</NAME> +#define g_marshal_value_peek_object(v) g_value_get_object (v) +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_boolean</NAME> +#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_char</NAME> +#define g_marshal_value_peek_char(v) (v)->data[0].v_int +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_uchar</NAME> +#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_int</NAME> +#define g_marshal_value_peek_int(v) (v)->data[0].v_int +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_uint</NAME> +#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_long</NAME> +#define g_marshal_value_peek_long(v) (v)->data[0].v_long +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_ulong</NAME> +#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_int64</NAME> +#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_uint64</NAME> +#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_enum</NAME> +#define g_marshal_value_peek_enum(v) (v)->data[0].v_long +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_flags</NAME> +#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_float</NAME> +#define g_marshal_value_peek_float(v) (v)->data[0].v_float +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_double</NAME> +#define g_marshal_value_peek_double(v) (v)->data[0].v_double +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_string</NAME> +#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_param</NAME> +#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_boxed</NAME> +#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_pointer</NAME> +#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer +</MACRO> +<MACRO> +<NAME>g_marshal_value_peek_object</NAME> +#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer +</MACRO> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_STRING_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_STRING_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value G_GNUC_UNUSED,guint n_param_values,const GValue *param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data){typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_STRING_POINTER_POINTER) (gpointer data1,guint arg_1,gpointer arg_2,gpointer arg_3,gpointer arg_4,gpointer data2 +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value G_GNUC_UNUSED,guint n_param_values,const GValue *param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data){typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER) (gpointer data1,gpointer arg_1,gpointer arg_2,gpointer data2 +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_BOXED_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_BOXED_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value G_GNUC_UNUSED,guint n_param_values,const GValue *param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data){typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_BOXED_POINTER_POINTER) (gpointer data1,guint arg_1,gpointer arg_2,gpointer arg_3,gpointer arg_4,gpointer data2 +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__STRING_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__STRING_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value G_GNUC_UNUSED,guint n_param_values,const GValue *param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data){typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_POINTER_POINTER) (gpointer data1,gpointer arg_1,gpointer arg_2,gpointer arg_3,gpointer data2 +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_POINTER_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value G_GNUC_UNUSED,guint n_param_values,const GValue *param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data){typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_POINTER_POINTER) (gpointer data1,guint arg_1,gpointer arg_2,gpointer arg_3,gpointer data2 +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data +</FUNCTION> +<FUNCTION> +<NAME>dbus_glib_marshal_indicate_server_BOOLEAN__UINT_POINTER</NAME> +<RETURNS>void </RETURNS> +GClosure *closure,GValue *return_value G_GNUC_UNUSED,guint n_param_values,const GValue *param_values,gpointer invocation_hint G_GNUC_UNUSED,gpointer marshal_data){typedef gboolean (*GMarshalFunc_BOOLEAN__UINT_POINTER) (gpointer data1,guint arg_1,gpointer arg_2,gpointer data2 +</FUNCTION> |