Back to index

unity-lens-music  6.0.0
Classes | Defines | Typedefs | Functions | Variables
banshee-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  _UnityMusicLensBansheeFilterParserIface
struct  _UnityMusicLensBansheeDecadeFilterParser
struct  _UnityMusicLensBansheeDecadeFilterParserClass

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_BANSHEE_FILTER_PARSER   (unity_music_lens_banshee_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_BANSHEE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER, UnityMusicLensBansheeFilterParser))
#define UNITY_MUSIC_LENS_IS_BANSHEE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_BANSHEE_FILTER_PARSER_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER, UnityMusicLensBansheeFilterParserIface))
#define UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER   (unity_music_lens_banshee_decade_filter_parser_get_type ())
#define UNITY_MUSIC_LENS_BANSHEE_DECADE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER, UnityMusicLensBansheeDecadeFilterParser))
#define UNITY_MUSIC_LENS_BANSHEE_DECADE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER, UnityMusicLensBansheeDecadeFilterParserClass))
#define UNITY_MUSIC_LENS_IS_BANSHEE_DECADE_FILTER_PARSER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_IS_BANSHEE_DECADE_FILTER_PARSER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER))
#define UNITY_MUSIC_LENS_BANSHEE_DECADE_FILTER_PARSER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER, UnityMusicLensBansheeDecadeFilterParserClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

Typedefs

typedef struct _UnityMusicLensFilterParser
typedef struct _UnityMusicLensFilterParserClass
typedef struct _UnityMusicLensFilterParserPrivate
typedef struct _UnityMusicLensDecadeFilterParser
typedef struct _UnityMusicLensDecadeFilterParserClass
typedef struct _UnityMusicLensDecadeFilterParserPrivate
typedef struct _UnityMusicLensBansheeFilterParser
typedef struct _UnityMusicLensBansheeFilterParserIface
typedef struct _UnityMusicLensBansheeDecadeFilterParser
typedef struct _UnityMusicLensBansheeDecadeFilterParserClass
typedef struct _UnityMusicLensBansheeDecadeFilterParserPrivate

Functions

GType unity_music_lens_filter_parser_get_type (void)
UnityMusicLensBansheeDecadeFilterParser * unity_music_lens_banshee_decade_filter_parser_new (UnityMusicLensDecadeFilterParser *parser)
UnityMusicLensBansheeDecadeFilterParser * unity_music_lens_banshee_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_banshee_decade_filter_parser_real_parse (UnityMusicLensFilterParser *base)
static gpointer _g_object_ref0 (gpointer self)
static void unity_music_lens_banshee_decade_filter_parser_class_init (UnityMusicLensBansheeDecadeFilterParserClass *klass)
static void unity_music_lens_banshee_decade_filter_parser_unity_music_lens_banshee_filter_parser_interface_init (UnityMusicLensBansheeFilterParserIface *iface)
static void unity_music_lens_banshee_decade_filter_parser_instance_init (UnityMusicLensBansheeDecadeFilterParser *self)
GType unity_music_lens_banshee_decade_filter_parser_get_type (void)

Variables

static gpointer unity_music_lens_banshee_decade_filter_parser_parent_class = NULL
static
UnityMusicLensBansheeFilterParserIface * 
unity_music_lens_banshee_decade_filter_parser_unity_music_lens_banshee_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 _UnityMusicLensBansheeFilterParserIface

Definition at line 155 of file banshee-collection.c.

Class Members
GTypeInterface parent_iface
struct _UnityMusicLensBansheeDecadeFilterParser

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

Class Members
UnityMusicLensDecadeFilterParser parent_instance
UnityMusicLensBansheeDecadeFilterParserPrivate * priv
struct _UnityMusicLensBansheeDecadeFilterParserClass

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

Class Members
UnityMusicLensDecadeFilterParserClass parent_class

Define Documentation

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

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

#define UNITY_MUSIC_LENS_BANSHEE_DECADE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER, UnityMusicLensBansheeDecadeFilterParser))

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

#define UNITY_MUSIC_LENS_BANSHEE_DECADE_FILTER_PARSER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER, UnityMusicLensBansheeDecadeFilterParserClass))

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

#define UNITY_MUSIC_LENS_BANSHEE_DECADE_FILTER_PARSER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_DECADE_FILTER_PARSER, UnityMusicLensBansheeDecadeFilterParserClass))

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

#define UNITY_MUSIC_LENS_BANSHEE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER, UnityMusicLensBansheeFilterParser))

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

#define UNITY_MUSIC_LENS_BANSHEE_FILTER_PARSER_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER, UnityMusicLensBansheeFilterParserIface))

Definition at line 55 of file banshee-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 banshee-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 banshee-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 banshee-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 banshee-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 banshee-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 banshee-filter-parser-decade.c.

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

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

#define UNITY_MUSIC_LENS_IS_BANSHEE_FILTER_PARSER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER))

Definition at line 54 of file banshee-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 banshee-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 banshee-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 banshee-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 banshee-filter-parser-decade.c.

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

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

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

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


Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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


Function Documentation

static gpointer _g_object_ref0 ( gpointer  self) [static]

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

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

Here is the caller graph for this function:

static void unity_music_lens_banshee_decade_filter_parser_class_init ( UnityMusicLensBansheeDecadeFilterParserClass *  klass) [static]

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

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensBansheeDecadeFilterParser * unity_music_lens_banshee_decade_filter_parser_construct ( GType  object_type,
UnityMusicLensDecadeFilterParser *  parser 
)

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

                                                                                                                                                               {
       UnityMusicLensBansheeDecadeFilterParser * 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 = (UnityMusicLensBansheeDecadeFilterParser*) 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 260 of file banshee-filter-parser-decade.c.

                                                                    {
       static volatile gsize unity_music_lens_banshee_decade_filter_parser_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_lens_banshee_decade_filter_parser_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensBansheeDecadeFilterParserClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_music_lens_banshee_decade_filter_parser_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMusicLensBansheeDecadeFilterParser), 0, (GInstanceInitFunc) unity_music_lens_banshee_decade_filter_parser_instance_init, NULL };
              static const GInterfaceInfo unity_music_lens_banshee_filter_parser_info = { (GInterfaceInitFunc) unity_music_lens_banshee_decade_filter_parser_unity_music_lens_banshee_filter_parser_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_music_lens_banshee_decade_filter_parser_type_id;
              unity_music_lens_banshee_decade_filter_parser_type_id = g_type_register_static (UNITY_MUSIC_LENS_TYPE_DECADE_FILTER_PARSER, "UnityMusicLensBansheeDecadeFilterParser", &g_define_type_info, 0);
              g_type_add_interface_static (unity_music_lens_banshee_decade_filter_parser_type_id, UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER, &unity_music_lens_banshee_filter_parser_info);
              g_once_init_leave (&unity_music_lens_banshee_decade_filter_parser_type_id__volatile, unity_music_lens_banshee_decade_filter_parser_type_id);
       }
       return unity_music_lens_banshee_decade_filter_parser_type_id__volatile;
}

Here is the call graph for this function:

static void unity_music_lens_banshee_decade_filter_parser_instance_init ( UnityMusicLensBansheeDecadeFilterParser *  self) [static]

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

                                                                                                                         {
}

Here is the caller graph for this function:

UnityMusicLensBansheeDecadeFilterParser * unity_music_lens_banshee_decade_filter_parser_new ( UnityMusicLensDecadeFilterParser *  parser)

Definition at line 138 of file banshee-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_banshee_decade_filter_parser_real_parse ( UnityMusicLensFilterParser *  base) [static]

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

                                                                                                          {
       UnityMusicLensBansheeDecadeFilterParser * self;
       gchar* result = NULL;
       gint start_year = 0;
       gint end_year = 0;
       UnityFilter* _tmp0_;
       UnityFilter* _tmp1_;
       UnityMultiRangeFilter* _tmp2_;
       UnityMultiRangeFilter* range_filter;
       UnityMultiRangeFilter* _tmp3_;
       UnityFilterOption* _tmp4_ = NULL;
       UnityFilterOption* start;
       UnityMultiRangeFilter* _tmp5_;
       UnityFilterOption* _tmp6_ = NULL;
       UnityFilterOption* end;
       UnityFilterOption* _tmp7_;
       const gchar* _tmp8_;
       const gchar* _tmp9_;
       gint _tmp10_ = 0;
       UnityFilterOption* _tmp11_;
       const gchar* _tmp12_;
       const gchar* _tmp13_;
       gint _tmp14_ = 0;
       UnityMultiRangeFilter* _tmp15_;
       GList* _tmp16_;
       UnityFilterOption* _tmp17_;
       gint _tmp18_ = 0;
       gint end_index;
       gint _tmp19_;
       UnityMultiRangeFilter* _tmp20_;
       GList* _tmp21_;
       guint _tmp22_ = 0U;
       gint _tmp31_;
       gint _tmp32_;
       gchar* _tmp33_ = NULL;
       self = (UnityMusicLensBansheeDecadeFilterParser*) base;
       _tmp0_ = unity_music_lens_filter_parser_get_filter ((UnityMusicLensFilterParser*) self);
       _tmp1_ = _tmp0_;
       _tmp2_ = _g_object_ref0 (UNITY_IS_MULTI_RANGE_FILTER (_tmp1_) ? ((UnityMultiRangeFilter*) _tmp1_) : NULL);
       range_filter = _tmp2_;
       _tmp3_ = range_filter;
       _tmp4_ = unity_multi_range_filter_get_first_active (_tmp3_);
       start = _tmp4_;
       _tmp5_ = range_filter;
       _tmp6_ = unity_multi_range_filter_get_last_active (_tmp5_);
       end = _tmp6_;
       _tmp7_ = start;
       _tmp8_ = unity_filter_option_get_id (_tmp7_);
       _tmp9_ = _tmp8_;
       _tmp10_ = atoi (_tmp9_);
       start_year = _tmp10_;
       _tmp11_ = end;
       _tmp12_ = unity_filter_option_get_id (_tmp11_);
       _tmp13_ = _tmp12_;
       _tmp14_ = atoi (_tmp13_);
       end_year = _tmp14_;
       _tmp15_ = range_filter;
       _tmp16_ = ((UnityOptionsFilter*) _tmp15_)->options;
       _tmp17_ = end;
       _tmp18_ = g_list_index (_tmp16_, _tmp17_);
       end_index = _tmp18_;
       _tmp19_ = end_index;
       _tmp20_ = range_filter;
       _tmp21_ = ((UnityOptionsFilter*) _tmp20_)->options;
       _tmp22_ = g_list_length (_tmp21_);
       if (((guint) _tmp19_) == (_tmp22_ - 1)) {
              gint _tmp23_;
              _tmp23_ = end_year;
              end_year = _tmp23_ + 10;
       } else {
              UnityMultiRangeFilter* _tmp24_;
              GList* _tmp25_;
              gint _tmp26_;
              gconstpointer _tmp27_ = NULL;
              const gchar* _tmp28_;
              const gchar* _tmp29_;
              gint _tmp30_ = 0;
              _tmp24_ = range_filter;
              _tmp25_ = ((UnityOptionsFilter*) _tmp24_)->options;
              _tmp26_ = end_index;
              _tmp27_ = g_list_nth_data (_tmp25_, (guint) (_tmp26_ + 1));
              _tmp28_ = unity_filter_option_get_id ((UnityFilterOption*) _tmp27_);
              _tmp29_ = _tmp28_;
              _tmp30_ = atoi (_tmp29_);
              end_year = _tmp30_;
       }
       _tmp31_ = start_year;
       _tmp32_ = end_year;
       _tmp33_ = g_strdup_printf ("(CoreTracks.Year >= %d AND CoreTracks.Year < %d) ", _tmp31_, _tmp32_);
       result = _tmp33_;
       _g_object_unref0 (end);
       _g_object_unref0 (start);
       _g_object_unref0 (range_filter);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_music_lens_banshee_decade_filter_parser_unity_music_lens_banshee_filter_parser_interface_init ( UnityMusicLensBansheeFilterParserIface *  iface) [static]

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

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 caller 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 caller 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;
}

Here is the caller graph for this function:

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

      {
       UNITY_MUSIC_LENS_BANSHEE_DECADE_FILTER_PARSER_DUMMY_PROPERTY
};

Variable Documentation

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

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