Back to index

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

Go to the source code of this file.

Classes

struct  _UnityMusicLensTrack
struct  _UnityMusicLensTrackClass
struct  _UnityMusicLensTrackPrivate

Defines

#define UNITY_MUSIC_LENS_TYPE_TRACK_TYPE   (unity_music_lens_track_type_get_type ())
#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 _g_free0(var)   (var = (g_free (var), NULL))
#define UNITY_MUSIC_LENS_TRACK_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrackPrivate))

Typedefs

typedef struct _UnityMusicLensTrack
typedef struct _UnityMusicLensTrackClass
typedef struct _UnityMusicLensTrackPrivate

Enumerations

enum  UnityMusicLensTrackType {
  UNITY_MUSIC_LENS_TRACK_TYPE_SONG, UNITY_MUSIC_LENS_TRACK_TYPE_RADIO, UNITY_MUSIC_LENS_TRACK_TYPE_SONG, UNITY_MUSIC_LENS_TRACK_TYPE_RADIO,
  UNITY_MUSIC_LENS_TRACK_TYPE_SONG, UNITY_MUSIC_LENS_TRACK_TYPE_RADIO
}

Functions

GType unity_music_lens_track_type_get_type (void)
UnityMusicLensTrack * unity_music_lens_track_new (void)
UnityMusicLensTrack * unity_music_lens_track_construct (GType object_type)
UnityMusicLensTrackType unity_music_lens_track_get_type_track (UnityMusicLensTrack *self)
void unity_music_lens_track_set_type_track (UnityMusicLensTrack *self, UnityMusicLensTrackType value)
const gchar * unity_music_lens_track_get_title (UnityMusicLensTrack *self)
void unity_music_lens_track_set_title (UnityMusicLensTrack *self, const gchar *value)
const gchar * unity_music_lens_track_get_uri (UnityMusicLensTrack *self)
void unity_music_lens_track_set_uri (UnityMusicLensTrack *self, const gchar *value)
const gchar * unity_music_lens_track_get_artist (UnityMusicLensTrack *self)
void unity_music_lens_track_set_artist (UnityMusicLensTrack *self, const gchar *value)
const gchar * unity_music_lens_track_get_mime_type (UnityMusicLensTrack *self)
void unity_music_lens_track_set_mime_type (UnityMusicLensTrack *self, const gchar *value)
const gchar * unity_music_lens_track_get_artwork_path (UnityMusicLensTrack *self)
void unity_music_lens_track_set_artwork_path (UnityMusicLensTrack *self, const gchar *value)
const gchar * unity_music_lens_track_get_album (UnityMusicLensTrack *self)
void unity_music_lens_track_set_album (UnityMusicLensTrack *self, const gchar *value)
const gchar * unity_music_lens_track_get_album_artist (UnityMusicLensTrack *self)
void unity_music_lens_track_set_album_artist (UnityMusicLensTrack *self, const gchar *value)
const gchar * unity_music_lens_track_get_genre (UnityMusicLensTrack *self)
void unity_music_lens_track_set_genre (UnityMusicLensTrack *self, const gchar *value)
gint unity_music_lens_track_get_track_number (UnityMusicLensTrack *self)
void unity_music_lens_track_set_track_number (UnityMusicLensTrack *self, gint value)
gint unity_music_lens_track_get_year (UnityMusicLensTrack *self)
void unity_music_lens_track_set_year (UnityMusicLensTrack *self, gint value)
gint unity_music_lens_track_get_play_count (UnityMusicLensTrack *self)
void unity_music_lens_track_set_play_count (UnityMusicLensTrack *self, gint value)
static void unity_music_lens_track_finalize (GObject *obj)
static void _vala_unity_music_lens_track_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_music_lens_track_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void unity_music_lens_track_class_init (UnityMusicLensTrackClass *klass)
static void unity_music_lens_track_instance_init (UnityMusicLensTrack *self)
GType unity_music_lens_track_get_type (void)

Variables

static gpointer unity_music_lens_track_parent_class = NULL

Class Documentation

struct _UnityMusicLensTrack

Definition at line 48 of file track.c.

Class Members
GObject parent_instance
UnityMusicLensTrackPrivate * priv
struct _UnityMusicLensTrackClass

Definition at line 53 of file track.c.

Class Members
GObjectClass parent_class
struct _UnityMusicLensTrackPrivate

Definition at line 57 of file track.c.

Class Members
gchar * _album
gchar * _album_artist
gchar * _artist
gchar * _artwork_path
gchar * _genre
gchar * _mime_type
gint _play_count
gchar * _title
gint _track_number
UnityMusicLensTrackType _type_track
gchar * _uri
gint _year

Define Documentation

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

Definition at line 41 of file track.c.

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

Definition at line 34 of file track.c.

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

Definition at line 35 of file track.c.

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

Definition at line 32 of file track.c.

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

Definition at line 33 of file track.c.

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

Definition at line 36 of file track.c.

#define UNITY_MUSIC_LENS_TRACK_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_MUSIC_LENS_TYPE_TRACK, UnityMusicLensTrackPrivate))

Definition at line 31 of file track.c.

Definition at line 29 of file track.c.


Typedef Documentation

typedef struct _UnityMusicLensTrack

Definition at line 38 of file track.c.

typedef struct _UnityMusicLensTrackClass

Definition at line 39 of file track.c.

Definition at line 40 of file track.c.


Enumeration Type Documentation

Enumerator:
UNITY_MUSIC_LENS_TRACK_TYPE_SONG 
UNITY_MUSIC_LENS_TRACK_TYPE_RADIO 
UNITY_MUSIC_LENS_TRACK_TYPE_SONG 
UNITY_MUSIC_LENS_TRACK_TYPE_RADIO 
UNITY_MUSIC_LENS_TRACK_TYPE_SONG 
UNITY_MUSIC_LENS_TRACK_TYPE_RADIO 

Definition at line 43 of file track.c.


Function Documentation

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

Definition at line 453 of file track.c.

                                                                                                                                {
       UnityMusicLensTrack * self;
       self = UNITY_MUSIC_LENS_TRACK (object);
       switch (property_id) {
              case UNITY_MUSIC_LENS_TRACK_TYPE_TRACK:
              g_value_set_enum (value, unity_music_lens_track_get_type_track (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_TITLE:
              g_value_set_string (value, unity_music_lens_track_get_title (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_URI:
              g_value_set_string (value, unity_music_lens_track_get_uri (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_ARTIST:
              g_value_set_string (value, unity_music_lens_track_get_artist (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_MIME_TYPE:
              g_value_set_string (value, unity_music_lens_track_get_mime_type (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_ARTWORK_PATH:
              g_value_set_string (value, unity_music_lens_track_get_artwork_path (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_ALBUM:
              g_value_set_string (value, unity_music_lens_track_get_album (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_ALBUM_ARTIST:
              g_value_set_string (value, unity_music_lens_track_get_album_artist (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_GENRE:
              g_value_set_string (value, unity_music_lens_track_get_genre (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_TRACK_NUMBER:
              g_value_set_int (value, unity_music_lens_track_get_track_number (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_YEAR:
              g_value_set_int (value, unity_music_lens_track_get_year (self));
              break;
              case UNITY_MUSIC_LENS_TRACK_PLAY_COUNT:
              g_value_set_int (value, unity_music_lens_track_get_play_count (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_track_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 500 of file track.c.

                                                                                                                                      {
       UnityMusicLensTrack * self;
       self = UNITY_MUSIC_LENS_TRACK (object);
       switch (property_id) {
              case UNITY_MUSIC_LENS_TRACK_TYPE_TRACK:
              unity_music_lens_track_set_type_track (self, g_value_get_enum (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_TITLE:
              unity_music_lens_track_set_title (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_URI:
              unity_music_lens_track_set_uri (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_ARTIST:
              unity_music_lens_track_set_artist (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_MIME_TYPE:
              unity_music_lens_track_set_mime_type (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_ARTWORK_PATH:
              unity_music_lens_track_set_artwork_path (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_ALBUM:
              unity_music_lens_track_set_album (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_ALBUM_ARTIST:
              unity_music_lens_track_set_album_artist (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_GENRE:
              unity_music_lens_track_set_genre (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_TRACK_NUMBER:
              unity_music_lens_track_set_track_number (self, g_value_get_int (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_YEAR:
              unity_music_lens_track_set_year (self, g_value_get_int (value));
              break;
              case UNITY_MUSIC_LENS_TRACK_PLAY_COUNT:
              unity_music_lens_track_set_play_count (self, g_value_get_int (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:

static void unity_music_lens_track_class_init ( UnityMusicLensTrackClass *  klass) [static]

Definition at line 400 of file track.c.

                                                                                 {
       unity_music_lens_track_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMusicLensTrackPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_music_lens_track_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_music_lens_track_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_music_lens_track_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_TYPE_TRACK, g_param_spec_enum ("type-track", "type-track", "type-track", UNITY_MUSIC_LENS_TYPE_TRACK_TYPE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_TITLE, g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_URI, g_param_spec_string ("uri", "uri", "uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_ARTIST, g_param_spec_string ("artist", "artist", "artist", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_MIME_TYPE, g_param_spec_string ("mime-type", "mime-type", "mime-type", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_ARTWORK_PATH, g_param_spec_string ("artwork-path", "artwork-path", "artwork-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_ALBUM, g_param_spec_string ("album", "album", "album", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_ALBUM_ARTIST, g_param_spec_string ("album-artist", "album-artist", "album-artist", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_GENRE, g_param_spec_string ("genre", "genre", "genre", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_TRACK_NUMBER, g_param_spec_int ("track-number", "track-number", "track-number", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_YEAR, g_param_spec_int ("year", "year", "year", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_LENS_TRACK_PLAY_COUNT, g_param_spec_int ("play-count", "play-count", "play-count", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicLensTrack* unity_music_lens_track_construct ( GType  object_type)

Definition at line 136 of file track.c.

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

Here is the caller graph for this function:

static void unity_music_lens_track_finalize ( GObject *  obj) [static]

Definition at line 426 of file track.c.

                                                           {
       UnityMusicLensTrack * self;
       self = UNITY_MUSIC_LENS_TRACK (obj);
       _g_free0 (self->priv->_title);
       _g_free0 (self->priv->_uri);
       _g_free0 (self->priv->_artist);
       _g_free0 (self->priv->_mime_type);
       _g_free0 (self->priv->_artwork_path);
       _g_free0 (self->priv->_album);
       _g_free0 (self->priv->_album_artist);
       _g_free0 (self->priv->_genre);
       G_OBJECT_CLASS (unity_music_lens_track_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_album ( UnityMusicLensTrack *  self)

Definition at line 277 of file track.c.

                                                                          {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_album;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_album_artist ( UnityMusicLensTrack *  self)

Definition at line 299 of file track.c.

                                                                                 {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_album_artist;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_artist ( UnityMusicLensTrack *  self)

Definition at line 211 of file track.c.

                                                                           {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_artist;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_artwork_path ( UnityMusicLensTrack *  self)

Definition at line 255 of file track.c.

                                                                                 {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_artwork_path;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_genre ( UnityMusicLensTrack *  self)

Definition at line 321 of file track.c.

                                                                          {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_genre;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_mime_type ( UnityMusicLensTrack *  self)

Definition at line 233 of file track.c.

                                                                              {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_mime_type;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

gint unity_music_lens_track_get_play_count ( UnityMusicLensTrack *  self)

Definition at line 381 of file track.c.

                                                                       {
       gint result;
       gint _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->priv->_play_count;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_title ( UnityMusicLensTrack *  self)

Definition at line 167 of file track.c.

                                                                          {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_title;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

gint unity_music_lens_track_get_track_number ( UnityMusicLensTrack *  self)

Definition at line 343 of file track.c.

                                                                         {
       gint result;
       gint _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->priv->_track_number;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

Definition at line 441 of file track.c.

                                             {
       static volatile gsize unity_music_lens_track_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_lens_track_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensTrackClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_music_lens_track_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMusicLensTrack), 0, (GInstanceInitFunc) unity_music_lens_track_instance_init, NULL };
              GType unity_music_lens_track_type_id;
              unity_music_lens_track_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityMusicLensTrack", &g_define_type_info, 0);
              g_once_init_leave (&unity_music_lens_track_type_id__volatile, unity_music_lens_track_type_id);
       }
       return unity_music_lens_track_type_id__volatile;
}

Here is the call graph for this function:

Definition at line 148 of file track.c.

                                                                                          {
       UnityMusicLensTrackType result;
       UnityMusicLensTrackType _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->priv->_type_track;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar * unity_music_lens_track_get_uri ( UnityMusicLensTrack *  self)

Definition at line 189 of file track.c.

                                                                        {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_uri;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

gint unity_music_lens_track_get_year ( UnityMusicLensTrack *  self)

Definition at line 362 of file track.c.

                                                                 {
       gint result;
       gint _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->priv->_year;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

static void unity_music_lens_track_instance_init ( UnityMusicLensTrack *  self) [static]

Definition at line 421 of file track.c.

                                                                              {
       self->priv = UNITY_MUSIC_LENS_TRACK_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityMusicLensTrack* unity_music_lens_track_new ( void  )

Definition at line 143 of file track.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_lens_track_set_album ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 287 of file track.c.

                                                                                      {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_album);
       self->priv->_album = _tmp1_;
       g_object_notify ((GObject *) self, "album");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_album_artist ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 309 of file track.c.

                                                                                             {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_album_artist);
       self->priv->_album_artist = _tmp1_;
       g_object_notify ((GObject *) self, "album-artist");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_artist ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 221 of file track.c.

                                                                                       {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_artist);
       self->priv->_artist = _tmp1_;
       g_object_notify ((GObject *) self, "artist");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_artwork_path ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 265 of file track.c.

                                                                                             {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_artwork_path);
       self->priv->_artwork_path = _tmp1_;
       g_object_notify ((GObject *) self, "artwork-path");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_genre ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 331 of file track.c.

                                                                                      {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_genre);
       self->priv->_genre = _tmp1_;
       g_object_notify ((GObject *) self, "genre");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_mime_type ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 243 of file track.c.

                                                                                          {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_mime_type);
       self->priv->_mime_type = _tmp1_;
       g_object_notify ((GObject *) self, "mime-type");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_play_count ( UnityMusicLensTrack *  self,
gint  value 
)

Definition at line 391 of file track.c.

                                                                                   {
       gint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_play_count = _tmp0_;
       g_object_notify ((GObject *) self, "play-count");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_title ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 177 of file track.c.

                                                                                      {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_title);
       self->priv->_title = _tmp1_;
       g_object_notify ((GObject *) self, "title");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_track_number ( UnityMusicLensTrack *  self,
gint  value 
)

Definition at line 353 of file track.c.

                                                                                     {
       gint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_track_number = _tmp0_;
       g_object_notify ((GObject *) self, "track-number");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_type_track ( UnityMusicLensTrack *  self,
UnityMusicLensTrackType  value 
)

Definition at line 158 of file track.c.

                                                                                                      {
       UnityMusicLensTrackType _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_type_track = _tmp0_;
       g_object_notify ((GObject *) self, "type-track");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_uri ( UnityMusicLensTrack *  self,
const gchar *  value 
)

Definition at line 199 of file track.c.

                                                                                    {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_uri);
       self->priv->_uri = _tmp1_;
       g_object_notify ((GObject *) self, "uri");
}

Here is the caller graph for this function:

void unity_music_lens_track_set_year ( UnityMusicLensTrack *  self,
gint  value 
)

Definition at line 372 of file track.c.

                                                                             {
       gint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_year = _tmp0_;
       g_object_notify ((GObject *) self, "year");
}

Here is the caller graph for this function:

Definition at line 75 of file track.c.

      {
       UNITY_MUSIC_LENS_TRACK_DUMMY_PROPERTY,
       UNITY_MUSIC_LENS_TRACK_TYPE_TRACK,
       UNITY_MUSIC_LENS_TRACK_TITLE,
       UNITY_MUSIC_LENS_TRACK_URI,
       UNITY_MUSIC_LENS_TRACK_ARTIST,
       UNITY_MUSIC_LENS_TRACK_MIME_TYPE,
       UNITY_MUSIC_LENS_TRACK_ARTWORK_PATH,
       UNITY_MUSIC_LENS_TRACK_ALBUM,
       UNITY_MUSIC_LENS_TRACK_ALBUM_ARTIST,
       UNITY_MUSIC_LENS_TRACK_GENRE,
       UNITY_MUSIC_LENS_TRACK_TRACK_NUMBER,
       UNITY_MUSIC_LENS_TRACK_YEAR,
       UNITY_MUSIC_LENS_TRACK_PLAY_COUNT
};

Variable Documentation

gpointer unity_music_lens_track_parent_class = NULL [static]

Definition at line 73 of file track.c.