Back to index

unity-lens-music  6.0.0
Classes | Defines | Typedefs | Functions | Variables
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

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))

Typedefs

typedef struct _UnityMusicLensFilterParser
typedef struct _UnityMusicLensFilterParserClass
typedef struct _UnityMusicLensFilterParserPrivate
typedef struct _UnityMusicLensDecadeFilterParser
typedef struct _UnityMusicLensDecadeFilterParserClass
typedef struct _UnityMusicLensDecadeFilterParserPrivate

Functions

GType unity_music_lens_filter_parser_get_type (void)
UnityMusicLensDecadeFilterParser * unity_music_lens_decade_filter_parser_new (UnityMultiRangeFilter *filter)
UnityMusicLensDecadeFilterParser * unity_music_lens_decade_filter_parser_construct (GType object_type, UnityMultiRangeFilter *filter)
UnityMusicLensFilterParser * unity_music_lens_filter_parser_construct (GType object_type, UnityFilter *filter)
static gchar * unity_music_lens_decade_filter_parser_real_parse (UnityMusicLensFilterParser *base)
const gchar * unity_music_lens_filter_parser_get_id (UnityMusicLensFilterParser *self)
static void _vala_unity_music_lens_decade_filter_parser_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static const gchar * unity_music_lens_decade_filter_parser_real_get_id (UnityMusicLensFilterParser *base)
static void unity_music_lens_decade_filter_parser_class_init (UnityMusicLensDecadeFilterParserClass *klass)
static void unity_music_lens_decade_filter_parser_instance_init (UnityMusicLensDecadeFilterParser *self)
GType unity_music_lens_decade_filter_parser_get_type (void)

Variables

static gpointer unity_music_lens_decade_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 _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

Define Documentation

#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 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 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 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 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 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 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 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 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 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 filter-parser-decade.c.

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

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


Typedef Documentation

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

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

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

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

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

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


Function Documentation

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

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

                                                                                                                                               {
       UnityMusicLensDecadeFilterParser * self;
       self = UNITY_MUSIC_LENS_DECADE_FILTER_PARSER (object);
       switch (property_id) {
              case UNITY_MUSIC_LENS_DECADE_FILTER_PARSER_ID:
              g_value_set_string (value, unity_music_lens_filter_parser_get_id ((UnityMusicLensFilterParser*) 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 unity_music_lens_decade_filter_parser_class_init ( UnityMusicLensDecadeFilterParserClass *  klass) [static]

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

                                                                                                             {
       unity_music_lens_decade_filter_parser_parent_class = g_type_class_peek_parent (klass);
       UNITY_MUSIC_LENS_FILTER_PARSER_CLASS (klass)->parse = unity_music_lens_decade_filter_parser_real_parse;
       UNITY_MUSIC_LENS_FILTER_PARSER_CLASS (klass)->get_id = unity_music_lens_decade_filter_parser_real_get_id;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_music_lens_decade_filter_parser_get_property;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_DECADE_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));
}

Here is the call graph for this function:

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:

Here is the caller graph for this function:

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

                                                            {
       static volatile gsize unity_music_lens_decade_filter_parser_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_lens_decade_filter_parser_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensDecadeFilterParserClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_music_lens_decade_filter_parser_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMusicLensDecadeFilterParser), 0, (GInstanceInitFunc) unity_music_lens_decade_filter_parser_instance_init, NULL };
              GType unity_music_lens_decade_filter_parser_type_id;
              unity_music_lens_decade_filter_parser_type_id = g_type_register_static (UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, "UnityMusicLensDecadeFilterParser", &g_define_type_info, 0);
              g_once_init_leave (&unity_music_lens_decade_filter_parser_type_id__volatile, unity_music_lens_decade_filter_parser_type_id);
       }
       return unity_music_lens_decade_filter_parser_type_id__volatile;
}

Here is the call graph for this function:

static void unity_music_lens_decade_filter_parser_instance_init ( UnityMusicLensDecadeFilterParser *  self) [static]

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

                                                                                                          {
}

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 call graph for this function:

Here is the caller graph for this function:

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

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

                                                                                                         {
       const gchar* result;
       UnityMusicLensDecadeFilterParser* self;
       self = (UnityMusicLensDecadeFilterParser*) base;
       result = "decade";
       return result;
}

Here is the caller graph for this function:

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

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

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

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 caller graph for this function:

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

Here is the caller graph for this function:

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

      {
       UNITY_MUSIC_LENS_DECADE_FILTER_PARSER_DUMMY_PROPERTY,
       UNITY_MUSIC_LENS_DECADE_FILTER_PARSER_ID
};

Variable Documentation

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