Back to index

unity-lens-music  6.0.0
Classes | Defines | Typedefs | Functions | Variables
musicstore-scope.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <unity.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <dee.h>

Go to the source code of this file.

Classes

struct  _UnityMusicLensSimpleScope
struct  _UnityMusicLensSimpleScopeClass
struct  _UnityMusicLensMusicStoreScopeProxy
struct  _UnityMusicLensMusicStoreScopeProxyClass
struct  _UnityMusicLensMusicStoreScopeProxyPrivate
struct  _UnityMusicLensMusicStoreScopeProxyPerformSearchData

Defines

#define UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE   (unity_music_lens_simple_scope_get_type ())
#define UNITY_MUSIC_LENS_SIMPLE_SCOPE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE, UnityMusicLensSimpleScope))
#define UNITY_MUSIC_LENS_SIMPLE_SCOPE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE, UnityMusicLensSimpleScopeClass))
#define UNITY_MUSIC_LENS_IS_SIMPLE_SCOPE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE))
#define UNITY_MUSIC_LENS_IS_SIMPLE_SCOPE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE))
#define UNITY_MUSIC_LENS_SIMPLE_SCOPE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE, UnityMusicLensSimpleScopeClass))
#define UNITY_MUSIC_LENS_TYPE_FILTER_PARSER   (unity_music_lens_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParser))
#define UNITY_MUSIC_LENS_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))
#define UNITY_MUSIC_LENS_IS_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_IS_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_FILTER_PARSER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))
#define UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY   (unity_music_lens_music_store_scope_proxy_get_type ())
#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxy))
#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxyClass))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_SCOPE_PROXY(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_SCOPE_PROXY_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY))
#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxyClass))
#define UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION   (unity_music_lens_music_store_collection_get_type ())
#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION, UnityMusicLensMusicStoreCollection))
#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION, UnityMusicLensMusicStoreCollectionClass))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_COLLECTION(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_COLLECTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION))
#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION, UnityMusicLensMusicStoreCollectionClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define __g_list_free__g_object_unref0_0(var)   ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxyPrivate))

Typedefs

typedef struct _UnityMusicLensSimpleScope
typedef struct _UnityMusicLensSimpleScopeClass
typedef struct _UnityMusicLensSimpleScopePrivate
typedef struct _UnityMusicLensFilterParser
typedef struct _UnityMusicLensFilterParserClass
typedef struct _UnityMusicLensMusicStoreScopeProxy
typedef struct _UnityMusicLensMusicStoreScopeProxyClass
typedef struct _UnityMusicLensMusicStoreScopeProxyPrivate
typedef struct _UnityMusicLensMusicStoreCollection
typedef struct _UnityMusicLensMusicStoreCollectionClass
typedef struct _UnityMusicLensMusicStoreScopeProxyPerformSearchData

Functions

GType unity_music_lens_simple_scope_get_type (void)
UnityMusicLensMusicStoreScopeProxy * unity_music_lens_music_store_scope_proxy_new (void)
UnityMusicLensMusicStoreScopeProxy * unity_music_lens_music_store_scope_proxy_construct (GType object_type)
UnityMusicLensSimpleScope * unity_music_lens_simple_scope_construct (GType object_type)
void unity_music_lens_simple_scope_set_scope (UnityMusicLensSimpleScope *self, UnityScope *value)
UnityScope * unity_music_lens_simple_scope_get_scope (UnityMusicLensSimpleScope *self)
UnityActivationResponse * unity_music_lens_music_store_scope_proxy_activate (UnityMusicLensMusicStoreScopeProxy *self, const gchar *uri)
static UnityActivationResponse * _unity_music_lens_music_store_scope_proxy_activate_unity_scope_activate_uri (UnityScope *_sender, const gchar *uri, gpointer self)
void unity_music_lens_simple_scope_initialize (UnityMusicLensSimpleScope *self)
UnityMusicLensMusicStoreCollection * unity_music_lens_music_store_collection_new (void)
UnityMusicLensMusicStoreCollection * unity_music_lens_music_store_collection_construct (GType object_type)
static void _g_object_unref0_ (gpointer var)
static void _g_list_free__g_object_unref0_ (GList *self)
static void unity_music_lens_music_store_scope_proxy_real_perform_search_data_free (gpointer _data)
static void unity_music_lens_music_store_scope_proxy_real_perform_search (UnityMusicLensSimpleScope *base, UnityLensSearch *search, UnitySearchType search_type, GList *filters, gint max_results, GCancellable *cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_music_lens_music_store_scope_proxy_real_perform_search_co (UnityMusicLensMusicStoreScopeProxyPerformSearchData *_data_)
gboolean unity_music_lens_simple_scope_is_search_empty (UnityMusicLensSimpleScope *self, UnityLensSearch *search)
void unity_music_lens_music_store_collection_search (UnityMusicLensMusicStoreCollection *self, UnityLensSearch *search, UnitySearchType search_type, GList *filters, gint max_results, GCancellable *cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_music_lens_music_store_collection_search_finish (UnityMusicLensMusicStoreCollection *self, GAsyncResult *_res_, GError **error)
static void unity_music_lens_music_store_scope_proxy_perform_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_music_lens_music_store_scope_proxy_finalize (GObject *obj)
gint unity_music_lens_simple_scope_get_num_results_without_search (UnityMusicLensSimpleScope *self)
gint unity_music_lens_simple_scope_get_num_results_global_search (UnityMusicLensSimpleScope *self)
gint unity_music_lens_simple_scope_get_num_results_lens_search (UnityMusicLensSimpleScope *self)
static void _vala_unity_music_lens_music_store_scope_proxy_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static gpointer _g_object_ref0 (gpointer self)
static void unity_music_lens_music_store_scope_proxy_real_perform_search_finish (UnityMusicLensSimpleScope *base, GAsyncResult *_res_)
static gint unity_music_lens_music_store_scope_proxy_real_get_num_results_without_search (UnityMusicLensSimpleScope *base)
static gint unity_music_lens_music_store_scope_proxy_real_get_num_results_global_search (UnityMusicLensSimpleScope *base)
static gint unity_music_lens_music_store_scope_proxy_real_get_num_results_lens_search (UnityMusicLensSimpleScope *base)
static void unity_music_lens_music_store_scope_proxy_class_init (UnityMusicLensMusicStoreScopeProxyClass *klass)
static void unity_music_lens_music_store_scope_proxy_instance_init (UnityMusicLensMusicStoreScopeProxy *self)
GType unity_music_lens_music_store_scope_proxy_get_type (void)

Variables

static gpointer unity_music_lens_music_store_scope_proxy_parent_class = NULL

Class Documentation

struct _UnityMusicLensSimpleScope

Definition at line 91 of file banshee-scope.c.

Class Members
GObject parent_instance
UnityMusicLensSimpleScopePrivate * priv
struct _UnityMusicLensMusicStoreScopeProxy

Definition at line 93 of file musicstore-scope.c.

Class Members
UnityMusicLensSimpleScope parent_instance
UnityMusicLensMusicStoreScopeProxyPrivate * priv
struct _UnityMusicLensMusicStoreScopeProxyClass

Definition at line 98 of file musicstore-scope.c.

Class Members
UnityMusicLensSimpleScopeClass parent_class
struct _UnityMusicLensMusicStoreScopeProxyPrivate

Definition at line 102 of file musicstore-scope.c.

Class Members
UnityMusicLensMusicStoreCollection * collection
struct _UnityMusicLensMusicStoreScopeProxyPerformSearchData

Definition at line 106 of file musicstore-scope.c.

Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityLensSearch * _tmp0_
gint _tmp10_
GCancellable * _tmp11_
UnityLensSearch * _tmp12_
DeeSerializableModel * _tmp13_
DeeSerializableModel * _tmp14_
guint _tmp15_
UnityLensSearch * _tmp16_
const gchar * _tmp17_
const gchar * _tmp18_
GError * _tmp19_
gboolean _tmp1_
const gchar * _tmp20_
UnityLensSearch * _tmp2_
DeeSerializableModel * _tmp3_
DeeSerializableModel * _tmp4_
guint _tmp5_
UnityMusicLensMusicStoreCollection * _tmp6_
UnityLensSearch * _tmp7_
UnitySearchType _tmp8_
GList * _tmp9_
GCancellable * cancellable
GError * e
GList * filters
gint max_results
UnityLensSearch * search
UnitySearchType search_type
UnityMusicLensMusicStoreScopeProxy * self

Define Documentation

#define __g_list_free__g_object_unref0_0 (   var)    ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))

Definition at line 76 of file musicstore-scope.c.

#define _g_error_free0 (   var)    ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

Definition at line 75 of file musicstore-scope.c.

#define _g_object_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

Definition at line 74 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParser))

Definition at line 45 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))

Definition at line 46 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_FILTER_PARSER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))

Definition at line 49 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))

Definition at line 47 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))

Definition at line 48 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_COLLECTION (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION))

Definition at line 68 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_COLLECTION_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION))

Definition at line 69 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_SCOPE_PROXY (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY))

Definition at line 57 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_SCOPE_PROXY_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY))

Definition at line 58 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_SIMPLE_SCOPE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE))

Definition at line 36 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_IS_SIMPLE_SCOPE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE))

Definition at line 37 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION, UnityMusicLensMusicStoreCollection))

Definition at line 66 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION, UnityMusicLensMusicStoreCollectionClass))

Definition at line 67 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_COLLECTION, UnityMusicLensMusicStoreCollectionClass))

Definition at line 70 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxy))

Definition at line 55 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxyClass))

Definition at line 56 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxyClass))

Definition at line 59 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_SCOPE_PROXY, UnityMusicLensMusicStoreScopeProxyPrivate))
#define UNITY_MUSIC_LENS_SIMPLE_SCOPE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE, UnityMusicLensSimpleScope))

Definition at line 34 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_SIMPLE_SCOPE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE, UnityMusicLensSimpleScopeClass))

Definition at line 35 of file musicstore-scope.c.

#define UNITY_MUSIC_LENS_SIMPLE_SCOPE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE, UnityMusicLensSimpleScopeClass))

Definition at line 38 of file musicstore-scope.c.

Definition at line 44 of file musicstore-scope.c.

Definition at line 65 of file musicstore-scope.c.

Definition at line 54 of file musicstore-scope.c.

Definition at line 33 of file musicstore-scope.c.


Typedef Documentation

Definition at line 51 of file musicstore-scope.c.

Definition at line 52 of file musicstore-scope.c.

Definition at line 72 of file musicstore-scope.c.

Definition at line 73 of file musicstore-scope.c.

Definition at line 61 of file musicstore-scope.c.

Definition at line 62 of file musicstore-scope.c.

Definition at line 77 of file musicstore-scope.c.

Definition at line 63 of file musicstore-scope.c.

Definition at line 40 of file musicstore-scope.c.

Definition at line 41 of file musicstore-scope.c.

Definition at line 42 of file musicstore-scope.c.


Function Documentation

static void _g_list_free__g_object_unref0_ ( GList *  self) [static]

Definition at line 307 of file musicstore-scope.c.

                                                         {
       g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
       g_list_free (self);
}

Here is the call graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 324 of file musicstore-scope.c.

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

Here is the caller graph for this function:

static void _g_object_unref0_ ( gpointer  var) [static]

Definition at line 302 of file musicstore-scope.c.

                                             {
       (var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
}

Here is the caller graph for this function:

static UnityActivationResponse * _unity_music_lens_music_store_scope_proxy_activate_unity_scope_activate_uri ( UnityScope *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

Definition at line 182 of file musicstore-scope.c.

                                                                                                                                                                   {
       UnityActivationResponse* result;
       result = unity_music_lens_music_store_scope_proxy_activate (self, uri);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_music_lens_music_store_scope_proxy_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 535 of file musicstore-scope.c.

                                                                                                                                                  {
       UnityMusicLensMusicStoreScopeProxy * self;
       self = UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY (object);
       switch (property_id) {
              case UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_WITHOUT_SEARCH:
              g_value_set_int (value, unity_music_lens_simple_scope_get_num_results_without_search ((UnityMusicLensSimpleScope*) self));
              break;
              case UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_GLOBAL_SEARCH:
              g_value_set_int (value, unity_music_lens_simple_scope_get_num_results_global_search ((UnityMusicLensSimpleScope*) self));
              break;
              case UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_LENS_SEARCH:
              g_value_set_int (value, unity_music_lens_simple_scope_get_num_results_lens_search ((UnityMusicLensSimpleScope*) self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensMusicStoreCollection* unity_music_lens_music_store_collection_construct ( GType  object_type)
UnityMusicLensMusicStoreCollection* unity_music_lens_music_store_collection_new ( void  )

Definition at line 372 of file musicstore-collection.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_lens_music_store_collection_search ( UnityMusicLensMusicStoreCollection *  self,
UnityLensSearch *  search,
UnitySearchType  search_type,
GList *  filters,
gint  max_results,
GCancellable *  cancellable,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 404 of file musicstore-collection.c.

                                                                                                                                                                                                                                                                        {
       UnityMusicLensMusicStoreCollectionSearchData* _data_;
       UnityMusicLensMusicStoreCollection* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       UnitySearchType _tmp3_;
       GList* _tmp4_;
       gint _tmp5_;
       GCancellable* _tmp6_;
       GCancellable* _tmp7_;
       _data_ = g_slice_new0 (UnityMusicLensMusicStoreCollectionSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_music_lens_music_store_collection_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_music_lens_music_store_collection_search_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = search;
       _tmp2_ = _g_object_ref0 (_tmp1_);
       _data_->search = _tmp2_;
       _tmp3_ = search_type;
       _data_->search_type = _tmp3_;
       _tmp4_ = filters;
       __g_list_free__g_object_unref0_0 (_data_->filters);
       _data_->filters = _tmp4_;
       _tmp5_ = max_results;
       _data_->max_results = _tmp5_;
       _tmp6_ = cancellable;
       _tmp7_ = _g_object_ref0 (_tmp6_);
       _data_->cancellable = _tmp7_;
       unity_music_lens_music_store_collection_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_lens_music_store_collection_search_finish ( UnityMusicLensMusicStoreCollection *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 436 of file musicstore-collection.c.

                                                                                                                                           {
       UnityMusicLensMusicStoreCollectionSearchData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}

Here is the caller graph for this function:

UnityActivationResponse * unity_music_lens_music_store_scope_proxy_activate ( UnityMusicLensMusicStoreScopeProxy *  self,
const gchar *  uri 
)

Definition at line 259 of file musicstore-scope.c.

                                                                                                                                        {
       UnityActivationResponse* result = NULL;
       UnityActivationResponse* _tmp4_;
       UnityActivationResponse* _tmp5_;
       GError * _inner_error_ = NULL;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (uri != NULL, NULL);
       {
              const gchar* _tmp0_;
              _tmp0_ = uri;
              g_app_info_launch_default_for_uri (_tmp0_, NULL, &_inner_error_);
              if (_inner_error_ != NULL) {
                     goto __catch4_g_error;
              }
       }
       goto __finally4;
       __catch4_g_error:
       {
              GError* e = NULL;
              const gchar* _tmp1_;
              GError* _tmp2_;
              const gchar* _tmp3_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp1_ = uri;
              _tmp2_ = e;
              _tmp3_ = _tmp2_->message;
              g_warning ("musicstore-scope.vala:57: Failed to open uri %s. %s", _tmp1_, _tmp3_);
              _g_error_free0 (e);
       }
       __finally4:
       if (_inner_error_ != NULL) {
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
              g_clear_error (&_inner_error_);
              return NULL;
       }
       _tmp4_ = unity_activation_response_new (UNITY_HANDLED_TYPE_HIDE_DASH, "");
       _tmp5_ = g_object_ref_sink (_tmp4_);
       result = _tmp5_;
       return result;
}

Here is the caller graph for this function:

static void unity_music_lens_music_store_scope_proxy_class_init ( UnityMusicLensMusicStoreScopeProxyClass *  klass) [static]

Definition at line 494 of file musicstore-scope.c.

                                                                                                                  {
       unity_music_lens_music_store_scope_proxy_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMusicLensMusicStoreScopeProxyPrivate));
       UNITY_MUSIC_LENS_SIMPLE_SCOPE_CLASS (klass)->perform_search = unity_music_lens_music_store_scope_proxy_real_perform_search;
       UNITY_MUSIC_LENS_SIMPLE_SCOPE_CLASS (klass)->perform_search_finish = unity_music_lens_music_store_scope_proxy_real_perform_search_finish;
       UNITY_MUSIC_LENS_SIMPLE_SCOPE_CLASS (klass)->get_num_results_without_search = unity_music_lens_music_store_scope_proxy_real_get_num_results_without_search;
       UNITY_MUSIC_LENS_SIMPLE_SCOPE_CLASS (klass)->get_num_results_global_search = unity_music_lens_music_store_scope_proxy_real_get_num_results_global_search;
       UNITY_MUSIC_LENS_SIMPLE_SCOPE_CLASS (klass)->get_num_results_lens_search = unity_music_lens_music_store_scope_proxy_real_get_num_results_lens_search;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_music_lens_music_store_scope_proxy_get_property;
       G_OBJECT_CLASS (klass)->finalize = unity_music_lens_music_store_scope_proxy_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_WITHOUT_SEARCH, g_param_spec_int ("num-results-without-search", "num-results-without-search", "num-results-without-search", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_GLOBAL_SEARCH, g_param_spec_int ("num-results-global-search", "num-results-global-search", "num-results-global-search", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_LENS_SEARCH, g_param_spec_int ("num-results-lens-search", "num-results-lens-search", "num-results-lens-search", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensMusicStoreScopeProxy * unity_music_lens_music_store_scope_proxy_construct ( GType  object_type)

Definition at line 189 of file musicstore-scope.c.

                                                                                                           {
       UnityMusicLensMusicStoreScopeProxy * self = NULL;
       UnityScope* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* _tmp2_;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       UnityScope* _tmp5_;
       UnityMusicLensMusicStoreCollection* _tmp6_;
       GError * _inner_error_ = NULL;
       self = (UnityMusicLensMusicStoreScopeProxy*) unity_music_lens_simple_scope_construct (object_type);
       _tmp0_ = unity_scope_new ("/com/canonical/unity/scope/musicstore");
       _tmp1_ = _tmp0_;
       unity_music_lens_simple_scope_set_scope ((UnityMusicLensSimpleScope*) self, _tmp1_);
       _g_object_unref0 (_tmp1_);
       _tmp2_ = unity_music_lens_simple_scope_get_scope ((UnityMusicLensSimpleScope*) self);
       _tmp3_ = _tmp2_;
       unity_scope_set_search_in_global (_tmp3_, FALSE);
       _tmp4_ = unity_music_lens_simple_scope_get_scope ((UnityMusicLensSimpleScope*) self);
       _tmp5_ = _tmp4_;
       g_signal_connect_object (_tmp5_, "activate-uri", (GCallback) _unity_music_lens_music_store_scope_proxy_activate_unity_scope_activate_uri, self, 0);
       unity_music_lens_simple_scope_initialize (UNITY_MUSIC_LENS_SIMPLE_SCOPE (self));
       _tmp6_ = unity_music_lens_music_store_collection_new ();
       _g_object_unref0 (self->priv->collection);
       self->priv->collection = _tmp6_;
       {
              UnityScope* _tmp7_;
              UnityScope* _tmp8_;
              _tmp7_ = unity_music_lens_simple_scope_get_scope ((UnityMusicLensSimpleScope*) self);
              _tmp8_ = _tmp7_;
              unity_scope_export (_tmp8_, &_inner_error_);
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_g_io_error;
                     }
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
                     return NULL;
              }
       }
       goto __finally3;
       __catch3_g_io_error:
       {
              GError* e = NULL;
              FILE* _tmp9_;
              GError* _tmp10_;
              const gchar* _tmp11_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp9_ = stdout;
              _tmp10_ = e;
              _tmp11_ = _tmp10_->message;
              fprintf (_tmp9_, "%s", _tmp11_);
              _g_error_free0 (e);
       }
       __finally3:
       if (_inner_error_ != NULL) {
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
              g_clear_error (&_inner_error_);
              return NULL;
       }
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_music_lens_music_store_scope_proxy_finalize ( GObject *  obj) [static]

Definition at line 515 of file musicstore-scope.c.

                                                                             {
       UnityMusicLensMusicStoreScopeProxy * self;
       self = UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY (obj);
       _g_object_unref0 (self->priv->collection);
       G_OBJECT_CLASS (unity_music_lens_music_store_scope_proxy_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

Definition at line 523 of file musicstore-scope.c.

                                                               {
       static volatile gsize unity_music_lens_music_store_scope_proxy_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_lens_music_store_scope_proxy_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensMusicStoreScopeProxyClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_music_lens_music_store_scope_proxy_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMusicLensMusicStoreScopeProxy), 0, (GInstanceInitFunc) unity_music_lens_music_store_scope_proxy_instance_init, NULL };
              GType unity_music_lens_music_store_scope_proxy_type_id;
              unity_music_lens_music_store_scope_proxy_type_id = g_type_register_static (UNITY_MUSIC_LENS_TYPE_SIMPLE_SCOPE, "UnityMusicLensMusicStoreScopeProxy", &g_define_type_info, 0);
              g_once_init_leave (&unity_music_lens_music_store_scope_proxy_type_id__volatile, unity_music_lens_music_store_scope_proxy_type_id);
       }
       return unity_music_lens_music_store_scope_proxy_type_id__volatile;
}

Here is the call graph for this function:

static void unity_music_lens_music_store_scope_proxy_instance_init ( UnityMusicLensMusicStoreScopeProxy *  self) [static]

Definition at line 510 of file musicstore-scope.c.

Here is the caller graph for this function:

UnityMusicLensMusicStoreScopeProxy * unity_music_lens_music_store_scope_proxy_new ( void  )

Definition at line 254 of file musicstore-scope.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 369 of file musicstore-scope.c.

                                                                                                                                              {
       UnityMusicLensMusicStoreScopeProxyPerformSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_music_lens_music_store_scope_proxy_real_perform_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gint unity_music_lens_music_store_scope_proxy_real_get_num_results_global_search ( UnityMusicLensSimpleScope *  base) [static]

Definition at line 476 of file musicstore-scope.c.

                                                                                                                          {
       gint result;
       UnityMusicLensMusicStoreScopeProxy* self;
       self = (UnityMusicLensMusicStoreScopeProxy*) base;
       result = 20;
       return result;
}

Here is the caller graph for this function:

static gint unity_music_lens_music_store_scope_proxy_real_get_num_results_lens_search ( UnityMusicLensSimpleScope *  base) [static]

Definition at line 485 of file musicstore-scope.c.

                                                                                                                        {
       gint result;
       UnityMusicLensMusicStoreScopeProxy* self;
       self = (UnityMusicLensMusicStoreScopeProxy*) base;
       result = 50;
       return result;
}

Here is the caller graph for this function:

static gint unity_music_lens_music_store_scope_proxy_real_get_num_results_without_search ( UnityMusicLensSimpleScope *  base) [static]

Definition at line 467 of file musicstore-scope.c.

                                                                                                                           {
       gint result;
       UnityMusicLensMusicStoreScopeProxy* self;
       self = (UnityMusicLensMusicStoreScopeProxy*) base;
       result = 100;
       return result;
}

Here is the caller graph for this function:

static void unity_music_lens_music_store_scope_proxy_real_perform_search ( UnityMusicLensSimpleScope *  base,
UnityLensSearch *  search,
UnitySearchType  search_type,
GList *  filters,
gint  max_results,
GCancellable *  cancellable,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 329 of file musicstore-scope.c.

                                                                                                                                                                                                                                                                                    {
       UnityMusicLensMusicStoreScopeProxy * self;
       UnityMusicLensMusicStoreScopeProxyPerformSearchData* _data_;
       UnityMusicLensMusicStoreScopeProxy* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       UnitySearchType _tmp3_;
       GList* _tmp4_;
       gint _tmp5_;
       GCancellable* _tmp6_;
       GCancellable* _tmp7_;
       self = (UnityMusicLensMusicStoreScopeProxy*) base;
       _data_ = g_slice_new0 (UnityMusicLensMusicStoreScopeProxyPerformSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_music_lens_music_store_scope_proxy_real_perform_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_music_lens_music_store_scope_proxy_real_perform_search_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = search;
       _tmp2_ = _g_object_ref0 (_tmp1_);
       _data_->search = _tmp2_;
       _tmp3_ = search_type;
       _data_->search_type = _tmp3_;
       _tmp4_ = filters;
       __g_list_free__g_object_unref0_0 (_data_->filters);
       _data_->filters = _tmp4_;
       _tmp5_ = max_results;
       _data_->max_results = _tmp5_;
       _tmp6_ = cancellable;
       _tmp7_ = _g_object_ref0 (_tmp6_);
       _data_->cancellable = _tmp7_;
       unity_music_lens_music_store_scope_proxy_real_perform_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_music_lens_music_store_scope_proxy_real_perform_search_co ( UnityMusicLensMusicStoreScopeProxyPerformSearchData *  _data_) [static]

Definition at line 378 of file musicstore-scope.c.

                                                                                                                                              {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->search;
       _data_->_tmp1_ = FALSE;
       _data_->_tmp1_ = unity_music_lens_simple_scope_is_search_empty ((UnityMusicLensSimpleScope*) _data_->self, _data_->_tmp0_);
       if (_data_->_tmp1_) {
              __g_list_free__g_object_unref0_0 (_data_->filters);
              if (_data_->_state_ == 0) {
                     g_simple_async_result_complete_in_idle (_data_->_async_result);
              } else {
                     g_simple_async_result_complete (_data_->_async_result);
              }
              g_object_unref (_data_->_async_result);
              return FALSE;
       }
       {
              _data_->_tmp2_ = _data_->search;
              _data_->_tmp3_ = unity_lens_search_get_results_model (_data_->_tmp2_);
              _data_->_tmp4_ = _data_->_tmp3_;
              _data_->_tmp5_ = 0U;
              _data_->_tmp5_ = dee_model_get_n_rows ((DeeModel*) _data_->_tmp4_);
              g_debug ("musicstore-scope.vala:72: model has %u rows before search", _data_->_tmp5_);
              _data_->_tmp6_ = _data_->self->priv->collection;
              _data_->_tmp7_ = _data_->search;
              _data_->_tmp8_ = _data_->search_type;
              _data_->_tmp9_ = _data_->filters;
              _data_->filters = NULL;
              _data_->_tmp10_ = _data_->max_results;
              _data_->_tmp11_ = _data_->cancellable;
              _data_->_state_ = 1;
              unity_music_lens_music_store_collection_search (_data_->_tmp6_, _data_->_tmp7_, _data_->_tmp8_, _data_->_tmp9_, _data_->_tmp10_, _data_->_tmp11_, unity_music_lens_music_store_scope_proxy_perform_search_ready, _data_);
              return FALSE;
              _state_1:
              unity_music_lens_music_store_collection_search_finish (_data_->_tmp6_, _data_->_res_, &_data_->_inner_error_);
              if (_data_->_inner_error_ != NULL) {
                     if (_data_->_inner_error_->domain == G_IO_ERROR) {
                            goto __catch5_g_io_error;
                     }
                     __g_list_free__g_object_unref0_0 (_data_->filters);
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
              _data_->_tmp12_ = _data_->search;
              _data_->_tmp13_ = unity_lens_search_get_results_model (_data_->_tmp12_);
              _data_->_tmp14_ = _data_->_tmp13_;
              _data_->_tmp15_ = 0U;
              _data_->_tmp15_ = dee_model_get_n_rows ((DeeModel*) _data_->_tmp14_);
              g_debug ("musicstore-scope.vala:74: model has %u rows after search", _data_->_tmp15_);
       }
       goto __finally5;
       __catch5_g_io_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _data_->_tmp16_ = _data_->search;
              _data_->_tmp17_ = unity_lens_search_get_search_string (_data_->_tmp16_);
              _data_->_tmp18_ = _data_->_tmp17_;
              _data_->_tmp19_ = _data_->e;
              _data_->_tmp20_ = _data_->_tmp19_->message;
              g_warning ("musicstore-scope.vala:76: Failed to search for '%s': %s", _data_->_tmp18_, _data_->_tmp20_);
              _g_error_free0 (_data_->e);
       }
       __finally5:
       if (_data_->_inner_error_ != NULL) {
              __g_list_free__g_object_unref0_0 (_data_->filters);
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
              g_clear_error (&_data_->_inner_error_);
              return FALSE;
       }
       __g_list_free__g_object_unref0_0 (_data_->filters);
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 313 of file musicstore-scope.c.

                                                                                                    {
       UnityMusicLensMusicStoreScopeProxyPerformSearchData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->search);
       __g_list_free__g_object_unref0_0 (_data_->filters);
       _g_object_unref0 (_data_->cancellable);
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityMusicLensMusicStoreScopeProxyPerformSearchData, _data_);
}

Here is the caller graph for this function:

static void unity_music_lens_music_store_scope_proxy_real_perform_search_finish ( UnityMusicLensSimpleScope *  base,
GAsyncResult *  _res_ 
) [static]

Definition at line 363 of file musicstore-scope.c.

                                                                                                                                       {
       UnityMusicLensMusicStoreScopeProxyPerformSearchData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}

Here is the caller graph for this function:

UnityMusicLensSimpleScope* unity_music_lens_simple_scope_construct ( GType  object_type)

Definition at line 259 of file simple-scope.c.

                                                                                       {
       UnityMusicLensSimpleScope * self = NULL;
       self = (UnityMusicLensSimpleScope*) g_object_new (object_type, NULL);
       return self;
}
gint unity_music_lens_simple_scope_get_num_results_global_search ( UnityMusicLensSimpleScope *  self)

Definition at line 729 of file simple-scope.c.

                                                                                                   {
       g_return_val_if_fail (self != NULL, 0);
       return UNITY_MUSIC_LENS_SIMPLE_SCOPE_GET_CLASS (self)->get_num_results_global_search (self);
}

Here is the caller graph for this function:

gint unity_music_lens_simple_scope_get_num_results_lens_search ( UnityMusicLensSimpleScope *  self)

Definition at line 735 of file simple-scope.c.

                                                                                                 {
       g_return_val_if_fail (self != NULL, 0);
       return UNITY_MUSIC_LENS_SIMPLE_SCOPE_GET_CLASS (self)->get_num_results_lens_search (self);
}

Here is the caller graph for this function:

gint unity_music_lens_simple_scope_get_num_results_without_search ( UnityMusicLensSimpleScope *  self)

Definition at line 723 of file simple-scope.c.

                                                                                                    {
       g_return_val_if_fail (self != NULL, 0);
       return UNITY_MUSIC_LENS_SIMPLE_SCOPE_GET_CLASS (self)->get_num_results_without_search (self);
}

Here is the caller graph for this function:

UnityScope* unity_music_lens_simple_scope_get_scope ( UnityMusicLensSimpleScope *  self)

Definition at line 701 of file simple-scope.c.

                                                                                      {
       UnityScope* result;
       UnityScope* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_scope;
       result = _tmp0_;
       return result;
}

Definition at line 145 of file musicstore-scope.c.

      {
       UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_DUMMY_PROPERTY,
       UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_WITHOUT_SEARCH,
       UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_GLOBAL_SEARCH,
       UNITY_MUSIC_LENS_MUSIC_STORE_SCOPE_PROXY_NUM_RESULTS_LENS_SEARCH
};
void unity_music_lens_simple_scope_initialize ( UnityMusicLensSimpleScope *  self)

Definition at line 346 of file simple-scope.c.

                                                                                {
       UnityScope* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* _tmp2_;
       UnityScope* _tmp3_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_scope;
       g_signal_connect_object (_tmp0_, "filters-changed", (GCallback) ___lambda0__unity_scope_filters_changed, self, 0);
       _tmp1_ = self->priv->_scope;
       g_signal_connect_object (_tmp1_, "active-sources-changed", (GCallback) ___lambda1__unity_scope_active_sources_changed, self, 0);
       _tmp2_ = self->priv->_scope;
       g_signal_connect_object (_tmp2_, "generate-search-key", (GCallback) ___lambda2__unity_scope_generate_search_key, self, 0);
       _tmp3_ = self->priv->_scope;
       g_signal_connect_object (_tmp3_, "search-changed", (GCallback) ___lambda3__unity_scope_search_changed, self, 0);
}
gboolean unity_music_lens_simple_scope_is_search_empty ( UnityMusicLensSimpleScope *  self,
UnityLensSearch *  search 
)

Definition at line 672 of file simple-scope.c.

                                                                                                                  {
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       UnityLensSearch* _tmp3_;
       const gchar* _tmp4_;
       const gchar* _tmp5_;
       gchar* _tmp6_ = NULL;
       gchar* _tmp7_;
       gboolean _tmp8_;
       g_return_val_if_fail (self != NULL, FALSE);
       g_return_val_if_fail (search != NULL, FALSE);
       _tmp0_ = search;
       _tmp1_ = unity_lens_search_get_search_string (_tmp0_);
       _tmp2_ = _tmp1_;
       g_return_val_if_fail (_tmp2_ != NULL, FALSE);
       _tmp3_ = search;
       _tmp4_ = unity_lens_search_get_search_string (_tmp3_);
       _tmp5_ = _tmp4_;
       _tmp6_ = string_strip (_tmp5_);
       _tmp7_ = _tmp6_;
       _tmp8_ = g_strcmp0 (_tmp7_, "") == 0;
       _g_free0 (_tmp7_);
       result = _tmp8_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_lens_simple_scope_set_scope ( UnityMusicLensSimpleScope *  self,
UnityScope *  value 
)

Definition at line 711 of file simple-scope.c.

                                                                                                  {
       UnityScope* _tmp0_;
       UnityScope* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_scope);
       self->priv->_scope = _tmp1_;
       g_object_notify ((GObject *) self, "scope");
}

Variable Documentation

Definition at line 143 of file musicstore-scope.c.