Back to index

unity-lens-music  6.0.0
Classes | Defines | Typedefs | Functions | Variables
filter-parser-genre.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  _UnityMusicLensGenreFilterParser
struct  _UnityMusicLensGenreFilterParserClass
struct  _UnityMusicLensGenreFilterParserPrivate

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_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_GENRE   (unity_music_lens_genre_get_type ())
#define UNITY_MUSIC_LENS_GENRE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_GENRE, UnityMusicLensGenre))
#define UNITY_MUSIC_LENS_GENRE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_GENRE, UnityMusicLensGenreClass))
#define UNITY_MUSIC_LENS_IS_GENRE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_GENRE))
#define UNITY_MUSIC_LENS_IS_GENRE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_GENRE))
#define UNITY_MUSIC_LENS_GENRE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_GENRE, UnityMusicLensGenreClass))
#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_GENRE_FILTER_PARSER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParserPrivate))

Typedefs

typedef struct _UnityMusicLensFilterParser
typedef struct _UnityMusicLensFilterParserClass
typedef struct _UnityMusicLensFilterParserPrivate
typedef struct _UnityMusicLensGenreFilterParser
typedef struct _UnityMusicLensGenreFilterParserClass
typedef struct _UnityMusicLensGenreFilterParserPrivate
typedef struct _UnityMusicLensGenre
typedef struct _UnityMusicLensGenreClass

Functions

GType unity_music_lens_filter_parser_get_type (void)
UnityMusicLensGenreFilterParser * unity_music_lens_genre_filter_parser_new (UnityCheckOptionFilterCompact *filter)
UnityMusicLensGenreFilterParser * unity_music_lens_genre_filter_parser_construct (GType object_type, UnityCheckOptionFilterCompact *filter)
UnityMusicLensFilterParser * unity_music_lens_filter_parser_construct (GType object_type, UnityFilter *filter)
UnityMusicLensGenre * unity_music_lens_genre_new (void)
UnityMusicLensGenre * unity_music_lens_genre_construct (GType object_type)
static void unity_music_lens_genre_filter_parser_set_map (UnityMusicLensGenreFilterParser *self, UnityMusicLensGenre *value)
static gchar * unity_music_lens_genre_filter_parser_real_parse (UnityMusicLensFilterParser *base)
GList * unity_music_lens_genre_filter_parser_get_all_selected_genres (UnityMusicLensGenreFilterParser *self)
UnityFilter * unity_music_lens_filter_parser_get_filter (UnityMusicLensFilterParser *self)
static void _g_object_unref0_ (gpointer var)
static void _g_list_free__g_object_unref0_ (GList *self)
UnityMusicLensGenre * unity_music_lens_genre_filter_parser_get_map (UnityMusicLensGenreFilterParser *self)
static void unity_music_lens_genre_filter_parser_finalize (GObject *obj)
const gchar * unity_music_lens_filter_parser_get_id (UnityMusicLensFilterParser *self)
static void _vala_unity_music_lens_genre_filter_parser_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_music_lens_genre_filter_parser_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static gpointer _g_object_ref0 (gpointer self)
static const gchar * unity_music_lens_genre_filter_parser_real_get_id (UnityMusicLensFilterParser *base)
static void unity_music_lens_genre_filter_parser_class_init (UnityMusicLensGenreFilterParserClass *klass)
static void unity_music_lens_genre_filter_parser_instance_init (UnityMusicLensGenreFilterParser *self)
GType unity_music_lens_genre_filter_parser_get_type (void)

Variables

static gpointer unity_music_lens_genre_filter_parser_parent_class = NULL

Class Documentation

struct _UnityMusicLensFilterParser

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

Class Members
GObject parent_instance
UnityMusicLensFilterParserPrivate * priv
struct _UnityMusicLensGenreFilterParser

Definition at line 97 of file banshee-filter-parser-genre.c.

Class Members
UnityMusicLensFilterParser parent_instance
UnityMusicLensGenreFilterParserPrivate * priv
struct _UnityMusicLensGenreFilterParserClass

Definition at line 102 of file banshee-filter-parser-genre.c.

Class Members
UnityMusicLensFilterParserClass parent_class
struct _UnityMusicLensGenreFilterParserPrivate

Definition at line 84 of file filter-parser-genre.c.

Class Members
UnityMusicLensGenre * _map

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 62 of file filter-parser-genre.c.

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

Definition at line 61 of file filter-parser-genre.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 filter-parser-genre.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 filter-parser-genre.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 filter-parser-genre.c.

#define UNITY_MUSIC_LENS_GENRE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_GENRE, UnityMusicLensGenre))

Definition at line 53 of file filter-parser-genre.c.

#define UNITY_MUSIC_LENS_GENRE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_GENRE, UnityMusicLensGenreClass))

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

#define UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_MUSIC_LENS_TYPE_GENRE_FILTER_PARSER, UnityMusicLensGenreFilterParserPrivate))
#define UNITY_MUSIC_LENS_GENRE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_GENRE, UnityMusicLensGenreClass))

Definition at line 57 of file filter-parser-genre.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 filter-parser-genre.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 filter-parser-genre.c.

#define UNITY_MUSIC_LENS_IS_GENRE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_GENRE))

Definition at line 55 of file filter-parser-genre.c.

#define UNITY_MUSIC_LENS_IS_GENRE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_GENRE))

Definition at line 56 of file filter-parser-genre.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 44 of file filter-parser-genre.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 45 of file filter-parser-genre.c.

Definition at line 30 of file filter-parser-genre.c.

Definition at line 52 of file filter-parser-genre.c.

Definition at line 41 of file filter-parser-genre.c.


Typedef Documentation

Definition at line 37 of file filter-parser-genre.c.

Definition at line 38 of file filter-parser-genre.c.

Definition at line 39 of file filter-parser-genre.c.

typedef struct _UnityMusicLensGenre

Definition at line 59 of file filter-parser-genre.c.

typedef struct _UnityMusicLensGenreClass

Definition at line 60 of file filter-parser-genre.c.

Definition at line 48 of file filter-parser-genre.c.

Definition at line 49 of file filter-parser-genre.c.

Definition at line 50 of file filter-parser-genre.c.


Function Documentation

static void _g_list_free__g_object_unref0_ ( GList *  self) [static]

Definition at line 160 of file filter-parser-genre.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 150 of file filter-parser-genre.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 155 of file filter-parser-genre.c.

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

Here is the caller graph for this function:

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

Definition at line 282 of file filter-parser-genre.c.

                                                                                                                                              {
       UnityMusicLensGenreFilterParser * self;
       self = UNITY_MUSIC_LENS_GENRE_FILTER_PARSER (object);
       switch (property_id) {
              case UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_ID:
              g_value_set_string (value, unity_music_lens_filter_parser_get_id ((UnityMusicLensFilterParser*) self));
              break;
              case UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_MAP:
              g_value_set_object (value, unity_music_lens_genre_filter_parser_get_map (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 299 of file filter-parser-genre.c.

                                                                                                                                                    {
       UnityMusicLensGenreFilterParser * self;
       self = UNITY_MUSIC_LENS_GENRE_FILTER_PARSER (object);
       switch (property_id) {
              case UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_MAP:
              unity_music_lens_genre_filter_parser_set_map (self, g_value_get_object (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensFilterParser* unity_music_lens_filter_parser_construct ( GType  object_type,
UnityFilter *  filter 
)

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

                                                                                                              {
       UnityMusicLensFilterParser * self = NULL;
       UnityFilter* _tmp0_;
       g_return_val_if_fail (filter != NULL, NULL);
       self = (UnityMusicLensFilterParser*) g_object_new (object_type, NULL);
       _tmp0_ = filter;
       unity_music_lens_filter_parser_set_filter (self, _tmp0_);
       return self;
}

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;
}
const gchar* unity_music_lens_filter_parser_get_id ( UnityMusicLensFilterParser *  self)

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

                                                                                      {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_MUSIC_LENS_FILTER_PARSER_GET_CLASS (self)->get_id (self);
}

Definition at line 91 of file filter-parser-genre.c.

      {
       UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_DUMMY_PROPERTY,
       UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_ID,
       UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_MAP
};
UnityMusicLensGenre * unity_music_lens_genre_construct ( GType  object_type)

Definition at line 140 of file genre.c.

                                                                          {
       UnityMusicLensGenre * self = NULL;
       self = (UnityMusicLensGenre*) g_object_new (object_type, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_music_lens_genre_filter_parser_class_init ( UnityMusicLensGenreFilterParserClass *  klass) [static]

Definition at line 244 of file filter-parser-genre.c.

                                                                                                           {
       unity_music_lens_genre_filter_parser_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMusicLensGenreFilterParserPrivate));
       UNITY_MUSIC_LENS_FILTER_PARSER_CLASS (klass)->parse = unity_music_lens_genre_filter_parser_real_parse;
       UNITY_MUSIC_LENS_FILTER_PARSER_CLASS (klass)->get_id = unity_music_lens_genre_filter_parser_real_get_id;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_music_lens_genre_filter_parser_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_music_lens_genre_filter_parser_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_music_lens_genre_filter_parser_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_GENRE_FILTER_PARSER_MAP, g_param_spec_object ("map", "map", "map", UNITY_MUSIC_LENS_TYPE_GENRE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensGenreFilterParser* unity_music_lens_genre_filter_parser_construct ( GType  object_type,
UnityCheckOptionFilterCompact *  filter 
)

Definition at line 118 of file filter-parser-genre.c.

                                                                                                                                           {
       UnityMusicLensGenreFilterParser * self = NULL;
       UnityCheckOptionFilterCompact* _tmp0_;
       UnityMusicLensGenre* _tmp1_;
       UnityMusicLensGenre* _tmp2_;
       g_return_val_if_fail (filter != NULL, NULL);
       _tmp0_ = filter;
       self = (UnityMusicLensGenreFilterParser*) unity_music_lens_filter_parser_construct (object_type, (UnityFilter*) _tmp0_);
       _tmp1_ = unity_music_lens_genre_new ();
       _tmp2_ = _tmp1_;
       unity_music_lens_genre_filter_parser_set_map (self, _tmp2_);
       _g_object_unref0 (_tmp2_);
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_music_lens_genre_filter_parser_finalize ( GObject *  obj) [static]

Definition at line 262 of file filter-parser-genre.c.

                                                                         {
       UnityMusicLensGenreFilterParser * self;
       self = UNITY_MUSIC_LENS_GENRE_FILTER_PARSER (obj);
       _g_object_unref0 (self->priv->_map);
       G_OBJECT_CLASS (unity_music_lens_genre_filter_parser_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GList* unity_music_lens_genre_filter_parser_get_all_selected_genres ( UnityMusicLensGenreFilterParser *  self)

Definition at line 166 of file filter-parser-genre.c.

                                                                                                            {
       GList* result = NULL;
       UnityFilter* _tmp0_;
       UnityFilter* _tmp1_;
       GList* _tmp2_;
       GList* options;
       GList* active;
       GList* _tmp3_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = unity_music_lens_filter_parser_get_filter ((UnityMusicLensFilterParser*) self);
       _tmp1_ = _tmp0_;
       _tmp2_ = ((UnityOptionsFilter*) (UNITY_IS_CHECK_OPTION_FILTER_COMPACT (_tmp1_) ? ((UnityCheckOptionFilterCompact*) _tmp1_) : NULL))->options;
       options = _tmp2_;
       active = NULL;
       _tmp3_ = options;
       {
              GList* option_collection = NULL;
              GList* option_it = NULL;
              option_collection = _tmp3_;
              for (option_it = option_collection; option_it != NULL; option_it = option_it->next) {
                     UnityFilterOption* _tmp4_;
                     UnityFilterOption* option = NULL;
                     _tmp4_ = _g_object_ref0 ((UnityFilterOption*) option_it->data);
                     option = _tmp4_;
                     {
                            UnityFilterOption* _tmp5_;
                            gboolean _tmp6_;
                            gboolean _tmp7_;
                            _tmp5_ = option;
                            _tmp6_ = unity_filter_option_get_active (_tmp5_);
                            _tmp7_ = _tmp6_;
                            if (_tmp7_) {
                                   UnityFilterOption* _tmp8_;
                                   UnityFilterOption* _tmp9_;
                                   _tmp8_ = option;
                                   _tmp9_ = _g_object_ref0 (_tmp8_);
                                   active = g_list_append (active, _tmp9_);
                            }
                            _g_object_unref0 (option);
                     }
              }
       }
       result = active;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensGenre * unity_music_lens_genre_filter_parser_get_map ( UnityMusicLensGenreFilterParser *  self)

Definition at line 222 of file filter-parser-genre.c.

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

Here is the caller graph for this function:

Definition at line 270 of file filter-parser-genre.c.

                                                           {
       static volatile gsize unity_music_lens_genre_filter_parser_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_lens_genre_filter_parser_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensGenreFilterParserClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_music_lens_genre_filter_parser_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMusicLensGenreFilterParser), 0, (GInstanceInitFunc) unity_music_lens_genre_filter_parser_instance_init, NULL };
              GType unity_music_lens_genre_filter_parser_type_id;
              unity_music_lens_genre_filter_parser_type_id = g_type_register_static (UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, "UnityMusicLensGenreFilterParser", &g_define_type_info, 0);
              g_once_init_leave (&unity_music_lens_genre_filter_parser_type_id__volatile, unity_music_lens_genre_filter_parser_type_id);
       }
       return unity_music_lens_genre_filter_parser_type_id__volatile;
}

Here is the call graph for this function:

static void unity_music_lens_genre_filter_parser_instance_init ( UnityMusicLensGenreFilterParser *  self) [static]

Definition at line 257 of file filter-parser-genre.c.

Here is the caller graph for this function:

UnityMusicLensGenreFilterParser* unity_music_lens_genre_filter_parser_new ( UnityCheckOptionFilterCompact *  filter)

Definition at line 134 of file filter-parser-genre.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static const gchar* unity_music_lens_genre_filter_parser_real_get_id ( UnityMusicLensFilterParser *  base) [static]

Definition at line 213 of file filter-parser-genre.c.

                                                                                                        {
       const gchar* result;
       UnityMusicLensGenreFilterParser* self;
       self = (UnityMusicLensGenreFilterParser*) base;
       result = "genre";
       return result;
}

Here is the caller graph for this function:

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

Definition at line 139 of file filter-parser-genre.c.

                                                                                                 {
       UnityMusicLensGenreFilterParser * self;
       gchar* result = NULL;
       gchar* _tmp0_;
       self = (UnityMusicLensGenreFilterParser*) base;
       _tmp0_ = g_strdup ("");
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

static void unity_music_lens_genre_filter_parser_set_map ( UnityMusicLensGenreFilterParser *  self,
UnityMusicLensGenre *  value 
) [static]

Definition at line 232 of file filter-parser-genre.c.

                                                                                                                             {
       UnityMusicLensGenre* _tmp0_;
       UnityMusicLensGenre* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_map);
       self->priv->_map = _tmp1_;
       g_object_notify ((GObject *) self, "map");
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensGenre * unity_music_lens_genre_new ( void  )

Definition at line 147 of file genre.c.

Here is the caller graph for this function:


Variable Documentation

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