Back to index

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

Go to the source code of this file.

Classes

struct  _UnityMusicLensMusicStoreCollection
struct  _UnityMusicLensMusicStoreCollectionClass
struct  _UnityMusicLensMusicStoreCollectionSearchData
struct  _UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData
struct  _UnityMusicLensMusicStoreFilterParserIface

Defines

#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_list_free__g_object_unref0_0(var)   ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
#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 _g_free0(var)   (var = (g_free (var), NULL))
#define UNITY_MUSIC_LENS_TYPE_TRACK   (unity_music_lens_track_get_type ())
#define UNITY_MUSIC_LENS_TRACK(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrack))
#define UNITY_MUSIC_LENS_TRACK_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrackClass))
#define UNITY_MUSIC_LENS_IS_TRACK(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_TRACK))
#define UNITY_MUSIC_LENS_IS_TRACK_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_TRACK))
#define UNITY_MUSIC_LENS_TRACK_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrackClass))
#define UNITY_MUSIC_LENS_TYPE_ALBUM   (unity_music_lens_album_get_type ())
#define UNITY_MUSIC_LENS_ALBUM(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_ALBUM, UnityMusicLensAlbum))
#define UNITY_MUSIC_LENS_ALBUM_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_ALBUM, UnityMusicLensAlbumClass))
#define UNITY_MUSIC_LENS_IS_ALBUM(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_ALBUM))
#define UNITY_MUSIC_LENS_IS_ALBUM_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_ALBUM))
#define UNITY_MUSIC_LENS_ALBUM_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_ALBUM, UnityMusicLensAlbumClass))
#define __vala_JsonObject_free0(var)   ((var == NULL) ? NULL : (var = (_vala_JsonObject_free (var), NULL)))
#define _g_list_free0(var)   ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_timer_destroy0(var)   ((var == NULL) ? NULL : (var = (g_timer_destroy (var), NULL)))
#define UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER   (unity_music_lens_music_store_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_MUSIC_STORE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER, UnityMusicLensMusicStoreFilterParser))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_MUSIC_STORE_FILTER_PARSER_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER, UnityMusicLensMusicStoreFilterParserIface))
#define UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER   (unity_music_lens_genre_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_GENRE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParser))
#define UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParserClass))
#define UNITY_MUSIC_LENS_IS_GENRE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_IS_GENRE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParserClass))
#define UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER   (unity_music_lens_music_store_genre_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_MUSIC_STORE_GENRE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER, UnityMusicLensMusicStoreGenreFilterParser))
#define UNITY_MUSIC_LENS_MUSIC_STORE_GENRE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER, UnityMusicLensMusicStoreGenreFilterParserClass))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_GENRE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_GENRE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_MUSIC_STORE_GENRE_FILTER_PARSER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER, UnityMusicLensMusicStoreGenreFilterParserClass))
#define UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER   (unity_music_lens_decade_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_DECADE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, UnityMusicLensDecadeFilterParser))
#define UNITY_MUSIC_LENS_DECADE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, UnityMusicLensDecadeFilterParserClass))
#define UNITY_MUSIC_LENS_IS_DECADE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_IS_DECADE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_DECADE_FILTER_PARSER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, UnityMusicLensDecadeFilterParserClass))
#define UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER   (unity_music_lens_music_store_decade_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_MUSIC_STORE_DECADE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER, UnityMusicLensMusicStoreDecadeFilterParser))
#define UNITY_MUSIC_LENS_MUSIC_STORE_DECADE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER, UnityMusicLensMusicStoreDecadeFilterParserClass))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_DECADE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_DECADE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_MUSIC_STORE_DECADE_FILTER_PARSER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER, UnityMusicLensMusicStoreDecadeFilterParserClass))
#define _g_string_free0(var)   ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_MUSICSTORE_BASE_URI   "http://musicsearch.ubuntu.com/v1/"

Typedefs

typedef struct _UnityMusicLensMusicStoreCollection
typedef struct _UnityMusicLensMusicStoreCollectionClass
typedef struct _UnityMusicLensMusicStoreCollectionPrivate
typedef struct _UnityMusicLensFilterParser
typedef struct _UnityMusicLensFilterParserClass
typedef struct _UnityMusicLensMusicStoreCollectionSearchData
typedef struct _UnityMusicLensTrack
typedef struct _UnityMusicLensTrackClass
typedef struct _UnityMusicLensAlbum
typedef struct _UnityMusicLensAlbumClass
typedef struct _UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData
typedef struct _UnityMusicLensMusicStoreFilterParser
typedef struct _UnityMusicLensMusicStoreFilterParserIface
typedef struct _UnityMusicLensGenreFilterParser
typedef struct _UnityMusicLensGenreFilterParserClass
typedef struct _UnityMusicLensMusicStoreGenreFilterParser
typedef struct _UnityMusicLensMusicStoreGenreFilterParserClass
typedef struct _UnityMusicLensDecadeFilterParser
typedef struct _UnityMusicLensDecadeFilterParserClass
typedef struct _UnityMusicLensMusicStoreDecadeFilterParser
typedef struct _UnityMusicLensMusicStoreDecadeFilterParserClass

Functions

GType unity_music_lens_music_store_collection_get_type (void)
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_collection_search_data_free (gpointer _data)
GType unity_music_lens_filter_parser_get_type (void)
static gpointer _g_object_ref0 (gpointer self)
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_collection_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static gboolean unity_music_lens_music_store_collection_search_co (UnityMusicLensMusicStoreCollectionSearchData *_data_)
static void unity_music_lens_music_store_collection_read_musicstore_search_result_async_data_free (gpointer _data)
static void unity_music_lens_music_store_collection_read_musicstore_search_result_async (UnityMusicLensMusicStoreCollection *self, GFile *file, DeeModel *model, GCancellable *cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_music_lens_music_store_collection_read_musicstore_search_result_finish (UnityMusicLensMusicStoreCollection *self, GAsyncResult *_res_)
static void unity_music_lens_music_store_collection_read_musicstore_search_result_async_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static JsonObject * _vala_JsonObject_copy (JsonObject *self)
static gpointer __vala_JsonObject_copy0 (gpointer self)
static void _vala_JsonObject_free (JsonObject *self)
static gboolean unity_music_lens_music_store_collection_read_musicstore_search_result_async_co (UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData *_data_)
static gchar * string_strip (const gchar *self)
static gchar * unity_music_lens_music_store_collection_build_search_uri (UnityMusicLensMusicStoreCollection *self, const gchar *query, GList *filters)
static void unity_music_lens_music_store_collection_class_init (UnityMusicLensMusicStoreCollectionClass *klass)
static void unity_music_lens_music_store_collection_instance_init (UnityMusicLensMusicStoreCollection *self)

Variables

static gpointer unity_music_lens_music_store_collection_parent_class = NULL

Class Documentation

struct _UnityMusicLensMusicStoreCollection

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

Class Members
GObject parent_instance
UnityMusicLensMusicStoreCollectionPrivate * priv
struct _UnityMusicLensMusicStoreCollectionClass

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

Class Members
GObjectClass parent_class
struct _UnityMusicLensMusicStoreCollectionSearchData

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

Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityLensSearch * _tmp0_
const gchar * _tmp10_
GFile * _tmp11_
GFile * _tmp12_
DeeSerializableModel * _tmp13_
GCancellable * _tmp14_
const gchar * _tmp1_
const gchar * _tmp2_
GList * _tmp3_
gchar * _tmp4_
const gchar * _tmp5_
UnityLensSearch * _tmp6_
DeeSerializableModel * _tmp7_
DeeSerializableModel * _tmp8_
DeeSerializableModel * _tmp9_
GCancellable * cancellable
GFile * file
GList * filters
gint max_results
DeeSerializableModel * results_model
UnityLensSearch * search
UnitySearchType search_type
UnityMusicLensMusicStoreCollection * self
gchar * uri
struct _UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData

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

Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
GTimer * _tmp0_
GError * _tmp100_
const gchar * _tmp101_
JsonParser * _tmp10_
GDataInputStream * _tmp11_
GCancellable * _tmp12_
JsonParser * _tmp13_
JsonNode * _tmp14_
JsonObject * _tmp15_
JsonObject * _tmp16_
JsonObject * _tmp17_
JsonArray * _tmp18_
GList * _tmp19_
GFile * _tmp1_
JsonNode * _tmp20_
JsonObject * _tmp21_
JsonObject * _tmp22_
JsonObject * _tmp23_
const gchar * _tmp24_
gchar * _tmp25_
const gchar * _tmp26_
UnityMusicLensTrack * _tmp27_
UnityMusicLensTrack * _tmp28_
JsonObject * _tmp29_
gchar * _tmp2_
const gchar * _tmp30_
UnityMusicLensTrack * _tmp31_
JsonObject * _tmp32_
const gchar * _tmp33_
UnityMusicLensTrack * _tmp34_
JsonObject * _tmp35_
const gchar * _tmp36_
UnityMusicLensTrack * _tmp37_
JsonObject * _tmp38_
const gchar * _tmp39_
gchar * _tmp3_
UnityMusicLensTrack * _tmp40_
DeeModel * _tmp41_
UnityMusicLensTrack * _tmp42_
const gchar * _tmp43_
const gchar * _tmp44_
UnityMusicLensTrack * _tmp45_
const gchar * _tmp46_
const gchar * _tmp47_
UnityMusicLensTrack * _tmp48_
const gchar * _tmp49_
GFile * _tmp4_
const gchar * _tmp50_
UnityMusicLensTrack * _tmp51_
const gchar * _tmp52_
const gchar * _tmp53_
UnityMusicLensTrack * _tmp54_
const gchar * _tmp55_
const gchar * _tmp56_
UnityMusicLensTrack * _tmp57_
const gchar * _tmp58_
const gchar * _tmp59_
GCancellable * _tmp5_
const gchar * _tmp60_
UnityMusicLensAlbum * _tmp61_
UnityMusicLensAlbum * _tmp62_
JsonObject * _tmp63_
const gchar * _tmp64_
UnityMusicLensAlbum * _tmp65_
JsonObject * _tmp66_
const gchar * _tmp67_
UnityMusicLensAlbum * _tmp68_
JsonObject * _tmp69_
GFileInputStream * _tmp6_
const gchar * _tmp70_
UnityMusicLensAlbum * _tmp71_
JsonObject * _tmp72_
const gchar * _tmp73_
DeeModel * _tmp74_
UnityMusicLensAlbum * _tmp75_
const gchar * _tmp76_
const gchar * _tmp77_
UnityMusicLensAlbum * _tmp78_
const gchar * _tmp79_
GFileInputStream * _tmp7_
const gchar * _tmp80_
UnityMusicLensAlbum * _tmp81_
const gchar * _tmp82_
const gchar * _tmp83_
UnityMusicLensAlbum * _tmp84_
const gchar * _tmp85_
const gchar * _tmp86_
UnityMusicLensAlbum * _tmp87_
const gchar * _tmp88_
const gchar * _tmp89_
GDataInputStream * _tmp8_
GFile * _tmp90_
gchar * _tmp91_
gchar * _tmp92_
GTimer * _tmp93_
gdouble _tmp94_
DeeModel * _tmp95_
guint _tmp96_
GFile * _tmp97_
gchar * _tmp98_
gchar * _tmp99_
JsonParser * _tmp9_
UnityMusicLensAlbum * album
GCancellable * cancellable
GDataInputStream * dis
GError * e
GFile * file
DeeModel * model
JsonParser * parser
JsonNode * r
GList * r_collection
GList * r_it
JsonObject * result_obj
JsonObject * root_object
UnityMusicLensMusicStoreCollection * self
GFileInputStream * stream
GTimer * timer
UnityMusicLensTrack * track
gchar * type
struct _UnityMusicLensMusicStoreFilterParserIface

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

Class Members
GTypeInterface parent_iface

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 44 of file musicstore-collection.c.

#define __vala_JsonObject_free0 (   var)    ((var == NULL) ? NULL : (var = (_vala_JsonObject_free (var), NULL)))

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

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

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

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

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

#define _g_list_free0 (   var)    ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))

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

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

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

#define _g_string_free0 (   var)    ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))

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

#define _g_timer_destroy0 (   var)    ((var == NULL) ? NULL : (var = (g_timer_destroy (var), NULL)))

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

#define UNITY_MUSIC_LENS_ALBUM (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_ALBUM, UnityMusicLensAlbum))

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

#define UNITY_MUSIC_LENS_ALBUM_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_ALBUM, UnityMusicLensAlbumClass))

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

#define UNITY_MUSIC_LENS_ALBUM_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_ALBUM, UnityMusicLensAlbumClass))

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

#define UNITY_MUSIC_LENS_DECADE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, UnityMusicLensDecadeFilterParser))

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

#define UNITY_MUSIC_LENS_DECADE_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, UnityMusicLensDecadeFilterParserClass))

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

#define UNITY_MUSIC_LENS_DECADE_FILTER_PARSER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, UnityMusicLensDecadeFilterParserClass))

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

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

Definition at line 47 of file musicstore-collection.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 48 of file musicstore-collection.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 51 of file musicstore-collection.c.

#define UNITY_MUSIC_LENS_GENRE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParser))

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

#define UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParserClass))

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

#define UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParserClass))

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

#define UNITY_MUSIC_LENS_IS_ALBUM (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_ALBUM))

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

#define UNITY_MUSIC_LENS_IS_ALBUM_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_ALBUM))

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

#define UNITY_MUSIC_LENS_IS_DECADE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER))

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

#define UNITY_MUSIC_LENS_IS_DECADE_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER))

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

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

Definition at line 49 of file musicstore-collection.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 50 of file musicstore-collection.c.

#define UNITY_MUSIC_LENS_IS_GENRE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER))

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

#define UNITY_MUSIC_LENS_IS_GENRE_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER))

Definition at line 95 of file musicstore-collection.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 36 of file musicstore-collection.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 37 of file musicstore-collection.c.

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

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

#define UNITY_MUSIC_LENS_IS_MUSIC_STORE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER))

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

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

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

#define UNITY_MUSIC_LENS_IS_TRACK (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_TRACK))

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

#define UNITY_MUSIC_LENS_IS_TRACK_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_TRACK))

Definition at line 62 of file musicstore-collection.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 34 of file musicstore-collection.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 35 of file musicstore-collection.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 38 of file musicstore-collection.c.

#define UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_MUSICSTORE_BASE_URI   "http://musicsearch.ubuntu.com/v1/"

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_DECADE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER, UnityMusicLensMusicStoreDecadeFilterParser))

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_DECADE_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER, UnityMusicLensMusicStoreDecadeFilterParserClass))

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_DECADE_FILTER_PARSER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_DECADE_FILTER_PARSER, UnityMusicLensMusicStoreDecadeFilterParserClass))

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER, UnityMusicLensMusicStoreFilterParser))

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_FILTER_PARSER_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER, UnityMusicLensMusicStoreFilterParserIface))

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_GENRE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER, UnityMusicLensMusicStoreGenreFilterParser))

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_GENRE_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER, UnityMusicLensMusicStoreGenreFilterParserClass))

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

#define UNITY_MUSIC_LENS_MUSIC_STORE_GENRE_FILTER_PARSER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_GENRE_FILTER_PARSER, UnityMusicLensMusicStoreGenreFilterParserClass))

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

#define UNITY_MUSIC_LENS_TRACK (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrack))

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

#define UNITY_MUSIC_LENS_TRACK_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrackClass))

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

#define UNITY_MUSIC_LENS_TRACK_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrackClass))

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

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

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

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

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

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

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

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

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

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


Typedef Documentation

typedef struct _UnityMusicLensAlbum

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

typedef struct _UnityMusicLensAlbumClass

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

typedef struct _UnityMusicLensTrack

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

typedef struct _UnityMusicLensTrackClass

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


Function Documentation

static gpointer __vala_JsonObject_copy0 ( gpointer  self) [static]

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _g_list_free__g_object_unref0_ ( GList *  self) [static]

Definition at line 382 of file musicstore-collection.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 399 of file musicstore-collection.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 377 of file musicstore-collection.c.

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

Here is the caller graph for this function:

static JsonObject* _vala_JsonObject_copy ( JsonObject *  self) [static]

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

                                                            {
       return g_boxed_copy (json_object_get_type (), self);
}

Here is the caller graph for this function:

static void _vala_JsonObject_free ( JsonObject *  self) [static]

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

                                                     {
       g_boxed_free (json_object_get_type (), self);
}
static gchar* string_strip ( const gchar *  self) [static]

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

                                               {
       gchar* result = NULL;
       gchar* _tmp0_ = NULL;
       gchar* _result_;
       const gchar* _tmp1_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = g_strdup (self);
       _result_ = _tmp0_;
       _tmp1_ = _result_;
       g_strstrip (_tmp1_);
       result = _result_;
       return result;
}

Here is the caller graph for this function:

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

                                                                                                          {
       UnityMusicLensMusicStoreCollection * self = NULL;
       self = (UnityMusicLensMusicStoreCollection*) g_object_new (object_type, NULL);
       return self;
}
static gchar* unity_music_lens_music_store_collection_build_search_uri ( UnityMusicLensMusicStoreCollection *  self,
const gchar *  query,
GList *  filters 
) [static]

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

                                                                                                                                                      {
       gchar* result = NULL;
       const gchar* _tmp0_;
       gchar* _tmp1_ = NULL;
       gchar* _tmp2_;
       gboolean _tmp3_;
       UnityMusicLensMusicStoreFilterParser* store_parser = NULL;
       gchar* _tmp4_;
       gchar* musicstore_base_uri;
       const gchar* _tmp5_ = NULL;
       const gchar* _tmp8_;
       const gchar* _tmp9_;
       GString* _tmp10_;
       GString* uri;
       GString* _tmp11_;
       GString* _tmp12_;
       const gchar* _tmp13_;
       gchar* _tmp14_ = NULL;
       gchar* _tmp15_;
       GList* _tmp16_;
       GString* _tmp28_;
       GString* _tmp29_;
       const gchar* _tmp30_;
       gchar* _tmp31_;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (query != NULL, NULL);
       _tmp0_ = query;
       _tmp1_ = string_strip (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp3_ = g_strcmp0 (_tmp2_, "") == 0;
       _g_free0 (_tmp2_);
       if (_tmp3_) {
              result = NULL;
              return result;
       }
       _tmp4_ = g_strdup (UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_MUSICSTORE_BASE_URI);
       musicstore_base_uri = _tmp4_;
       _tmp5_ = g_getenv ("MUSICSTORE_URI");
       if (_tmp5_ != NULL) {
              const gchar* _tmp6_ = NULL;
              gchar* _tmp7_;
              _tmp6_ = g_getenv ("MUSICSTORE_URI");
              _tmp7_ = g_strdup (_tmp6_);
              _g_free0 (musicstore_base_uri);
              musicstore_base_uri = _tmp7_;
       }
       _tmp8_ = musicstore_base_uri;
       g_debug ("musicstore-collection.vala:102: Using base URI of '%s'", _tmp8_);
       _tmp9_ = musicstore_base_uri;
       _tmp10_ = g_string_new (_tmp9_);
       uri = _tmp10_;
       _tmp11_ = uri;
       g_string_append (_tmp11_, "search?q=");
       _tmp12_ = uri;
       _tmp13_ = query;
       _tmp14_ = g_uri_escape_string (_tmp13_, "", FALSE);
       _tmp15_ = _tmp14_;
       g_string_append (_tmp12_, _tmp15_);
       _g_free0 (_tmp15_);
       _tmp16_ = filters;
       {
              GList* parser_collection = NULL;
              GList* parser_it = NULL;
              parser_collection = _tmp16_;
              for (parser_it = parser_collection; parser_it != NULL; parser_it = parser_it->next) {
                     UnityMusicLensFilterParser* _tmp17_;
                     UnityMusicLensFilterParser* parser = NULL;
                     _tmp17_ = _g_object_ref0 ((UnityMusicLensFilterParser*) parser_it->data);
                     parser = _tmp17_;
                     {
                            UnityMusicLensFilterParser* _tmp18_;
                            GString* _tmp24_;
                            UnityMusicLensMusicStoreFilterParser* _tmp25_;
                            gchar* _tmp26_ = NULL;
                            gchar* _tmp27_;
                            _tmp18_ = parser;
                            if (UNITY_MUSIC_LENS_IS_GENRE_FILTER_PARSER (_tmp18_)) {
                                   UnityMusicLensFilterParser* _tmp19_;
                                   UnityMusicLensMusicStoreGenreFilterParser* _tmp20_;
                                   _tmp19_ = parser;
                                   _tmp20_ = unity_music_lens_music_store_genre_filter_parser_new (UNITY_MUSIC_LENS_IS_GENRE_FILTER_PARSER (_tmp19_) ? ((UnityMusicLensGenreFilterParser*) _tmp19_) : NULL);
                                   _g_object_unref0 (store_parser);
                                   store_parser = (UnityMusicLensMusicStoreFilterParser*) _tmp20_;
                            } else {
                                   UnityMusicLensFilterParser* _tmp21_;
                                   _tmp21_ = parser;
                                   if (UNITY_MUSIC_LENS_IS_DECADE_FILTER_PARSER (_tmp21_)) {
                                          UnityMusicLensFilterParser* _tmp22_;
                                          UnityMusicLensMusicStoreDecadeFilterParser* _tmp23_;
                                          _tmp22_ = parser;
                                          _tmp23_ = unity_music_lens_music_store_decade_filter_parser_new (UNITY_MUSIC_LENS_IS_DECADE_FILTER_PARSER (_tmp22_) ? ((UnityMusicLensDecadeFilterParser*) _tmp22_) : NULL);
                                          _g_object_unref0 (store_parser);
                                          store_parser = (UnityMusicLensMusicStoreFilterParser*) _tmp23_;
                                   } else {
                                          _g_object_unref0 (parser);
                                          continue;
                                   }
                            }
                            _tmp24_ = uri;
                            _tmp25_ = store_parser;
                            _tmp26_ = unity_music_lens_filter_parser_parse ((UnityMusicLensFilterParser*) _tmp25_);
                            _tmp27_ = _tmp26_;
                            g_string_append (_tmp24_, _tmp27_);
                            _g_free0 (_tmp27_);
                            _g_object_unref0 (parser);
                     }
              }
       }
       _tmp28_ = uri;
       g_string_append (_tmp28_, "&pagesize=10");
       _tmp29_ = uri;
       _tmp30_ = _tmp29_->str;
       _tmp31_ = g_strdup (_tmp30_);
       result = _tmp31_;
       _g_string_free0 (uri);
       _g_free0 (musicstore_base_uri);
       _g_object_unref0 (store_parser);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_music_lens_music_store_collection_class_init ( UnityMusicLensMusicStoreCollectionClass *  klass) [static]

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

                                                                                                                 {
       unity_music_lens_music_store_collection_parent_class = g_type_class_peek_parent (klass);
}
UnityMusicLensMusicStoreCollection* unity_music_lens_music_store_collection_construct ( GType  object_type)

Here is the caller graph for this function:

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

      {
       UNITY_MUSIC_LENS_MUSIC_STORE_COLLECTION_DUMMY_PROPERTY
};
static void unity_music_lens_music_store_collection_instance_init ( UnityMusicLensMusicStoreCollection *  self) [static]

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

                                                                                                              {
}
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:

static void unity_music_lens_music_store_collection_read_musicstore_search_result_async ( UnityMusicLensMusicStoreCollection *  self,
GFile *  file,
DeeModel *  model,
GCancellable *  cancellable,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

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

                                                                                                                                                                                                                                                  {
       UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData* _data_;
       UnityMusicLensMusicStoreCollection* _tmp0_;
       GFile* _tmp1_;
       GFile* _tmp2_;
       DeeModel* _tmp3_;
       DeeModel* _tmp4_;
       GCancellable* _tmp5_;
       GCancellable* _tmp6_;
       _data_ = g_slice_new0 (UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_music_lens_music_store_collection_read_musicstore_search_result_async);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_music_lens_music_store_collection_read_musicstore_search_result_async_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = file;
       _tmp2_ = _g_object_ref0 (_tmp1_);
       _data_->file = _tmp2_;
       _tmp3_ = model;
       _tmp4_ = _g_object_ref0 (_tmp3_);
       _data_->model = _tmp4_;
       _tmp5_ = cancellable;
       _tmp6_ = _g_object_ref0 (_tmp5_);
       _data_->cancellable = _tmp6_;
       unity_music_lens_music_store_collection_read_musicstore_search_result_async_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_collection_read_musicstore_search_result_async_co ( UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData *  _data_) [static]

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

                                                                                                                                                                               {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              case 2:
              goto _state_2;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = g_timer_new ();
       _data_->timer = _data_->_tmp0_;
       _data_->_tmp1_ = _data_->file;
       _data_->_tmp2_ = NULL;
       _data_->_tmp2_ = g_file_get_uri (_data_->_tmp1_);
       _data_->_tmp3_ = _data_->_tmp2_;
       g_debug ("musicstore-collection.vala:50: Searching %s", _data_->_tmp3_);
       _g_free0 (_data_->_tmp3_);
       {
              _data_->_tmp4_ = _data_->file;
              _data_->_tmp5_ = _data_->cancellable;
              _data_->_state_ = 1;
              g_file_read_async (_data_->_tmp4_, G_PRIORITY_DEFAULT, _data_->_tmp5_, unity_music_lens_music_store_collection_read_musicstore_search_result_async_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp6_ = NULL;
              _data_->_tmp6_ = g_file_read_finish (_data_->_tmp4_, _data_->_res_, &_data_->_inner_error_);
              _data_->stream = _data_->_tmp6_;
              if (_data_->_inner_error_ != NULL) {
                     goto __catch0_g_error;
              }
              _data_->_tmp7_ = _data_->stream;
              _data_->_tmp8_ = g_data_input_stream_new ((GInputStream*) _data_->_tmp7_);
              _data_->dis = _data_->_tmp8_;
              _data_->_tmp9_ = json_parser_new ();
              _data_->parser = _data_->_tmp9_;
              _data_->_tmp10_ = _data_->parser;
              _data_->_tmp11_ = _data_->dis;
              _data_->_tmp12_ = _data_->cancellable;
              _data_->_state_ = 2;
              json_parser_load_from_stream_async (_data_->_tmp10_, (GInputStream*) _data_->_tmp11_, _data_->_tmp12_, unity_music_lens_music_store_collection_read_musicstore_search_result_async_ready, _data_);
              return FALSE;
              _state_2:
              json_parser_load_from_stream_finish (_data_->_tmp10_, _data_->_res_, &_data_->_inner_error_);
              if (_data_->_inner_error_ != NULL) {
                     _g_object_unref0 (_data_->parser);
                     _g_object_unref0 (_data_->dis);
                     _g_object_unref0 (_data_->stream);
                     goto __catch0_g_error;
              }
              _data_->_tmp13_ = _data_->parser;
              _data_->_tmp14_ = NULL;
              _data_->_tmp14_ = json_parser_get_root (_data_->_tmp13_);
              _data_->_tmp15_ = NULL;
              _data_->_tmp15_ = json_node_get_object (_data_->_tmp14_);
              _data_->_tmp16_ = __vala_JsonObject_copy0 (_data_->_tmp15_);
              _data_->root_object = _data_->_tmp16_;
              _data_->_tmp17_ = _data_->root_object;
              _data_->_tmp18_ = NULL;
              _data_->_tmp18_ = json_object_get_array_member (_data_->_tmp17_, "results");
              _data_->_tmp19_ = NULL;
              _data_->_tmp19_ = json_array_get_elements (_data_->_tmp18_);
              {
                     _data_->r_collection = _data_->_tmp19_;
                     _data_->r_it = NULL;
                     for (_data_->r_it = _data_->r_collection; _data_->r_it != NULL; _data_->r_it = _data_->r_it->next) {
                            _data_->r = (JsonNode*) _data_->r_it->data;
                            {
                                   _data_->_tmp20_ = _data_->r;
                                   _data_->_tmp21_ = NULL;
                                   _data_->_tmp21_ = json_node_get_object (_data_->_tmp20_);
                                   _data_->_tmp22_ = __vala_JsonObject_copy0 (_data_->_tmp21_);
                                   _data_->result_obj = _data_->_tmp22_;
                                   _data_->_tmp23_ = _data_->result_obj;
                                   _data_->_tmp24_ = NULL;
                                   _data_->_tmp24_ = json_object_get_string_member (_data_->_tmp23_, "type");
                                   _data_->_tmp25_ = g_strdup (_data_->_tmp24_);
                                   _data_->type = _data_->_tmp25_;
                                   _data_->_tmp26_ = _data_->type;
                                   if (g_strcmp0 (_data_->_tmp26_, "track") == 0) {
                                          _data_->_tmp27_ = unity_music_lens_track_new ();
                                          _data_->track = _data_->_tmp27_;
                                          _data_->_tmp28_ = _data_->track;
                                          _data_->_tmp29_ = _data_->result_obj;
                                          _data_->_tmp30_ = NULL;
                                          _data_->_tmp30_ = json_object_get_string_member (_data_->_tmp29_, "title");
                                          unity_music_lens_track_set_title (_data_->_tmp28_, _data_->_tmp30_);
                                          _data_->_tmp31_ = _data_->track;
                                          _data_->_tmp32_ = _data_->result_obj;
                                          _data_->_tmp33_ = NULL;
                                          _data_->_tmp33_ = json_object_get_string_member (_data_->_tmp32_, "artist");
                                          unity_music_lens_track_set_artist (_data_->_tmp31_, _data_->_tmp33_);
                                          _data_->_tmp34_ = _data_->track;
                                          _data_->_tmp35_ = _data_->result_obj;
                                          _data_->_tmp36_ = NULL;
                                          _data_->_tmp36_ = json_object_get_string_member (_data_->_tmp35_, "purchase_url");
                                          unity_music_lens_track_set_uri (_data_->_tmp34_, _data_->_tmp36_);
                                          _data_->_tmp37_ = _data_->track;
                                          _data_->_tmp38_ = _data_->result_obj;
                                          _data_->_tmp39_ = NULL;
                                          _data_->_tmp39_ = json_object_get_string_member (_data_->_tmp38_, "image");
                                          unity_music_lens_track_set_artwork_path (_data_->_tmp37_, _data_->_tmp39_);
                                          _data_->_tmp40_ = _data_->track;
                                          unity_music_lens_track_set_mime_type (_data_->_tmp40_, "audio-x-generic");
                                          _data_->_tmp41_ = _data_->model;
                                          _data_->_tmp42_ = _data_->track;
                                          _data_->_tmp43_ = unity_music_lens_track_get_uri (_data_->_tmp42_);
                                          _data_->_tmp44_ = _data_->_tmp43_;
                                          _data_->_tmp45_ = _data_->track;
                                          _data_->_tmp46_ = unity_music_lens_track_get_artwork_path (_data_->_tmp45_);
                                          _data_->_tmp47_ = _data_->_tmp46_;
                                          _data_->_tmp48_ = _data_->track;
                                          _data_->_tmp49_ = unity_music_lens_track_get_mime_type (_data_->_tmp48_);
                                          _data_->_tmp50_ = _data_->_tmp49_;
                                          _data_->_tmp51_ = _data_->track;
                                          _data_->_tmp52_ = unity_music_lens_track_get_title (_data_->_tmp51_);
                                          _data_->_tmp53_ = _data_->_tmp52_;
                                          _data_->_tmp54_ = _data_->track;
                                          _data_->_tmp55_ = unity_music_lens_track_get_artist (_data_->_tmp54_);
                                          _data_->_tmp56_ = _data_->_tmp55_;
                                          _data_->_tmp57_ = _data_->track;
                                          _data_->_tmp58_ = unity_music_lens_track_get_uri (_data_->_tmp57_);
                                          _data_->_tmp59_ = _data_->_tmp58_;
                                          dee_model_append (_data_->_tmp41_, _data_->_tmp44_, _data_->_tmp47_, 2, _data_->_tmp50_, _data_->_tmp53_, _data_->_tmp56_, _data_->_tmp59_, NULL);
                                          _g_object_unref0 (_data_->track);
                                   } else {
                                          _data_->_tmp60_ = _data_->type;
                                          if (g_strcmp0 (_data_->_tmp60_, "album") == 0) {
                                                 _data_->_tmp61_ = unity_music_lens_album_new ();
                                                 _data_->album = _data_->_tmp61_;
                                                 _data_->_tmp62_ = _data_->album;
                                                 _data_->_tmp63_ = _data_->result_obj;
                                                 _data_->_tmp64_ = NULL;
                                                 _data_->_tmp64_ = json_object_get_string_member (_data_->_tmp63_, "title");
                                                 unity_music_lens_album_set_title (_data_->_tmp62_, _data_->_tmp64_);
                                                 _data_->_tmp65_ = _data_->album;
                                                 _data_->_tmp66_ = _data_->result_obj;
                                                 _data_->_tmp67_ = NULL;
                                                 _data_->_tmp67_ = json_object_get_string_member (_data_->_tmp66_, "artist");
                                                 unity_music_lens_album_set_artist (_data_->_tmp65_, _data_->_tmp67_);
                                                 _data_->_tmp68_ = _data_->album;
                                                 _data_->_tmp69_ = _data_->result_obj;
                                                 _data_->_tmp70_ = NULL;
                                                 _data_->_tmp70_ = json_object_get_string_member (_data_->_tmp69_, "purchase_url");
                                                 unity_music_lens_album_set_uri (_data_->_tmp68_, _data_->_tmp70_);
                                                 _data_->_tmp71_ = _data_->album;
                                                 _data_->_tmp72_ = _data_->result_obj;
                                                 _data_->_tmp73_ = NULL;
                                                 _data_->_tmp73_ = json_object_get_string_member (_data_->_tmp72_, "image");
                                                 unity_music_lens_album_set_artwork_path (_data_->_tmp71_, _data_->_tmp73_);
                                                 _data_->_tmp74_ = _data_->model;
                                                 _data_->_tmp75_ = _data_->album;
                                                 _data_->_tmp76_ = unity_music_lens_album_get_uri (_data_->_tmp75_);
                                                 _data_->_tmp77_ = _data_->_tmp76_;
                                                 _data_->_tmp78_ = _data_->album;
                                                 _data_->_tmp79_ = unity_music_lens_album_get_artwork_path (_data_->_tmp78_);
                                                 _data_->_tmp80_ = _data_->_tmp79_;
                                                 _data_->_tmp81_ = _data_->album;
                                                 _data_->_tmp82_ = unity_music_lens_album_get_title (_data_->_tmp81_);
                                                 _data_->_tmp83_ = _data_->_tmp82_;
                                                 _data_->_tmp84_ = _data_->album;
                                                 _data_->_tmp85_ = unity_music_lens_album_get_artist (_data_->_tmp84_);
                                                 _data_->_tmp86_ = _data_->_tmp85_;
                                                 _data_->_tmp87_ = _data_->album;
                                                 _data_->_tmp88_ = unity_music_lens_album_get_uri (_data_->_tmp87_);
                                                 _data_->_tmp89_ = _data_->_tmp88_;
                                                 dee_model_append (_data_->_tmp74_, _data_->_tmp77_, _data_->_tmp80_, 2, "audio-x-generic", _data_->_tmp83_, _data_->_tmp86_, _data_->_tmp89_, NULL);
                                                 _g_object_unref0 (_data_->album);
                                          }
                                   }
                                   _g_free0 (_data_->type);
                                   __vala_JsonObject_free0 (_data_->result_obj);
                            }
                     }
                     _g_list_free0 (_data_->r_collection);
              }
              _data_->_tmp90_ = _data_->file;
              _data_->_tmp91_ = NULL;
              _data_->_tmp91_ = g_file_get_uri (_data_->_tmp90_);
              _data_->_tmp92_ = _data_->_tmp91_;
              _data_->_tmp93_ = _data_->timer;
              _data_->_tmp94_ = 0.0;
              _data_->_tmp94_ = g_timer_elapsed (_data_->_tmp93_, NULL);
              g_debug ("musicstore-collection.vala:85: Retrieved '%s' in %fms", _data_->_tmp92_, _data_->_tmp94_ * 1000);
              _g_free0 (_data_->_tmp92_);
              _data_->_tmp95_ = _data_->model;
              _data_->_tmp96_ = 0U;
              _data_->_tmp96_ = dee_model_get_n_rows (_data_->_tmp95_);
              g_debug ("musicstore-collection.vala:86: model has %u rows after search", _data_->_tmp96_);
              __vala_JsonObject_free0 (_data_->root_object);
              _g_object_unref0 (_data_->parser);
              _g_object_unref0 (_data_->dis);
              _g_object_unref0 (_data_->stream);
       }
       goto __finally0;
       __catch0_g_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _data_->_tmp97_ = _data_->file;
              _data_->_tmp98_ = NULL;
              _data_->_tmp98_ = g_file_get_uri (_data_->_tmp97_);
              _data_->_tmp99_ = _data_->_tmp98_;
              _data_->_tmp100_ = _data_->e;
              _data_->_tmp101_ = _data_->_tmp100_->message;
              g_warning ("musicstore-collection.vala:89: Error reading URL '%s': %s", _data_->_tmp99_, _data_->_tmp101_);
              _g_free0 (_data_->_tmp99_);
              _g_error_free0 (_data_->e);
       }
       __finally0:
       if (_data_->_inner_error_ != NULL) {
              _g_timer_destroy0 (_data_->timer);
              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_timer_destroy0 (_data_->timer);
       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 514 of file musicstore-collection.c.

                                                                                                                   {
       UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->file);
       _g_object_unref0 (_data_->model);
       _g_object_unref0 (_data_->cancellable);
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData, _data_);
}

Here is the caller graph for this function:

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

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

                                                                                                                                                                  {
       UnityMusicLensMusicStoreCollectionReadMusicstoreSearchResultAsyncData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_music_lens_music_store_collection_read_musicstore_search_result_async_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_music_lens_music_store_collection_read_musicstore_search_result_finish ( UnityMusicLensMusicStoreCollection *  self,
GAsyncResult *  _res_ 
) [static]

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

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

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:

static gboolean unity_music_lens_music_store_collection_search_co ( UnityMusicLensMusicStoreCollectionSearchData *  _data_) [static]

Definition at line 454 of file musicstore-collection.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_ = unity_lens_search_get_search_string (_data_->_tmp0_);
       _data_->_tmp2_ = _data_->_tmp1_;
       _data_->_tmp3_ = _data_->filters;
       _data_->_tmp4_ = NULL;
       _data_->_tmp4_ = unity_music_lens_music_store_collection_build_search_uri (_data_->self, _data_->_tmp2_, _data_->_tmp3_);
       _data_->uri = _data_->_tmp4_;
       _data_->_tmp5_ = _data_->uri;
       if (_data_->_tmp5_ == NULL) {
              _g_free0 (_data_->uri);
              __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_->_tmp6_ = _data_->search;
       _data_->_tmp7_ = unity_lens_search_get_results_model (_data_->_tmp6_);
       _data_->_tmp8_ = _data_->_tmp7_;
       _data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
       _data_->results_model = _data_->_tmp9_;
       _data_->_tmp10_ = _data_->uri;
       _data_->_tmp11_ = NULL;
       _data_->_tmp11_ = g_file_new_for_uri (_data_->_tmp10_);
       _data_->file = _data_->_tmp11_;
       _data_->_tmp12_ = _data_->file;
       _data_->_tmp13_ = _data_->results_model;
       _data_->_tmp14_ = _data_->cancellable;
       _data_->_state_ = 1;
       unity_music_lens_music_store_collection_read_musicstore_search_result_async (_data_->self, _data_->_tmp12_, (DeeModel*) _data_->_tmp13_, _data_->_tmp14_, unity_music_lens_music_store_collection_search_ready, _data_);
       return FALSE;
       _state_1:
       unity_music_lens_music_store_collection_read_musicstore_search_result_finish (_data_->self, _data_->_res_);
       _g_object_unref0 (_data_->file);
       _g_object_unref0 (_data_->results_model);
       _g_free0 (_data_->uri);
       __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:

static void unity_music_lens_music_store_collection_search_data_free ( gpointer  _data) [static]

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

                                                                                      {
       UnityMusicLensMusicStoreCollectionSearchData* _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 (UnityMusicLensMusicStoreCollectionSearchData, _data_);
}

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:

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

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

                                                                                                                                     {
       UnityMusicLensMusicStoreCollectionSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       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:


Variable Documentation

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