Back to index

unity-lens-music  6.0.0
Classes | Defines | Typedefs | Functions | Variables
musicstore-filter-parser-decade.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <unity.h>

Go to the source code of this file.

Classes

struct  _UnityMusicLensFilterParser
struct  _UnityMusicLensFilterParserClass
struct  _UnityMusicLensDecadeFilterParser
struct  _UnityMusicLensDecadeFilterParserClass
struct  _UnityMusicLensMusicStoreFilterParserIface
struct  _UnityMusicLensMusicStoreDecadeFilterParser
struct  _UnityMusicLensMusicStoreDecadeFilterParserClass

Defines

#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_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_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_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_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_string_free0(var)   ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))

Typedefs

typedef struct _UnityMusicLensFilterParser
typedef struct _UnityMusicLensFilterParserClass
typedef struct _UnityMusicLensFilterParserPrivate
typedef struct _UnityMusicLensDecadeFilterParser
typedef struct _UnityMusicLensDecadeFilterParserClass
typedef struct _UnityMusicLensDecadeFilterParserPrivate
typedef struct _UnityMusicLensMusicStoreFilterParser
typedef struct _UnityMusicLensMusicStoreFilterParserIface
typedef struct _UnityMusicLensMusicStoreDecadeFilterParser
typedef struct _UnityMusicLensMusicStoreDecadeFilterParserClass
typedef struct _UnityMusicLensMusicStoreDecadeFilterParserPrivate

Functions

GType unity_music_lens_filter_parser_get_type (void)
UnityMusicLensMusicStoreDecadeFilterParser * unity_music_lens_music_store_decade_filter_parser_new (UnityMusicLensDecadeFilterParser *parser)
UnityMusicLensMusicStoreDecadeFilterParser * unity_music_lens_music_store_decade_filter_parser_construct (GType object_type, UnityMusicLensDecadeFilterParser *parser)
UnityFilter * unity_music_lens_filter_parser_get_filter (UnityMusicLensFilterParser *self)
UnityMusicLensDecadeFilterParser * unity_music_lens_decade_filter_parser_new (UnityMultiRangeFilter *filter)
UnityMusicLensDecadeFilterParser * unity_music_lens_decade_filter_parser_construct (GType object_type, UnityMultiRangeFilter *filter)
static gchar * unity_music_lens_music_store_decade_filter_parser_real_parse (UnityMusicLensFilterParser *base)
static gpointer _g_object_ref0 (gpointer self)
static void unity_music_lens_music_store_decade_filter_parser_class_init (UnityMusicLensMusicStoreDecadeFilterParserClass *klass)
static void unity_music_lens_music_store_decade_filter_parser_unity_music_lens_music_store_filter_parser_interface_init (UnityMusicLensMusicStoreFilterParserIface *iface)
static void unity_music_lens_music_store_decade_filter_parser_instance_init (UnityMusicLensMusicStoreDecadeFilterParser *self)
GType unity_music_lens_music_store_decade_filter_parser_get_type (void)

Variables

static gpointer unity_music_lens_music_store_decade_filter_parser_parent_class = NULL
static
UnityMusicLensMusicStoreFilterParserIface * 
unity_music_lens_music_store_decade_filter_parser_unity_music_lens_music_store_filter_parser_parent_iface = NULL

Class Documentation

struct _UnityMusicLensFilterParser

Definition at line 72 of file banshee-filter-parser-decade.c.

Class Members
GObject parent_instance
UnityMusicLensFilterParserPrivate * priv
struct _UnityMusicLensDecadeFilterParser

Definition at line 83 of file banshee-filter-parser-decade.c.

Class Members
UnityMusicLensFilterParser parent_instance
UnityMusicLensDecadeFilterParserPrivate * priv
struct _UnityMusicLensDecadeFilterParserClass

Definition at line 88 of file banshee-filter-parser-decade.c.

Class Members
UnityMusicLensFilterParserClass parent_class
struct _UnityMusicLensMusicStoreFilterParserIface

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

Class Members
GTypeInterface parent_iface
struct _UnityMusicLensMusicStoreDecadeFilterParser

Definition at line 98 of file musicstore-filter-parser-decade.c.

Class Members
UnityMusicLensDecadeFilterParser parent_instance
UnityMusicLensMusicStoreDecadeFilterParserPrivate * priv
struct _UnityMusicLensMusicStoreDecadeFilterParserClass

Definition at line 103 of file musicstore-filter-parser-decade.c.

Class Members
UnityMusicLensDecadeFilterParserClass parent_class

Define Documentation

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

Definition at line 71 of file musicstore-filter-parser-decade.c.

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

Definition at line 70 of file musicstore-filter-parser-decade.c.

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

Definition at line 72 of file musicstore-filter-parser-decade.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 42 of file musicstore-filter-parser-decade.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 43 of file musicstore-filter-parser-decade.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 46 of file musicstore-filter-parser-decade.c.

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

Definition at line 31 of file musicstore-filter-parser-decade.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 32 of file musicstore-filter-parser-decade.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 35 of file musicstore-filter-parser-decade.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 44 of file musicstore-filter-parser-decade.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 45 of file musicstore-filter-parser-decade.c.

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

Definition at line 33 of file musicstore-filter-parser-decade.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 34 of file musicstore-filter-parser-decade.c.

Definition at line 63 of file musicstore-filter-parser-decade.c.

Definition at line 64 of file musicstore-filter-parser-decade.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 54 of file musicstore-filter-parser-decade.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 61 of file musicstore-filter-parser-decade.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 62 of file musicstore-filter-parser-decade.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 65 of file musicstore-filter-parser-decade.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 53 of file musicstore-filter-parser-decade.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 55 of file musicstore-filter-parser-decade.c.

Definition at line 41 of file musicstore-filter-parser-decade.c.

Definition at line 30 of file musicstore-filter-parser-decade.c.

Definition at line 60 of file musicstore-filter-parser-decade.c.

Definition at line 52 of file musicstore-filter-parser-decade.c.


Typedef Documentation

Definition at line 48 of file musicstore-filter-parser-decade.c.

Definition at line 49 of file musicstore-filter-parser-decade.c.

Definition at line 50 of file musicstore-filter-parser-decade.c.

Definition at line 37 of file musicstore-filter-parser-decade.c.

Definition at line 38 of file musicstore-filter-parser-decade.c.

Definition at line 39 of file musicstore-filter-parser-decade.c.

Definition at line 67 of file musicstore-filter-parser-decade.c.

Definition at line 68 of file musicstore-filter-parser-decade.c.

Definition at line 69 of file musicstore-filter-parser-decade.c.

Definition at line 57 of file musicstore-filter-parser-decade.c.

Definition at line 58 of file musicstore-filter-parser-decade.c.


Function Documentation

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 145 of file musicstore-filter-parser-decade.c.

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

Here is the caller graph for this function:

UnityMusicLensDecadeFilterParser* unity_music_lens_decade_filter_parser_construct ( GType  object_type,
UnityMultiRangeFilter *  filter 
)

Definition at line 89 of file filter-parser-decade.c.

                                                                                                                                     {
       UnityMusicLensDecadeFilterParser * self = NULL;
       UnityMultiRangeFilter* _tmp0_;
       g_return_val_if_fail (filter != NULL, NULL);
       _tmp0_ = filter;
       self = (UnityMusicLensDecadeFilterParser*) unity_music_lens_filter_parser_construct (object_type, (UnityFilter*) _tmp0_);
       return self;
}

Here is the call graph for this function:

UnityMusicLensDecadeFilterParser* unity_music_lens_decade_filter_parser_new ( UnityMultiRangeFilter *  filter)

Definition at line 99 of file filter-parser-decade.c.

Here is the call graph for this function:

UnityFilter* unity_music_lens_filter_parser_get_filter ( UnityMusicLensFilterParser *  self)

Definition at line 101 of file filter-parser.c.

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

Definition at line 111 of file musicstore-filter-parser-decade.c.

      {
       UNITY_MUSIC_LENS_MUSIC_STORE_DECADE_FILTER_PARSER_DUMMY_PROPERTY
};
static void unity_music_lens_music_store_decade_filter_parser_class_init ( UnityMusicLensMusicStoreDecadeFilterParserClass *  klass) [static]

Definition at line 270 of file musicstore-filter-parser-decade.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensMusicStoreDecadeFilterParser * unity_music_lens_music_store_decade_filter_parser_construct ( GType  object_type,
UnityMusicLensDecadeFilterParser *  parser 
)

Definition at line 126 of file musicstore-filter-parser-decade.c.

                                                                                                                                                                      {
       UnityMusicLensMusicStoreDecadeFilterParser * self = NULL;
       UnityMusicLensDecadeFilterParser* _tmp0_;
       UnityFilter* _tmp1_;
       UnityFilter* _tmp2_;
       g_return_val_if_fail (parser != NULL, NULL);
       _tmp0_ = parser;
       _tmp1_ = unity_music_lens_filter_parser_get_filter ((UnityMusicLensFilterParser*) _tmp0_);
       _tmp2_ = _tmp1_;
       self = (UnityMusicLensMusicStoreDecadeFilterParser*) unity_music_lens_decade_filter_parser_construct (object_type, UNITY_IS_MULTI_RANGE_FILTER (_tmp2_) ? ((UnityMultiRangeFilter*) _tmp2_) : NULL);
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 285 of file musicstore-filter-parser-decade.c.

                                                                        {
       static volatile gsize unity_music_lens_music_store_decade_filter_parser_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_lens_music_store_decade_filter_parser_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensMusicStoreDecadeFilterParserClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_music_lens_music_store_decade_filter_parser_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMusicLensMusicStoreDecadeFilterParser), 0, (GInstanceInitFunc) unity_music_lens_music_store_decade_filter_parser_instance_init, NULL };
              static const GInterfaceInfo unity_music_lens_music_store_filter_parser_info = { (GInterfaceInitFunc) unity_music_lens_music_store_decade_filter_parser_unity_music_lens_music_store_filter_parser_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_music_lens_music_store_decade_filter_parser_type_id;
              unity_music_lens_music_store_decade_filter_parser_type_id = g_type_register_static (UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, "UnityMusicLensMusicStoreDecadeFilterParser", &g_define_type_info, 0);
              g_type_add_interface_static (unity_music_lens_music_store_decade_filter_parser_type_id, UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER, &unity_music_lens_music_store_filter_parser_info);
              g_once_init_leave (&unity_music_lens_music_store_decade_filter_parser_type_id__volatile, unity_music_lens_music_store_decade_filter_parser_type_id);
       }
       return unity_music_lens_music_store_decade_filter_parser_type_id__volatile;
}

Here is the call graph for this function:

static void unity_music_lens_music_store_decade_filter_parser_instance_init ( UnityMusicLensMusicStoreDecadeFilterParser *  self) [static]

Definition at line 281 of file musicstore-filter-parser-decade.c.

                                                                                                                                {
}

Here is the caller graph for this function:

UnityMusicLensMusicStoreDecadeFilterParser * unity_music_lens_music_store_decade_filter_parser_new ( UnityMusicLensDecadeFilterParser *  parser)

Definition at line 140 of file musicstore-filter-parser-decade.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar * unity_music_lens_music_store_decade_filter_parser_real_parse ( UnityMusicLensFilterParser *  base) [static]

Definition at line 150 of file musicstore-filter-parser-decade.c.

                                                                                                              {
       UnityMusicLensMusicStoreDecadeFilterParser * self;
       gchar* result = NULL;
       GString* _tmp0_;
       GString* builder;
       UnityFilter* _tmp1_;
       UnityFilter* _tmp2_;
       UnityMultiRangeFilter* _tmp3_;
       UnityMultiRangeFilter* range_filter;
       UnityMultiRangeFilter* _tmp4_;
       UnityFilterOption* _tmp5_ = NULL;
       UnityFilterOption* _tmp6_;
       const gchar* _tmp7_;
       const gchar* _tmp8_;
       gchar* _tmp9_;
       gchar* _tmp10_;
       gchar* start;
       UnityMultiRangeFilter* _tmp11_;
       UnityFilterOption* _tmp12_ = NULL;
       UnityFilterOption* _tmp13_;
       const gchar* _tmp14_;
       const gchar* _tmp15_;
       gchar* _tmp16_;
       gchar* _tmp17_;
       gchar* end;
       const gchar* _tmp18_;
       gint _tmp19_ = 0;
       gint start_year;
       const gchar* _tmp20_;
       gint _tmp21_ = 0;
       gint end_year;
       gint _tmp22_;
       gint _tmp23_ = 0;
       gint _tmp24_;
       gint _tmp25_ = 0;
       GString* _tmp33_;
       GString* _tmp34_;
       gssize _tmp35_;
       GString* _tmp36_;
       const gchar* _tmp37_;
       gchar* _tmp38_;
       self = (UnityMusicLensMusicStoreDecadeFilterParser*) base;
       _tmp0_ = g_string_new ("&decade=");
       builder = _tmp0_;
       _tmp1_ = unity_music_lens_filter_parser_get_filter ((UnityMusicLensFilterParser*) self);
       _tmp2_ = _tmp1_;
       _tmp3_ = _g_object_ref0 (UNITY_IS_MULTI_RANGE_FILTER (_tmp2_) ? ((UnityMultiRangeFilter*) _tmp2_) : NULL);
       range_filter = _tmp3_;
       _tmp4_ = range_filter;
       _tmp5_ = unity_multi_range_filter_get_first_active (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = unity_filter_option_get_id (_tmp6_);
       _tmp8_ = _tmp7_;
       _tmp9_ = g_strdup (_tmp8_);
       _tmp10_ = _tmp9_;
       _g_object_unref0 (_tmp6_);
       start = _tmp10_;
       _tmp11_ = range_filter;
       _tmp12_ = unity_multi_range_filter_get_last_active (_tmp11_);
       _tmp13_ = _tmp12_;
       _tmp14_ = unity_filter_option_get_id (_tmp13_);
       _tmp15_ = _tmp14_;
       _tmp16_ = g_strdup (_tmp15_);
       _tmp17_ = _tmp16_;
       _g_object_unref0 (_tmp13_);
       end = _tmp17_;
       _tmp18_ = start;
       _tmp19_ = atoi (_tmp18_);
       start_year = _tmp19_;
       _tmp20_ = end;
       _tmp21_ = atoi (_tmp20_);
       end_year = _tmp21_;
       _tmp22_ = start_year;
       _tmp23_ = CLAMP (_tmp22_, 1900, 2020);
       start_year = _tmp23_;
       _tmp24_ = end_year;
       _tmp25_ = CLAMP (_tmp24_, 1900, 2020);
       end_year = _tmp25_;
       {
              gboolean _tmp26_;
              _tmp26_ = TRUE;
              while (TRUE) {
                     gboolean _tmp27_;
                     gint _tmp29_;
                     gint _tmp30_;
                     GString* _tmp31_;
                     gint _tmp32_;
                     _tmp27_ = _tmp26_;
                     if (!_tmp27_) {
                            gint _tmp28_;
                            _tmp28_ = start_year;
                            start_year = _tmp28_ + 10;
                     }
                     _tmp26_ = FALSE;
                     _tmp29_ = start_year;
                     _tmp30_ = end_year;
                     if (!(_tmp29_ <= _tmp30_)) {
                            break;
                     }
                     _tmp31_ = builder;
                     _tmp32_ = start_year;
                     g_string_append_printf (_tmp31_, "%d,", _tmp32_);
              }
       }
       _tmp33_ = builder;
       _tmp34_ = builder;
       _tmp35_ = _tmp34_->len;
       g_string_truncate (_tmp33_, (gsize) (_tmp35_ - 1));
       _tmp36_ = builder;
       _tmp37_ = _tmp36_->str;
       _tmp38_ = g_strdup (_tmp37_);
       result = _tmp38_;
       _g_free0 (end);
       _g_free0 (start);
       _g_object_unref0 (range_filter);
       _g_string_free0 (builder);
       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_decade_filter_parser_unity_music_lens_music_store_filter_parser_interface_init ( UnityMusicLensMusicStoreFilterParserIface *  iface) [static]

Definition at line 276 of file musicstore-filter-parser-decade.c.

Here is the caller graph for this function:


Variable Documentation

Definition at line 108 of file musicstore-filter-parser-decade.c.

Definition at line 109 of file musicstore-filter-parser-decade.c.