Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Enumerations | Functions | Variables
protocol-lens-interface.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>

Go to the source code of this file.

Classes

struct  _UnityProtocolLensInfo
struct  _UnityProtocolActivationReplyRaw
struct  _UnityProtocolLensServiceIface

Defines

#define UNITY_PROTOCOL_TYPE_LENS_INFO   (unity_protocol_lens_info_get_type ())
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define UNITY_PROTOCOL_TYPE_HANDLED_TYPE   (unity_protocol_handled_type_get_type ())
#define UNITY_PROTOCOL_TYPE_ACTION_TYPE   (unity_protocol_action_type_get_type ())
#define UNITY_PROTOCOL_TYPE_VIEW_TYPE   (unity_protocol_view_type_get_type ())
#define UNITY_PROTOCOL_TYPE_LENS_SERVICE   (unity_protocol_lens_service_get_type ())
#define UNITY_PROTOCOL_LENS_SERVICE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE, UnityProtocolLensService))
#define UNITY_PROTOCOL_IS_LENS_SERVICE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE))
#define UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE, UnityProtocolLensServiceIface))
#define UNITY_PROTOCOL_TYPE_LENS_SERVICE_PROXY   (unity_protocol_lens_service_proxy_get_type ())
#define UNITY_PROTOCOL_TYPE_ACTIVATION_REPLY_RAW   (unity_protocol_activation_reply_raw_get_type ())

Typedefs

typedef struct _UnityProtocolLensInfo
typedef struct _UnityProtocolLensService
typedef struct _UnityProtocolLensServiceIface
typedef struct _UnityProtocolActivationReplyRaw
typedef GDBusProxy UnityProtocolLensServiceProxy
typedef GDBusProxyClass UnityProtocolLensServiceProxyClass

Enumerations

enum  UnityProtocolHandledType {
  UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED, UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH, UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH, UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI,
  UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW, UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED, UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH, UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH,
  UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI, UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW
}
enum  UnityProtocolActionType {
  UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT, UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT, UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION, UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION,
  UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT, UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT, UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION, UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION
}
enum  UnityProtocolViewType {
  UNITY_PROTOCOL_VIEW_TYPE_HIDDEN, UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW, UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW, UNITY_PROTOCOL_VIEW_TYPE_HIDDEN,
  UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW, UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW
}

Functions

GType unity_protocol_lens_info_get_type (void)
static gpointer _g_hash_table_ref0 (gpointer self)
void unity_protocol_lens_info_copy (const UnityProtocolLensInfo *self, UnityProtocolLensInfo *dest)
void unity_protocol_lens_info_destroy (UnityProtocolLensInfo *self)
UnityProtocolLensInfo * unity_protocol_lens_info_dup (const UnityProtocolLensInfo *self)
void unity_protocol_lens_info_free (UnityProtocolLensInfo *self)
GType unity_protocol_handled_type_get_type (void)
GType unity_protocol_action_type_get_type (void)
GType unity_protocol_view_type_get_type (void)
void unity_protocol_lens_service_info_request (UnityProtocolLensService *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_protocol_lens_service_info_request_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
void unity_protocol_lens_service_activate (UnityProtocolLensService *self, const gchar *uri, guint action_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_protocol_lens_service_activate_finish (UnityProtocolLensService *self, GAsyncResult *_res_, UnityProtocolActivationReplyRaw *result, GError **error)
void unity_protocol_lens_service_update_preview_property (UnityProtocolLensService *self, const gchar *uri, GHashTable *values, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_protocol_lens_service_update_preview_property_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
void unity_protocol_lens_service_search (UnityProtocolLensService *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_protocol_lens_service_search_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
void unity_protocol_lens_service_global_search (UnityProtocolLensService *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_protocol_lens_service_global_search_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
void unity_protocol_lens_service_update_filter (UnityProtocolLensService *self, const gchar *filter_name, GHashTable *properties, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_protocol_lens_service_update_filter_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
void unity_protocol_lens_service_set_view_type (UnityProtocolLensService *self, guint view_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_protocol_lens_service_set_view_type_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
static void g_cclosure_user_marshal_VOID__BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void unity_protocol_lens_service_base_init (UnityProtocolLensServiceIface *iface)
GType unity_protocol_lens_service_get_type (void)
 LensService:
static void unity_protocol_lens_service_proxy_class_init (UnityProtocolLensServiceProxyClass *klass)
static void _dbus_handle_unity_protocol_lens_service_changed (UnityProtocolLensService *self, GVariant *parameters)
static void unity_protocol_lens_service_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void unity_protocol_lens_service_proxy_init (UnityProtocolLensServiceProxy *self)
static void _vala_g_async_ready_callback (GObject *source_object, GAsyncResult *res, void *user_data)
static void unity_protocol_lens_service_proxy_info_request_async (UnityProtocolLensService *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_protocol_lens_service_proxy_info_request_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
static void unity_protocol_lens_service_proxy_activate_async (UnityProtocolLensService *self, const gchar *uri, guint action_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_protocol_lens_service_proxy_activate_finish (UnityProtocolLensService *self, GAsyncResult *_res_, UnityProtocolActivationReplyRaw *result, GError **error)
static void unity_protocol_lens_service_proxy_update_preview_property_async (UnityProtocolLensService *self, const gchar *uri, GHashTable *values, GAsyncReadyCallback _callback_, gpointer _user_data_)
static GHashTable * unity_protocol_lens_service_proxy_update_preview_property_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
static void unity_protocol_lens_service_proxy_search_async (UnityProtocolLensService *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static GHashTable * unity_protocol_lens_service_proxy_search_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
static void unity_protocol_lens_service_proxy_global_search_async (UnityProtocolLensService *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static GHashTable * unity_protocol_lens_service_proxy_global_search_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
static void unity_protocol_lens_service_proxy_update_filter_async (UnityProtocolLensService *self, const gchar *filter_name, GHashTable *properties, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_protocol_lens_service_proxy_update_filter_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
static void unity_protocol_lens_service_proxy_set_view_type_async (UnityProtocolLensService *self, guint view_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_protocol_lens_service_proxy_set_view_type_finish (UnityProtocolLensService *self, GAsyncResult *_res_, GError **error)
static void unity_protocol_lens_service_proxy_unity_protocol_lens_service_interface_init (UnityProtocolLensServiceIface *iface)
static void _dbus_unity_protocol_lens_service_info_request (UnityProtocolLensService *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_protocol_lens_service_info_request_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_protocol_lens_service_activate (UnityProtocolLensService *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_protocol_lens_service_activate_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_protocol_lens_service_update_preview_property (UnityProtocolLensService *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_protocol_lens_service_update_preview_property_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_protocol_lens_service_search (UnityProtocolLensService *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_protocol_lens_service_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_protocol_lens_service_global_search (UnityProtocolLensService *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_protocol_lens_service_global_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_protocol_lens_service_update_filter (UnityProtocolLensService *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_protocol_lens_service_update_filter_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_protocol_lens_service_set_view_type (UnityProtocolLensService *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_protocol_lens_service_set_view_type_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_protocol_lens_service_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * unity_protocol_lens_service_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static gboolean unity_protocol_lens_service_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _dbus_unity_protocol_lens_service_changed (GObject *_sender, UnityProtocolLensInfo *lens_info, gpointer *_data)
guint unity_protocol_lens_service_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _unity_protocol_lens_service_unregister_object (gpointer user_data)

Variables

static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_info_request_out [] = {NULL}
static const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_info_request = {-1, "InfoRequest", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_info_request_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_info_request_out)}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_activate_uri = {-1, "uri", "s"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_activate_action_type = {-1, "action_type", "u"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_activate_result = {-1, "result", "(sua{sv})"}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_activate_in [] = {&_unity_protocol_lens_service_dbus_arg_info_activate_uri, &_unity_protocol_lens_service_dbus_arg_info_activate_action_type, NULL}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_activate_out [] = {&_unity_protocol_lens_service_dbus_arg_info_activate_result, NULL}
static const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_activate = {-1, "Activate", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_activate_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_activate_out)}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_preview_property_uri = {-1, "uri", "s"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_preview_property_values = {-1, "values", "a{sv}"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_preview_property_result = {-1, "result", "a{sv}"}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_update_preview_property_in [] = {&_unity_protocol_lens_service_dbus_arg_info_update_preview_property_uri, &_unity_protocol_lens_service_dbus_arg_info_update_preview_property_values, NULL}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_update_preview_property_out [] = {&_unity_protocol_lens_service_dbus_arg_info_update_preview_property_result, NULL}
static const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_update_preview_property = {-1, "UpdatePreviewProperty", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_update_preview_property_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_update_preview_property_out)}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_search_search_string = {-1, "search_string", "s"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_search_hints = {-1, "hints", "a{sv}"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_search_result = {-1, "result", "a{sv}"}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_search_in [] = {&_unity_protocol_lens_service_dbus_arg_info_search_search_string, &_unity_protocol_lens_service_dbus_arg_info_search_hints, NULL}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_search_out [] = {&_unity_protocol_lens_service_dbus_arg_info_search_result, NULL}
static const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_search = {-1, "Search", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_search_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_search_out)}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_global_search_search_string = {-1, "search_string", "s"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_global_search_hints = {-1, "hints", "a{sv}"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_global_search_result = {-1, "result", "a{sv}"}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_global_search_in [] = {&_unity_protocol_lens_service_dbus_arg_info_global_search_search_string, &_unity_protocol_lens_service_dbus_arg_info_global_search_hints, NULL}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_global_search_out [] = {&_unity_protocol_lens_service_dbus_arg_info_global_search_result, NULL}
static const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_global_search = {-1, "GlobalSearch", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_global_search_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_global_search_out)}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_filter_filter_name = {-1, "filter_name", "s"}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_filter_properties = {-1, "properties", "a{sv}"}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_update_filter_in [] = {&_unity_protocol_lens_service_dbus_arg_info_update_filter_filter_name, &_unity_protocol_lens_service_dbus_arg_info_update_filter_properties, NULL}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_update_filter_out [] = {NULL}
static const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_update_filter = {-1, "UpdateFilter", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_update_filter_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_update_filter_out)}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_set_view_type_view_type = {-1, "view_type", "u"}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_set_view_type_in [] = {&_unity_protocol_lens_service_dbus_arg_info_set_view_type_view_type, NULL}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_set_view_type_out [] = {NULL}
static const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_set_view_type = {-1, "SetViewType", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_set_view_type_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_set_view_type_out)}
static const GDBusMethodInfo *const _unity_protocol_lens_service_dbus_method_info [] = {&_unity_protocol_lens_service_dbus_method_info_info_request, &_unity_protocol_lens_service_dbus_method_info_activate, &_unity_protocol_lens_service_dbus_method_info_update_preview_property, &_unity_protocol_lens_service_dbus_method_info_search, &_unity_protocol_lens_service_dbus_method_info_global_search, &_unity_protocol_lens_service_dbus_method_info_update_filter, &_unity_protocol_lens_service_dbus_method_info_set_view_type, NULL}
static const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_changed_lens_info = {-1, "lens_info", "(sbbssssssa{sv})"}
static const GDBusArgInfo *const _unity_protocol_lens_service_dbus_arg_info_changed [] = {&_unity_protocol_lens_service_dbus_arg_info_changed_lens_info, NULL}
static const GDBusSignalInfo _unity_protocol_lens_service_dbus_signal_info_changed = {-1, "Changed", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_changed)}
static const GDBusSignalInfo *const _unity_protocol_lens_service_dbus_signal_info [] = {&_unity_protocol_lens_service_dbus_signal_info_changed, NULL}
static const GDBusPropertyInfo
*const 
_unity_protocol_lens_service_dbus_property_info [] = {NULL}
static const GDBusInterfaceInfo _unity_protocol_lens_service_dbus_interface_info = {-1, "com.canonical.Unity.Lens", (GDBusMethodInfo **) (&_unity_protocol_lens_service_dbus_method_info), (GDBusSignalInfo **) (&_unity_protocol_lens_service_dbus_signal_info), (GDBusPropertyInfo **) (&_unity_protocol_lens_service_dbus_property_info)}
static const GDBusInterfaceVTable _unity_protocol_lens_service_dbus_interface_vtable = {unity_protocol_lens_service_dbus_interface_method_call, unity_protocol_lens_service_dbus_interface_get_property, unity_protocol_lens_service_dbus_interface_set_property}

Class Documentation

struct _UnityProtocolLensInfo

Definition at line 57 of file protocol-lens-interface.c.

Class Members
gchar * categories_model_name
gchar * dbus_path
gchar * filters_model_name
gchar * global_results_model_name
GHashTable * hints
gchar * private_connection_name
gchar * results_model_name
gchar * search_hint
gboolean search_in_global
gboolean visible
struct _UnityProtocolActivationReplyRaw

Definition at line 91 of file protocol-lens-interface.c.

Class Members
guint handled
GHashTable * hints
gchar * uri

Define Documentation

#define _g_free0 (   var)    (var = (g_free (var), NULL))

Definition at line 33 of file protocol-lens-interface.c.

#define _g_hash_table_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

Definition at line 34 of file protocol-lens-interface.c.

#define UNITY_PROTOCOL_IS_LENS_SERVICE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE))

Definition at line 44 of file protocol-lens-interface.c.

#define UNITY_PROTOCOL_LENS_SERVICE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE, UnityProtocolLensService))

Definition at line 43 of file protocol-lens-interface.c.

#define UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_PROTOCOL_TYPE_LENS_SERVICE, UnityProtocolLensServiceIface))

Definition at line 45 of file protocol-lens-interface.c.

Definition at line 38 of file protocol-lens-interface.c.

Definition at line 52 of file protocol-lens-interface.c.

Definition at line 36 of file protocol-lens-interface.c.

Definition at line 31 of file protocol-lens-interface.c.

Definition at line 42 of file protocol-lens-interface.c.

Definition at line 50 of file protocol-lens-interface.c.

Definition at line 40 of file protocol-lens-interface.c.


Typedef Documentation

Definition at line 53 of file protocol-lens-interface.c.

typedef struct _UnityProtocolLensInfo

Definition at line 32 of file protocol-lens-interface.c.

typedef struct _UnityProtocolLensService

Definition at line 47 of file protocol-lens-interface.c.

Definition at line 48 of file protocol-lens-interface.c.

typedef GDBusProxy UnityProtocolLensServiceProxy

Definition at line 54 of file protocol-lens-interface.c.

typedef GDBusProxyClass UnityProtocolLensServiceProxyClass

Definition at line 55 of file protocol-lens-interface.c.


Enumeration Type Documentation

Enumerator:
UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT 
UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT 
UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION 
UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION 
UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT 
UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT 
UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION 
UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION 

Definition at line 78 of file protocol-lens-interface.c.

Enumerator:
UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED 
UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH 
UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH 
UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI 
UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW 
UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED 
UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH 
UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH 
UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI 
UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW 

Definition at line 70 of file protocol-lens-interface.c.

Enumerator:
UNITY_PROTOCOL_VIEW_TYPE_HIDDEN 
UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW 
UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW 
UNITY_PROTOCOL_VIEW_TYPE_HIDDEN 
UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW 
UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW 

Definition at line 85 of file protocol-lens-interface.c.


Function Documentation

static void _dbus_handle_unity_protocol_lens_service_changed ( UnityProtocolLensService *  self,
GVariant *  parameters 
) [static]

Definition at line 493 of file protocol-lens-interface.c.

                                                                                                                    {
       GVariantIter _arguments_iter;
       UnityProtocolLensInfo lens_info = {0};
       GVariant* _tmp0_;
       UnityProtocolLensInfo _tmp1_;
       GVariantIter _tmp2_;
       GVariant* _tmp3_;
       GVariant* _tmp4_;
       GVariant* _tmp5_;
       GVariant* _tmp6_;
       GVariant* _tmp7_;
       GVariant* _tmp8_;
       GVariant* _tmp9_;
       GVariant* _tmp10_;
       GVariant* _tmp11_;
       GVariant* _tmp12_;
       GHashTable* _tmp13_;
       GVariantIter _tmp14_;
       GVariant* _tmp15_;
       GVariant* _tmp16_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp0_ = g_variant_iter_next_value (&_arguments_iter);
       g_variant_iter_init (&_tmp2_, _tmp0_);
       _tmp3_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.dbus_path = g_variant_dup_string (_tmp3_, NULL);
       g_variant_unref (_tmp3_);
       _tmp4_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.search_in_global = g_variant_get_boolean (_tmp4_);
       g_variant_unref (_tmp4_);
       _tmp5_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.visible = g_variant_get_boolean (_tmp5_);
       g_variant_unref (_tmp5_);
       _tmp6_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.search_hint = g_variant_dup_string (_tmp6_, NULL);
       g_variant_unref (_tmp6_);
       _tmp7_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.private_connection_name = g_variant_dup_string (_tmp7_, NULL);
       g_variant_unref (_tmp7_);
       _tmp8_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.results_model_name = g_variant_dup_string (_tmp8_, NULL);
       g_variant_unref (_tmp8_);
       _tmp9_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.global_results_model_name = g_variant_dup_string (_tmp9_, NULL);
       g_variant_unref (_tmp9_);
       _tmp10_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.categories_model_name = g_variant_dup_string (_tmp10_, NULL);
       g_variant_unref (_tmp10_);
       _tmp11_ = g_variant_iter_next_value (&_tmp2_);
       _tmp1_.filters_model_name = g_variant_dup_string (_tmp11_, NULL);
       g_variant_unref (_tmp11_);
       _tmp12_ = g_variant_iter_next_value (&_tmp2_);
       _tmp13_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp14_, _tmp12_);
       while (g_variant_iter_loop (&_tmp14_, "{?*}", &_tmp15_, &_tmp16_)) {
              g_hash_table_insert (_tmp13_, g_variant_dup_string (_tmp15_, NULL), g_variant_get_variant (_tmp16_));
       }
       _tmp1_.hints = _tmp13_;
       g_variant_unref (_tmp12_);
       lens_info = _tmp1_;
       g_variant_unref (_tmp0_);
       g_signal_emit_by_name (self, "changed", &lens_info);
       unity_protocol_lens_info_destroy (&lens_info);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_activate ( UnityProtocolLensService *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 971 of file protocol-lens-interface.c.

                                                                                                                                                 {
       GVariantIter _arguments_iter;
       gchar* uri = NULL;
       GVariant* _tmp58_;
       guint action_type = 0U;
       GVariant* _tmp59_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp58_ = g_variant_iter_next_value (&_arguments_iter);
       uri = g_variant_dup_string (_tmp58_, NULL);
       g_variant_unref (_tmp58_);
       _tmp59_ = g_variant_iter_next_value (&_arguments_iter);
       action_type = g_variant_get_uint32 (_tmp59_);
       g_variant_unref (_tmp59_);
       unity_protocol_lens_service_activate (self, uri, action_type, (GAsyncReadyCallback) _dbus_unity_protocol_lens_service_activate_ready, invocation);
       _g_free0 (uri);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_activate_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 989 of file protocol-lens-interface.c.

                                                                                                                                   {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       UnityProtocolActivationReplyRaw result = {0};
       GVariantBuilder _tmp60_;
       GVariantBuilder _tmp61_;
       GHashTableIter _tmp62_;
       gpointer _tmp63_;
       gpointer _tmp64_;
       invocation = _user_data_;
       unity_protocol_lens_service_activate_finish ((UnityProtocolLensService*) source_object, _res_, &result, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_init (&_tmp60_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp60_, g_variant_new_string (result.uri));
       g_variant_builder_add_value (&_tmp60_, g_variant_new_uint32 (result.handled));
       g_hash_table_iter_init (&_tmp62_, result.hints);
       g_variant_builder_init (&_tmp61_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp62_, &_tmp63_, &_tmp64_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp63_;
              _value = (GVariant*) _tmp64_;
              g_variant_builder_add (&_tmp61_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_tmp60_, g_variant_builder_end (&_tmp61_));
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp60_));
       unity_protocol_activation_reply_raw_destroy (&result);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_changed ( GObject *  _sender,
UnityProtocolLensInfo *  lens_info,
gpointer *  _data 
) [static]

Definition at line 1357 of file protocol-lens-interface.c.

                                                                                                                            {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp102_;
       GVariantBuilder _tmp103_;
       GHashTableIter _tmp104_;
       gpointer _tmp105_;
       gpointer _tmp106_;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_init (&_tmp102_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp102_, g_variant_new_string ((*lens_info).dbus_path));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_boolean ((*lens_info).search_in_global));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_boolean ((*lens_info).visible));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_string ((*lens_info).search_hint));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_string ((*lens_info).private_connection_name));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_string ((*lens_info).results_model_name));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_string ((*lens_info).global_results_model_name));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_string ((*lens_info).categories_model_name));
       g_variant_builder_add_value (&_tmp102_, g_variant_new_string ((*lens_info).filters_model_name));
       g_hash_table_iter_init (&_tmp104_, (*lens_info).hints);
       g_variant_builder_init (&_tmp103_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp104_, &_tmp105_, &_tmp106_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp105_;
              _value = (GVariant*) _tmp106_;
              g_variant_builder_add (&_tmp103_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_tmp102_, g_variant_builder_end (&_tmp103_));
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp102_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "com.canonical.Unity.Lens", "Changed", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_global_search ( UnityProtocolLensService *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1164 of file protocol-lens-interface.c.

                                                                                                                                                      {
       GVariantIter _arguments_iter;
       gchar* search_string = NULL;
       GVariant* _tmp85_;
       GHashTable* hints = NULL;
       GVariant* _tmp86_;
       GHashTable* _tmp87_;
       GVariantIter _tmp88_;
       GVariant* _tmp89_;
       GVariant* _tmp90_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp85_ = g_variant_iter_next_value (&_arguments_iter);
       search_string = g_variant_dup_string (_tmp85_, NULL);
       g_variant_unref (_tmp85_);
       _tmp86_ = g_variant_iter_next_value (&_arguments_iter);
       _tmp87_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp88_, _tmp86_);
       while (g_variant_iter_loop (&_tmp88_, "{?*}", &_tmp89_, &_tmp90_)) {
              g_hash_table_insert (_tmp87_, g_variant_dup_string (_tmp89_, NULL), g_variant_get_variant (_tmp90_));
       }
       hints = _tmp87_;
       g_variant_unref (_tmp86_);
       unity_protocol_lens_service_global_search (self, search_string, hints, (GAsyncReadyCallback) _dbus_unity_protocol_lens_service_global_search_ready, invocation);
       _g_free0 (search_string);
       _g_hash_table_unref0 (hints);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_global_search_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1192 of file protocol-lens-interface.c.

                                                                                                                                        {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       GHashTable* result;
       GVariantBuilder _tmp91_;
       GHashTableIter _tmp92_;
       gpointer _tmp93_;
       gpointer _tmp94_;
       invocation = _user_data_;
       result = unity_protocol_lens_service_global_search_finish ((UnityProtocolLensService*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       g_hash_table_iter_init (&_tmp92_, result);
       g_variant_builder_init (&_tmp91_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp92_, &_tmp93_, &_tmp94_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp93_;
              _value = (GVariant*) _tmp94_;
              g_variant_builder_add (&_tmp91_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp91_));
       _g_hash_table_unref0 (result);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_info_request ( UnityProtocolLensService *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 942 of file protocol-lens-interface.c.

                                                                                                                                                     {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       unity_protocol_lens_service_info_request (self, (GAsyncReadyCallback) _dbus_unity_protocol_lens_service_info_request_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_info_request_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 949 of file protocol-lens-interface.c.

                                                                                                                                       {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_protocol_lens_service_info_request_finish ((UnityProtocolLensService*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_search ( UnityProtocolLensService *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1098 of file protocol-lens-interface.c.

                                                                                                                                               {
       GVariantIter _arguments_iter;
       gchar* search_string = NULL;
       GVariant* _tmp75_;
       GHashTable* hints = NULL;
       GVariant* _tmp76_;
       GHashTable* _tmp77_;
       GVariantIter _tmp78_;
       GVariant* _tmp79_;
       GVariant* _tmp80_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp75_ = g_variant_iter_next_value (&_arguments_iter);
       search_string = g_variant_dup_string (_tmp75_, NULL);
       g_variant_unref (_tmp75_);
       _tmp76_ = g_variant_iter_next_value (&_arguments_iter);
       _tmp77_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp78_, _tmp76_);
       while (g_variant_iter_loop (&_tmp78_, "{?*}", &_tmp79_, &_tmp80_)) {
              g_hash_table_insert (_tmp77_, g_variant_dup_string (_tmp79_, NULL), g_variant_get_variant (_tmp80_));
       }
       hints = _tmp77_;
       g_variant_unref (_tmp76_);
       unity_protocol_lens_service_search (self, search_string, hints, (GAsyncReadyCallback) _dbus_unity_protocol_lens_service_search_ready, invocation);
       _g_free0 (search_string);
       _g_hash_table_unref0 (hints);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_search_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1126 of file protocol-lens-interface.c.

                                                                                                                                 {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       GHashTable* result;
       GVariantBuilder _tmp81_;
       GHashTableIter _tmp82_;
       gpointer _tmp83_;
       gpointer _tmp84_;
       invocation = _user_data_;
       result = unity_protocol_lens_service_search_finish ((UnityProtocolLensService*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       g_hash_table_iter_init (&_tmp82_, result);
       g_variant_builder_init (&_tmp81_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp82_, &_tmp83_, &_tmp84_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp83_;
              _value = (GVariant*) _tmp84_;
              g_variant_builder_add (&_tmp81_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp81_));
       _g_hash_table_unref0 (result);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_set_view_type ( UnityProtocolLensService *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1280 of file protocol-lens-interface.c.

                                                                                                                                                      {
       GVariantIter _arguments_iter;
       guint view_type = 0U;
       GVariant* _tmp101_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp101_ = g_variant_iter_next_value (&_arguments_iter);
       view_type = g_variant_get_uint32 (_tmp101_);
       g_variant_unref (_tmp101_);
       unity_protocol_lens_service_set_view_type (self, view_type, (GAsyncReadyCallback) _dbus_unity_protocol_lens_service_set_view_type_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_set_view_type_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1292 of file protocol-lens-interface.c.

                                                                                                                                        {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_protocol_lens_service_set_view_type_finish ((UnityProtocolLensService*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_update_filter ( UnityProtocolLensService *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1230 of file protocol-lens-interface.c.

                                                                                                                                                      {
       GVariantIter _arguments_iter;
       gchar* filter_name = NULL;
       GVariant* _tmp95_;
       GHashTable* properties = NULL;
       GVariant* _tmp96_;
       GHashTable* _tmp97_;
       GVariantIter _tmp98_;
       GVariant* _tmp99_;
       GVariant* _tmp100_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp95_ = g_variant_iter_next_value (&_arguments_iter);
       filter_name = g_variant_dup_string (_tmp95_, NULL);
       g_variant_unref (_tmp95_);
       _tmp96_ = g_variant_iter_next_value (&_arguments_iter);
       _tmp97_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp98_, _tmp96_);
       while (g_variant_iter_loop (&_tmp98_, "{?*}", &_tmp99_, &_tmp100_)) {
              g_hash_table_insert (_tmp97_, g_variant_dup_string (_tmp99_, NULL), g_variant_get_variant (_tmp100_));
       }
       properties = _tmp97_;
       g_variant_unref (_tmp96_);
       unity_protocol_lens_service_update_filter (self, filter_name, properties, (GAsyncReadyCallback) _dbus_unity_protocol_lens_service_update_filter_ready, invocation);
       _g_free0 (filter_name);
       _g_hash_table_unref0 (properties);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_update_filter_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1258 of file protocol-lens-interface.c.

                                                                                                                                        {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_protocol_lens_service_update_filter_finish ((UnityProtocolLensService*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_update_preview_property ( UnityProtocolLensService *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1032 of file protocol-lens-interface.c.

                                                                                                                                                                {
       GVariantIter _arguments_iter;
       gchar* uri = NULL;
       GVariant* _tmp65_;
       GHashTable* values = NULL;
       GVariant* _tmp66_;
       GHashTable* _tmp67_;
       GVariantIter _tmp68_;
       GVariant* _tmp69_;
       GVariant* _tmp70_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp65_ = g_variant_iter_next_value (&_arguments_iter);
       uri = g_variant_dup_string (_tmp65_, NULL);
       g_variant_unref (_tmp65_);
       _tmp66_ = g_variant_iter_next_value (&_arguments_iter);
       _tmp67_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp68_, _tmp66_);
       while (g_variant_iter_loop (&_tmp68_, "{?*}", &_tmp69_, &_tmp70_)) {
              g_hash_table_insert (_tmp67_, g_variant_dup_string (_tmp69_, NULL), g_variant_get_variant (_tmp70_));
       }
       values = _tmp67_;
       g_variant_unref (_tmp66_);
       unity_protocol_lens_service_update_preview_property (self, uri, values, (GAsyncReadyCallback) _dbus_unity_protocol_lens_service_update_preview_property_ready, invocation);
       _g_free0 (uri);
       _g_hash_table_unref0 (values);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_protocol_lens_service_update_preview_property_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1060 of file protocol-lens-interface.c.

                                                                                                                                                  {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       GHashTable* result;
       GVariantBuilder _tmp71_;
       GHashTableIter _tmp72_;
       gpointer _tmp73_;
       gpointer _tmp74_;
       invocation = _user_data_;
       result = unity_protocol_lens_service_update_preview_property_finish ((UnityProtocolLensService*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       g_hash_table_iter_init (&_tmp72_, result);
       g_variant_builder_init (&_tmp71_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp72_, &_tmp73_, &_tmp74_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp73_;
              _value = (GVariant*) _tmp74_;
              g_variant_builder_add (&_tmp71_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp71_));
       _g_hash_table_unref0 (result);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gpointer _g_hash_table_ref0 ( gpointer  self) [static]

Definition at line 231 of file protocol-lens-interface.c.

                                                   {
       return self ? g_hash_table_ref (self) : NULL;
}

Here is the caller graph for this function:

static void _unity_protocol_lens_service_unregister_object ( gpointer  user_data) [static]

Definition at line 1412 of file protocol-lens-interface.c.

                                                                                {
       gpointer* data;
       data = user_data;
       g_signal_handlers_disconnect_by_func (data[0], _dbus_unity_protocol_lens_service_changed, data);
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_g_async_ready_callback ( GObject *  source_object,
GAsyncResult *  res,
void *  user_data 
) [static]

Definition at line 569 of file protocol-lens-interface.c.

                                                                                                      {
       g_simple_async_result_set_op_res_gpointer (user_data, g_object_ref (res), g_object_unref);
       g_simple_async_result_complete (user_data);
       g_object_unref (user_data);
}

Here is the caller graph for this function:

static void g_cclosure_user_marshal_VOID__BOXED ( GClosure *  closure,
GValue *  return_value,
guint  n_param_values,
const GValue *  param_values,
gpointer  invocation_hint,
gpointer  marshal_data 
) [static]

Definition at line 437 of file protocol-lens-interface.c.

                                                                                                                                                                                                {
       typedef void (*GMarshalFunc_VOID__BOXED) (gpointer data1, gpointer arg_1, gpointer data2);
       register GMarshalFunc_VOID__BOXED callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 2);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__BOXED) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_boxed (param_values + 1), data2);
}

Here is the caller graph for this function:

Definition at line 343 of file protocol-lens-interface.c.

                                                 {
       static volatile gsize unity_protocol_action_type_type_id__volatile = 0;
       if (g_once_init_enter (&unity_protocol_action_type_type_id__volatile)) {
              static const GEnumValue values[] = {{UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT, "UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT", "activate-result"}, {UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT, "UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT", "preview-result"}, {UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION, "UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION", "preview-action"}, {UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION, "UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION", "preview-builtin-action"}, {0, NULL, NULL}};
              GType unity_protocol_action_type_type_id;
              unity_protocol_action_type_type_id = g_enum_register_static ("UnityProtocolActionType", values);
              g_once_init_leave (&unity_protocol_action_type_type_id__volatile, unity_protocol_action_type_type_id);
       }
       return unity_protocol_action_type_type_id__volatile;
}

Definition at line 331 of file protocol-lens-interface.c.

                                                  {
       static volatile gsize unity_protocol_handled_type_type_id__volatile = 0;
       if (g_once_init_enter (&unity_protocol_handled_type_type_id__volatile)) {
              static const GEnumValue values[] = {{UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED, "UNITY_PROTOCOL_HANDLED_TYPE_NOT_HANDLED", "not-handled"}, {UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH, "UNITY_PROTOCOL_HANDLED_TYPE_SHOW_DASH", "show-dash"}, {UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH, "UNITY_PROTOCOL_HANDLED_TYPE_HIDE_DASH", "hide-dash"}, {UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI, "UNITY_PROTOCOL_HANDLED_TYPE_GOTO_DASH_URI", "goto-dash-uri"}, {UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW, "UNITY_PROTOCOL_HANDLED_TYPE_SHOW_PREVIEW", "show-preview"}, {0, NULL, NULL}};
              GType unity_protocol_handled_type_type_id;
              unity_protocol_handled_type_type_id = g_enum_register_static ("UnityProtocolHandledType", values);
              g_once_init_leave (&unity_protocol_handled_type_type_id__volatile, unity_protocol_handled_type_type_id);
       }
       return unity_protocol_handled_type_type_id__volatile;
}
void unity_protocol_lens_info_copy ( const UnityProtocolLensInfo *  self,
UnityProtocolLensInfo *  dest 
)

Definition at line 236 of file protocol-lens-interface.c.

                                                                                                    {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       gboolean _tmp2_;
       gboolean _tmp3_;
       const gchar* _tmp4_;
       gchar* _tmp5_;
       const gchar* _tmp6_;
       gchar* _tmp7_;
       const gchar* _tmp8_;
       gchar* _tmp9_;
       const gchar* _tmp10_;
       gchar* _tmp11_;
       const gchar* _tmp12_;
       gchar* _tmp13_;
       const gchar* _tmp14_;
       gchar* _tmp15_;
       GHashTable* _tmp16_;
       GHashTable* _tmp17_;
       _tmp0_ = (*self).dbus_path;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 ((*dest).dbus_path);
       (*dest).dbus_path = _tmp1_;
       _tmp2_ = (*self).search_in_global;
       (*dest).search_in_global = _tmp2_;
       _tmp3_ = (*self).visible;
       (*dest).visible = _tmp3_;
       _tmp4_ = (*self).search_hint;
       _tmp5_ = g_strdup (_tmp4_);
       _g_free0 ((*dest).search_hint);
       (*dest).search_hint = _tmp5_;
       _tmp6_ = (*self).private_connection_name;
       _tmp7_ = g_strdup (_tmp6_);
       _g_free0 ((*dest).private_connection_name);
       (*dest).private_connection_name = _tmp7_;
       _tmp8_ = (*self).results_model_name;
       _tmp9_ = g_strdup (_tmp8_);
       _g_free0 ((*dest).results_model_name);
       (*dest).results_model_name = _tmp9_;
       _tmp10_ = (*self).global_results_model_name;
       _tmp11_ = g_strdup (_tmp10_);
       _g_free0 ((*dest).global_results_model_name);
       (*dest).global_results_model_name = _tmp11_;
       _tmp12_ = (*self).categories_model_name;
       _tmp13_ = g_strdup (_tmp12_);
       _g_free0 ((*dest).categories_model_name);
       (*dest).categories_model_name = _tmp13_;
       _tmp14_ = (*self).filters_model_name;
       _tmp15_ = g_strdup (_tmp14_);
       _g_free0 ((*dest).filters_model_name);
       (*dest).filters_model_name = _tmp15_;
       _tmp16_ = (*self).hints;
       _tmp17_ = _g_hash_table_ref0 (_tmp16_);
       _g_hash_table_unref0 ((*dest).hints);
       (*dest).hints = _tmp17_;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_protocol_lens_info_destroy ( UnityProtocolLensInfo *  self)

Definition at line 294 of file protocol-lens-interface.c.

                                                                    {
       _g_free0 ((*self).dbus_path);
       _g_free0 ((*self).search_hint);
       _g_free0 ((*self).private_connection_name);
       _g_free0 ((*self).results_model_name);
       _g_free0 ((*self).global_results_model_name);
       _g_free0 ((*self).categories_model_name);
       _g_free0 ((*self).filters_model_name);
       _g_hash_table_unref0 ((*self).hints);
}

Here is the caller graph for this function:

UnityProtocolLensInfo* unity_protocol_lens_info_dup ( const UnityProtocolLensInfo *  self)

Definition at line 306 of file protocol-lens-interface.c.

                                                                                        {
       UnityProtocolLensInfo* dup;
       dup = g_new0 (UnityProtocolLensInfo, 1);
       unity_protocol_lens_info_copy (self, dup);
       return dup;
}

Here is the call graph for this function:

void unity_protocol_lens_info_free ( UnityProtocolLensInfo *  self)

Definition at line 314 of file protocol-lens-interface.c.

                                                                 {
       unity_protocol_lens_info_destroy (self);
       g_free (self);
}

Here is the call graph for this function:

Definition at line 117 of file protocol-lens-interface.c.

                                                                                                 {NULL};
void unity_protocol_lens_service_activate ( UnityProtocolLensService *  self,
const gchar *  uri,
guint  action_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 377 of file protocol-lens-interface.c.

                                                                                                                                                                      {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->activate (self, uri, action_type, _callback_, _user_data_);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_activate_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
UnityProtocolActivationReplyRaw *  result,
GError **  error 
)

Definition at line 382 of file protocol-lens-interface.c.

                                                                                                                                                                {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->activate_finish (self, _res_, result, error);
}

Here is the caller graph for this function:

static void unity_protocol_lens_service_base_init ( UnityProtocolLensServiceIface *  iface) [static]

Definition at line 457 of file protocol-lens-interface.c.

                                                                                          {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_signal_new ("changed", UNITY_PROTOCOL_TYPE_LENS_SERVICE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOXED, G_TYPE_NONE, 1, UNITY_PROTOCOL_TYPE_LENS_INFO);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* unity_protocol_lens_service_dbus_interface_get_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 1339 of file protocol-lens-interface.c.

                                                                                                                                                                                                                                                   {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return NULL;
}
static void unity_protocol_lens_service_dbus_interface_method_call ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  method_name,
GVariant *  parameters,
GDBusMethodInvocation *  invocation,
gpointer  user_data 
) [static]

Definition at line 1314 of file protocol-lens-interface.c.

                                                                                                                                                                                                                                                                                    {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (method_name, "InfoRequest") == 0) {
              _dbus_unity_protocol_lens_service_info_request (object, parameters, invocation);
       } else if (strcmp (method_name, "Activate") == 0) {
              _dbus_unity_protocol_lens_service_activate (object, parameters, invocation);
       } else if (strcmp (method_name, "UpdatePreviewProperty") == 0) {
              _dbus_unity_protocol_lens_service_update_preview_property (object, parameters, invocation);
       } else if (strcmp (method_name, "Search") == 0) {
              _dbus_unity_protocol_lens_service_search (object, parameters, invocation);
       } else if (strcmp (method_name, "GlobalSearch") == 0) {
              _dbus_unity_protocol_lens_service_global_search (object, parameters, invocation);
       } else if (strcmp (method_name, "UpdateFilter") == 0) {
              _dbus_unity_protocol_lens_service_update_filter (object, parameters, invocation);
       } else if (strcmp (method_name, "SetViewType") == 0) {
              _dbus_unity_protocol_lens_service_set_view_type (object, parameters, invocation);
       } else {
              g_object_unref (invocation);
       }
}

Here is the call graph for this function:

static gboolean unity_protocol_lens_service_dbus_interface_set_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GVariant *  value,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 1348 of file protocol-lens-interface.c.

                                                                                                                                                                                                                                                                   {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return FALSE;
}

LensService:

The Lens interface exported on DBus

Definition at line 471 of file protocol-lens-interface.c.

                                                  {
       static volatile gsize unity_protocol_lens_service_type_id__volatile = 0;
       if (g_once_init_enter (&unity_protocol_lens_service_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityProtocolLensServiceIface), (GBaseInitFunc) unity_protocol_lens_service_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
              GType unity_protocol_lens_service_type_id;
              unity_protocol_lens_service_type_id = g_type_register_static (G_TYPE_INTERFACE, "UnityProtocolLensService", &g_define_type_info, 0);
              g_type_interface_add_prerequisite (unity_protocol_lens_service_type_id, G_TYPE_OBJECT);
              g_type_set_qdata (unity_protocol_lens_service_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) unity_protocol_lens_service_proxy_get_type);
              g_type_set_qdata (unity_protocol_lens_service_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "com.canonical.Unity.Lens");
              g_type_set_qdata (unity_protocol_lens_service_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) unity_protocol_lens_service_register_object);
              g_once_init_leave (&unity_protocol_lens_service_type_id__volatile, unity_protocol_lens_service_type_id);
       }
       return unity_protocol_lens_service_type_id__volatile;
}

Here is the call graph for this function:

void unity_protocol_lens_service_global_search ( UnityProtocolLensService *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 407 of file protocol-lens-interface.c.

                                                                                                                                                                                     {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->global_search (self, search_string, hints, _callback_, _user_data_);
}

Here is the caller graph for this function:

GHashTable* unity_protocol_lens_service_global_search_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 412 of file protocol-lens-interface.c.

                                                                                                                                   {
       return UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->global_search_finish (self, _res_, error);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_info_request ( UnityProtocolLensService *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 367 of file protocol-lens-interface.c.

                                                                                                                                     {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->info_request (self, _callback_, _user_data_);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_info_request_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 372 of file protocol-lens-interface.c.

                                                                                                                           {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->info_request_finish (self, _res_, error);
}

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_activate_async ( UnityProtocolLensService *  self,
const gchar *  uri,
guint  action_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 604 of file protocol-lens-interface.c.

                                                                                                                                                                                         {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "com.canonical.Unity.Lens", "Activate");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uri));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_uint32 (action_type));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_activate_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
UnityProtocolActivationReplyRaw *  result,
GError **  error 
) [static]

Definition at line 620 of file protocol-lens-interface.c.

                                                                                                                                                                             {
       GDBusMessage *_reply_message;
       GVariant *_reply;
       GVariantIter _reply_iter;
       GVariant* _tmp17_;
       UnityProtocolActivationReplyRaw _tmp18_;
       GVariantIter _tmp19_;
       GVariant* _tmp20_;
       GVariant* _tmp21_;
       GVariant* _tmp22_;
       GHashTable* _tmp23_;
       GVariantIter _tmp24_;
       GVariant* _tmp25_;
       GVariant* _tmp26_;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       _reply = g_dbus_message_get_body (_reply_message);
       g_variant_iter_init (&_reply_iter, _reply);
       _tmp17_ = g_variant_iter_next_value (&_reply_iter);
       g_variant_iter_init (&_tmp19_, _tmp17_);
       _tmp20_ = g_variant_iter_next_value (&_tmp19_);
       _tmp18_.uri = g_variant_dup_string (_tmp20_, NULL);
       g_variant_unref (_tmp20_);
       _tmp21_ = g_variant_iter_next_value (&_tmp19_);
       _tmp18_.handled = g_variant_get_uint32 (_tmp21_);
       g_variant_unref (_tmp21_);
       _tmp22_ = g_variant_iter_next_value (&_tmp19_);
       _tmp23_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp24_, _tmp22_);
       while (g_variant_iter_loop (&_tmp24_, "{?*}", &_tmp25_, &_tmp26_)) {
              g_hash_table_insert (_tmp23_, g_variant_dup_string (_tmp25_, NULL), g_variant_get_variant (_tmp26_));
       }
       _tmp18_.hints = _tmp23_;
       g_variant_unref (_tmp22_);
       *result = _tmp18_;
       g_variant_unref (_tmp17_);
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

Definition at line 488 of file protocol-lens-interface.c.

                                                                                                     {
       G_DBUS_PROXY_CLASS (klass)->g_signal = unity_protocol_lens_service_proxy_g_signal;
}

Here is the call graph for this function:

static void unity_protocol_lens_service_proxy_g_signal ( GDBusProxy *  proxy,
const gchar *  sender_name,
const gchar *  signal_name,
GVariant *  parameters 
) [static]

Definition at line 558 of file protocol-lens-interface.c.

                                                                                                                                                     {
       if (strcmp (signal_name, "Changed") == 0) {
              _dbus_handle_unity_protocol_lens_service_changed ((UnityProtocolLensService*) proxy, parameters);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_global_search_async ( UnityProtocolLensService *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 790 of file protocol-lens-interface.c.

                                                                                                                                                                                                        {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp45_;
       GHashTableIter _tmp46_;
       gpointer _tmp47_;
       gpointer _tmp48_;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "com.canonical.Unity.Lens", "GlobalSearch");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (search_string));
       g_hash_table_iter_init (&_tmp46_, hints);
       g_variant_builder_init (&_tmp45_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp46_, &_tmp47_, &_tmp48_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp47_;
              _value = (GVariant*) _tmp48_;
              g_variant_builder_add (&_tmp45_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp45_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GHashTable* unity_protocol_lens_service_proxy_global_search_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 819 of file protocol-lens-interface.c.

                                                                                                                                                {
       GDBusMessage *_reply_message;
       GVariant *_reply;
       GVariantIter _reply_iter;
       GHashTable* _result;
       GVariant* _tmp49_;
       GHashTable* _tmp50_;
       GVariantIter _tmp51_;
       GVariant* _tmp52_;
       GVariant* _tmp53_;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return NULL;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return NULL;
       }
       _reply = g_dbus_message_get_body (_reply_message);
       g_variant_iter_init (&_reply_iter, _reply);
       _tmp49_ = g_variant_iter_next_value (&_reply_iter);
       _tmp50_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp51_, _tmp49_);
       while (g_variant_iter_loop (&_tmp51_, "{?*}", &_tmp52_, &_tmp53_)) {
              g_hash_table_insert (_tmp50_, g_variant_dup_string (_tmp52_, NULL), g_variant_get_variant (_tmp53_));
       }
       _result = _tmp50_;
       g_variant_unref (_tmp49_);
       g_object_unref (_reply_message);
       return _result;
}

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_info_request_async ( UnityProtocolLensService *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 576 of file protocol-lens-interface.c.

                                                                                                                                                        {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "com.canonical.Unity.Lens", "InfoRequest");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_info_request_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 590 of file protocol-lens-interface.c.

                                                                                                                                        {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

Definition at line 565 of file protocol-lens-interface.c.

                                                                                         {
}
static void unity_protocol_lens_service_proxy_search_async ( UnityProtocolLensService *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 728 of file protocol-lens-interface.c.

                                                                                                                                                                                                 {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp36_;
       GHashTableIter _tmp37_;
       gpointer _tmp38_;
       gpointer _tmp39_;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "com.canonical.Unity.Lens", "Search");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (search_string));
       g_hash_table_iter_init (&_tmp37_, hints);
       g_variant_builder_init (&_tmp36_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp37_, &_tmp38_, &_tmp39_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp38_;
              _value = (GVariant*) _tmp39_;
              g_variant_builder_add (&_tmp36_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp36_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GHashTable* unity_protocol_lens_service_proxy_search_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 757 of file protocol-lens-interface.c.

                                                                                                                                         {
       GDBusMessage *_reply_message;
       GVariant *_reply;
       GVariantIter _reply_iter;
       GHashTable* _result;
       GVariant* _tmp40_;
       GHashTable* _tmp41_;
       GVariantIter _tmp42_;
       GVariant* _tmp43_;
       GVariant* _tmp44_;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return NULL;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return NULL;
       }
       _reply = g_dbus_message_get_body (_reply_message);
       g_variant_iter_init (&_reply_iter, _reply);
       _tmp40_ = g_variant_iter_next_value (&_reply_iter);
       _tmp41_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp42_, _tmp40_);
       while (g_variant_iter_loop (&_tmp42_, "{?*}", &_tmp43_, &_tmp44_)) {
              g_hash_table_insert (_tmp41_, g_variant_dup_string (_tmp43_, NULL), g_variant_get_variant (_tmp44_));
       }
       _result = _tmp41_;
       g_variant_unref (_tmp40_);
       g_object_unref (_reply_message);
       return _result;
}

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_set_view_type_async ( UnityProtocolLensService *  self,
guint  view_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 895 of file protocol-lens-interface.c.

                                                                                                                                                                          {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "com.canonical.Unity.Lens", "SetViewType");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_uint32 (view_type));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_set_view_type_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 910 of file protocol-lens-interface.c.

                                                                                                                                         {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_unity_protocol_lens_service_interface_init ( UnityProtocolLensServiceIface *  iface) [static]
static void unity_protocol_lens_service_proxy_update_filter_async ( UnityProtocolLensService *  self,
const gchar *  filter_name,
GHashTable *  properties,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 852 of file protocol-lens-interface.c.

                                                                                                                                                                                                           {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp54_;
       GHashTableIter _tmp55_;
       gpointer _tmp56_;
       gpointer _tmp57_;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "com.canonical.Unity.Lens", "UpdateFilter");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (filter_name));
       g_hash_table_iter_init (&_tmp55_, properties);
       g_variant_builder_init (&_tmp54_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp55_, &_tmp56_, &_tmp57_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp56_;
              _value = (GVariant*) _tmp57_;
              g_variant_builder_add (&_tmp54_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp54_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_update_filter_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 881 of file protocol-lens-interface.c.

                                                                                                                                         {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

static void unity_protocol_lens_service_proxy_update_preview_property_async ( UnityProtocolLensService *  self,
const gchar *  uri,
GHashTable *  values,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 666 of file protocol-lens-interface.c.

                                                                                                                                                                                                         {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp27_;
       GHashTableIter _tmp28_;
       gpointer _tmp29_;
       gpointer _tmp30_;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "com.canonical.Unity.Lens", "UpdatePreviewProperty");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uri));
       g_hash_table_iter_init (&_tmp28_, values);
       g_variant_builder_init (&_tmp27_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp28_, &_tmp29_, &_tmp30_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp29_;
              _value = (GVariant*) _tmp30_;
              g_variant_builder_add (&_tmp27_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp27_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GHashTable* unity_protocol_lens_service_proxy_update_preview_property_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 695 of file protocol-lens-interface.c.

                                                                                                                                                          {
       GDBusMessage *_reply_message;
       GVariant *_reply;
       GVariantIter _reply_iter;
       GHashTable* _result;
       GVariant* _tmp31_;
       GHashTable* _tmp32_;
       GVariantIter _tmp33_;
       GVariant* _tmp34_;
       GVariant* _tmp35_;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return NULL;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return NULL;
       }
       _reply = g_dbus_message_get_body (_reply_message);
       g_variant_iter_init (&_reply_iter, _reply);
       _tmp31_ = g_variant_iter_next_value (&_reply_iter);
       _tmp32_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp33_, _tmp31_);
       while (g_variant_iter_loop (&_tmp33_, "{?*}", &_tmp34_, &_tmp35_)) {
              g_hash_table_insert (_tmp32_, g_variant_dup_string (_tmp34_, NULL), g_variant_get_variant (_tmp35_));
       }
       _result = _tmp32_;
       g_variant_unref (_tmp31_);
       g_object_unref (_reply_message);
       return _result;
}

Here is the caller graph for this function:

guint unity_protocol_lens_service_register_object ( gpointer  object,
GDBusConnection *  connection,
const gchar *  path,
GError **  error 
)

Definition at line 1396 of file protocol-lens-interface.c.

                                                                                                                                    {
       guint result;
       gpointer *data;
       data = g_new (gpointer, 3);
       data[0] = g_object_ref (object);
       data[1] = g_object_ref (connection);
       data[2] = g_strdup (path);
       result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_unity_protocol_lens_service_dbus_interface_info), &_unity_protocol_lens_service_dbus_interface_vtable, data, _unity_protocol_lens_service_unregister_object, error);
       if (!result) {
              return 0;
       }
       g_signal_connect (object, "changed", (GCallback) _dbus_unity_protocol_lens_service_changed, data);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_protocol_lens_service_search ( UnityProtocolLensService *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 397 of file protocol-lens-interface.c.

                                                                                                                                                                              {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->search (self, search_string, hints, _callback_, _user_data_);
}

Here is the caller graph for this function:

GHashTable* unity_protocol_lens_service_search_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 402 of file protocol-lens-interface.c.

                                                                                                                            {
       return UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->search_finish (self, _res_, error);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_set_view_type ( UnityProtocolLensService *  self,
guint  view_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 427 of file protocol-lens-interface.c.

                                                                                                                                                       {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->set_view_type (self, view_type, _callback_, _user_data_);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_set_view_type_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 432 of file protocol-lens-interface.c.

                                                                                                                            {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->set_view_type_finish (self, _res_, error);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_update_filter ( UnityProtocolLensService *  self,
const gchar *  filter_name,
GHashTable *  properties,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 417 of file protocol-lens-interface.c.

                                                                                                                                                                                        {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->update_filter (self, filter_name, properties, _callback_, _user_data_);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_update_filter_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 422 of file protocol-lens-interface.c.

                                                                                                                            {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->update_filter_finish (self, _res_, error);
}

Here is the caller graph for this function:

void unity_protocol_lens_service_update_preview_property ( UnityProtocolLensService *  self,
const gchar *  uri,
GHashTable *  values,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 387 of file protocol-lens-interface.c.

                                                                                                                                                                                      {
       UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->update_preview_property (self, uri, values, _callback_, _user_data_);
}

Here is the caller graph for this function:

GHashTable* unity_protocol_lens_service_update_preview_property_finish ( UnityProtocolLensService *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 392 of file protocol-lens-interface.c.

                                                                                                                                             {
       return UNITY_PROTOCOL_LENS_SERVICE_GET_INTERFACE (self)->update_preview_property_finish (self, _res_, error);
}

Here is the caller graph for this function:

Definition at line 355 of file protocol-lens-interface.c.

                                               {
       static volatile gsize unity_protocol_view_type_type_id__volatile = 0;
       if (g_once_init_enter (&unity_protocol_view_type_type_id__volatile)) {
              static const GEnumValue values[] = {{UNITY_PROTOCOL_VIEW_TYPE_HIDDEN, "UNITY_PROTOCOL_VIEW_TYPE_HIDDEN", "hidden"}, {UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW, "UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW", "home-view"}, {UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW, "UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW", "lens-view"}, {0, NULL, NULL}};
              GType unity_protocol_view_type_type_id;
              unity_protocol_view_type_type_id = g_enum_register_static ("UnityProtocolViewType", values);
              g_once_init_leave (&unity_protocol_view_type_type_id__volatile, unity_protocol_view_type_type_id);
       }
       return unity_protocol_view_type_type_id__volatile;
}

Variable Documentation

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_activate_action_type = {-1, "action_type", "u"} [static]

Definition at line 190 of file protocol-lens-interface.c.

Definition at line 192 of file protocol-lens-interface.c.

Definition at line 193 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_activate_result = {-1, "result", "(sua{sv})"} [static]

Definition at line 191 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_activate_uri = {-1, "uri", "s"} [static]

Definition at line 189 of file protocol-lens-interface.c.

Definition at line 224 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_changed_lens_info = {-1, "lens_info", "(sbbssssssa{sv})"} [static]

Definition at line 223 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_global_search_hints = {-1, "hints", "a{sv}"} [static]

Definition at line 208 of file protocol-lens-interface.c.

Definition at line 210 of file protocol-lens-interface.c.

Definition at line 211 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_global_search_result = {-1, "result", "a{sv}"} [static]

Definition at line 209 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_global_search_search_string = {-1, "search_string", "s"} [static]

Definition at line 207 of file protocol-lens-interface.c.

const GDBusArgInfo* const _unity_protocol_lens_service_dbus_arg_info_info_request_out[] = {NULL} [static]

Definition at line 187 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_search_hints = {-1, "hints", "a{sv}"} [static]

Definition at line 202 of file protocol-lens-interface.c.

Definition at line 204 of file protocol-lens-interface.c.

Definition at line 205 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_search_result = {-1, "result", "a{sv}"} [static]

Definition at line 203 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_search_search_string = {-1, "search_string", "s"} [static]

Definition at line 201 of file protocol-lens-interface.c.

Definition at line 219 of file protocol-lens-interface.c.

const GDBusArgInfo* const _unity_protocol_lens_service_dbus_arg_info_set_view_type_out[] = {NULL} [static]

Definition at line 220 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_set_view_type_view_type = {-1, "view_type", "u"} [static]

Definition at line 218 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_filter_filter_name = {-1, "filter_name", "s"} [static]

Definition at line 213 of file protocol-lens-interface.c.

Definition at line 215 of file protocol-lens-interface.c.

const GDBusArgInfo* const _unity_protocol_lens_service_dbus_arg_info_update_filter_out[] = {NULL} [static]

Definition at line 216 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_filter_properties = {-1, "properties", "a{sv}"} [static]

Definition at line 214 of file protocol-lens-interface.c.

Definition at line 198 of file protocol-lens-interface.c.

Definition at line 199 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_preview_property_result = {-1, "result", "a{sv}"} [static]

Definition at line 197 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_preview_property_uri = {-1, "uri", "s"} [static]

Definition at line 195 of file protocol-lens-interface.c.

const GDBusArgInfo _unity_protocol_lens_service_dbus_arg_info_update_preview_property_values = {-1, "values", "a{sv}"} [static]

Definition at line 196 of file protocol-lens-interface.c.

const GDBusInterfaceInfo _unity_protocol_lens_service_dbus_interface_info = {-1, "com.canonical.Unity.Lens", (GDBusMethodInfo **) (&_unity_protocol_lens_service_dbus_method_info), (GDBusSignalInfo **) (&_unity_protocol_lens_service_dbus_signal_info), (GDBusPropertyInfo **) (&_unity_protocol_lens_service_dbus_property_info)} [static]

Definition at line 228 of file protocol-lens-interface.c.

Definition at line 229 of file protocol-lens-interface.c.

Definition at line 222 of file protocol-lens-interface.c.

Definition at line 194 of file protocol-lens-interface.c.

Definition at line 212 of file protocol-lens-interface.c.

const GDBusMethodInfo _unity_protocol_lens_service_dbus_method_info_info_request = {-1, "InfoRequest", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_info_request_in), (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_info_request_out)} [static]

Definition at line 188 of file protocol-lens-interface.c.

Definition at line 206 of file protocol-lens-interface.c.

Definition at line 221 of file protocol-lens-interface.c.

Definition at line 217 of file protocol-lens-interface.c.

Definition at line 200 of file protocol-lens-interface.c.

const GDBusPropertyInfo* const _unity_protocol_lens_service_dbus_property_info[] = {NULL} [static]

Definition at line 227 of file protocol-lens-interface.c.

Definition at line 226 of file protocol-lens-interface.c.

const GDBusSignalInfo _unity_protocol_lens_service_dbus_signal_info_changed = {-1, "Changed", (GDBusArgInfo **) (&_unity_protocol_lens_service_dbus_arg_info_changed)} [static]

Definition at line 225 of file protocol-lens-interface.c.