Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions
unity-scope-proxy.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <unity-protocol.h>
#include "unity.h"
#include <dee.h>

Go to the source code of this file.

Classes

struct  _UnityScopeProxyIface

Defines

#define UNITY_TYPE_SCOPE_PROXY   (unity_scope_proxy_get_type ())
#define UNITY_SCOPE_PROXY(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxy))
#define UNITY_IS_SCOPE_PROXY(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY))
#define UNITY_SCOPE_PROXY_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxyIface))

Typedefs

typedef struct _UnityScopeProxy
typedef struct _UnityScopeProxyIface

Functions

GType unity_scope_proxy_get_type (void)
void unity_scope_proxy_activate_finish (UnityScopeProxy *self, GAsyncResult *_res_, UnityProtocolActivationReplyRaw *result)
void unity_scope_proxy_update_preview_property (UnityScopeProxy *self, const gchar *uri, GHashTable *values, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_scope_proxy_update_preview_property_finish (UnityScopeProxy *self, GAsyncResult *_res_, GError **error)
void unity_scope_proxy_search (UnityScopeProxy *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_scope_proxy_search_finish (UnityScopeProxy *self, GAsyncResult *_res_)
void unity_scope_proxy_global_search (UnityScopeProxy *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_scope_proxy_global_search_finish (UnityScopeProxy *self, GAsyncResult *_res_)
void unity_scope_proxy_set_active_sources (UnityScopeProxy *self, gchar **sources, int sources_length1, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_scope_proxy_set_active_sources_finish (UnityScopeProxy *self, GAsyncResult *_res_)
UnityOptionsFilter * unity_scope_proxy_get_sources (UnityScopeProxy *self)
void unity_scope_proxy_set_sources (UnityScopeProxy *self, UnityOptionsFilter *value)
gboolean unity_scope_proxy_get_search_in_global (UnityScopeProxy *self)
void unity_scope_proxy_set_search_in_global (UnityScopeProxy *self, gboolean value)
UnityProtocolViewType unity_scope_proxy_get_view_type (UnityScopeProxy *self)
void unity_scope_proxy_set_view_type (UnityScopeProxy *self, UnityProtocolViewType value)
DeeSerializableModel * unity_scope_proxy_get_results_model (UnityScopeProxy *self)
void unity_scope_proxy_set_results_model (UnityScopeProxy *self, DeeSerializableModel *value)
DeeSerializableModel * unity_scope_proxy_get_global_results_model (UnityScopeProxy *self)
void unity_scope_proxy_set_global_results_model (UnityScopeProxy *self, DeeSerializableModel *value)
DeeSerializableModel * unity_scope_proxy_get_filters_model (UnityScopeProxy *self)
void unity_scope_proxy_set_filters_model (UnityScopeProxy *self, DeeSerializableModel *value)
static void unity_scope_proxy_base_init (UnityScopeProxyIface *iface)

Define Documentation

#define UNITY_IS_SCOPE_PROXY (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY))

Definition at line 36 of file unity-scope-proxy.c.

#define UNITY_SCOPE_PROXY (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxy))

Definition at line 35 of file unity-scope-proxy.c.

#define UNITY_SCOPE_PROXY_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxyIface))

Definition at line 37 of file unity-scope-proxy.c.

Definition at line 34 of file unity-scope-proxy.c.


Typedef Documentation

typedef struct _UnityScopeProxy

Definition at line 39 of file unity-scope-proxy.c.

typedef struct _UnityScopeProxyIface

Definition at line 40 of file unity-scope-proxy.c.


Function Documentation

void unity_scope_proxy_activate_finish ( UnityScopeProxy *  self,
GAsyncResult *  _res_,
UnityProtocolActivationReplyRaw *  result 
)

Definition at line 100 of file unity-scope-proxy.c.

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

Here is the caller graph for this function:

static void unity_scope_proxy_base_init ( UnityScopeProxyIface *  iface) [static]

Definition at line 217 of file unity-scope-proxy.c.

                                                                       {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_object_interface_install_property (iface, g_param_spec_object ("sources", "sources", "sources", UNITY_TYPE_OPTIONS_FILTER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
              g_object_interface_install_property (iface, g_param_spec_boolean ("search-in-global", "search-in-global", "search-in-global", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
              g_object_interface_install_property (iface, g_param_spec_enum ("view-type", "view-type", "view-type", UNITY_PROTOCOL_TYPE_VIEW_TYPE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
              g_object_interface_install_property (iface, g_param_spec_object ("results-model", "results-model", "results-model", dee_serializable_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
              g_object_interface_install_property (iface, g_param_spec_object ("global-results-model", "global-results-model", "global-results-model", dee_serializable_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
              g_object_interface_install_property (iface, g_param_spec_object ("filters-model", "filters-model", "filters-model", dee_serializable_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       }
}

Here is the caller graph for this function:

DeeSerializableModel* unity_scope_proxy_get_filters_model ( UnityScopeProxy *  self)

Definition at line 205 of file unity-scope-proxy.c.

                                                                                  {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_filters_model (self);
}

Here is the caller graph for this function:

DeeSerializableModel* unity_scope_proxy_get_global_results_model ( UnityScopeProxy *  self)

Definition at line 193 of file unity-scope-proxy.c.

                                                                                         {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_global_results_model (self);
}

Here is the caller graph for this function:

DeeSerializableModel* unity_scope_proxy_get_results_model ( UnityScopeProxy *  self)

Definition at line 181 of file unity-scope-proxy.c.

                                                                                  {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_results_model (self);
}

Here is the caller graph for this function:

gboolean unity_scope_proxy_get_search_in_global ( UnityScopeProxy *  self)

Definition at line 157 of file unity-scope-proxy.c.

                                                                        {
       g_return_val_if_fail (self != NULL, FALSE);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_search_in_global (self);
}

Here is the caller graph for this function:

UnityOptionsFilter* unity_scope_proxy_get_sources ( UnityScopeProxy *  self)

Definition at line 145 of file unity-scope-proxy.c.

                                                                          {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_sources (self);
}

Here is the caller graph for this function:

GType unity_scope_proxy_get_type ( void  )

Definition at line 70 of file unity-scope-proxy.c.

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

Here is the call graph for this function:

Definition at line 169 of file unity-scope-proxy.c.

                                                                              {
       g_return_val_if_fail (self != NULL, 0);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_view_type (self);
}

Here is the caller graph for this function:

void unity_scope_proxy_global_search ( UnityScopeProxy *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 125 of file unity-scope-proxy.c.

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

Here is the caller graph for this function:

GHashTable* unity_scope_proxy_global_search_finish ( UnityScopeProxy *  self,
GAsyncResult *  _res_ 
)

Definition at line 130 of file unity-scope-proxy.c.

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

Here is the caller graph for this function:

void unity_scope_proxy_search ( UnityScopeProxy *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 115 of file unity-scope-proxy.c.

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

Here is the caller graph for this function:

GHashTable* unity_scope_proxy_search_finish ( UnityScopeProxy *  self,
GAsyncResult *  _res_ 
)

Definition at line 120 of file unity-scope-proxy.c.

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

Here is the caller graph for this function:

void unity_scope_proxy_set_active_sources ( UnityScopeProxy *  self,
gchar **  sources,
int  sources_length1,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 135 of file unity-scope-proxy.c.

                                                                                                                                                              {
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_active_sources (self, sources, sources_length1, _callback_, _user_data_);
}

Here is the caller graph for this function:

void unity_scope_proxy_set_active_sources_finish ( UnityScopeProxy *  self,
GAsyncResult *  _res_ 
)

Definition at line 140 of file unity-scope-proxy.c.

                                                                                              {
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_active_sources_finish (self, _res_);
}
void unity_scope_proxy_set_filters_model ( UnityScopeProxy *  self,
DeeSerializableModel *  value 
)

Definition at line 211 of file unity-scope-proxy.c.

                                                                                              {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_filters_model (self, value);
}

Here is the caller graph for this function:

void unity_scope_proxy_set_global_results_model ( UnityScopeProxy *  self,
DeeSerializableModel *  value 
)

Definition at line 199 of file unity-scope-proxy.c.

                                                                                                     {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_global_results_model (self, value);
}

Here is the caller graph for this function:

void unity_scope_proxy_set_results_model ( UnityScopeProxy *  self,
DeeSerializableModel *  value 
)

Definition at line 187 of file unity-scope-proxy.c.

                                                                                              {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_results_model (self, value);
}

Here is the caller graph for this function:

void unity_scope_proxy_set_search_in_global ( UnityScopeProxy *  self,
gboolean  value 
)

Definition at line 163 of file unity-scope-proxy.c.

                                                                                    {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_search_in_global (self, value);
}

Here is the caller graph for this function:

void unity_scope_proxy_set_sources ( UnityScopeProxy *  self,
UnityOptionsFilter *  value 
)

Definition at line 151 of file unity-scope-proxy.c.

                                                                                      {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_sources (self, value);
}

Here is the caller graph for this function:

void unity_scope_proxy_set_view_type ( UnityScopeProxy *  self,
UnityProtocolViewType  value 
)

Definition at line 175 of file unity-scope-proxy.c.

                                                                                          {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_view_type (self, value);
}

Here is the caller graph for this function:

void unity_scope_proxy_update_preview_property ( UnityScopeProxy *  self,
const gchar *  uri,
GHashTable *  values,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 105 of file unity-scope-proxy.c.

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

Here is the caller graph for this function:

GHashTable* unity_scope_proxy_update_preview_property_finish ( UnityScopeProxy *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 110 of file unity-scope-proxy.c.

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

Here is the caller graph for this function: