Back to index

unity-lens-music  6.0.0
Defines | Enumerations | Functions
categories.c File Reference
#include <glib.h>
#include <glib-object.h>

Go to the source code of this file.

Defines

#define UNITY_MUSIC_LENS_TYPE_CATEGORY   (unity_music_lens_category_get_type ())

Enumerations

enum  UnityMusicLensCategory {
  UNITY_MUSIC_LENS_CATEGORY_SONGS, UNITY_MUSIC_LENS_CATEGORY_ALBUMS, UNITY_MUSIC_LENS_CATEGORY_PURCHASE, UNITY_MUSIC_LENS_CATEGORY_MUSIC,
  UNITY_MUSIC_LENS_CATEGORY_RADIOS, UNITY_MUSIC_LENS_CATEGORY_SONGS, UNITY_MUSIC_LENS_CATEGORY_ALBUMS, UNITY_MUSIC_LENS_CATEGORY_PURCHASE,
  UNITY_MUSIC_LENS_CATEGORY_MUSIC, UNITY_MUSIC_LENS_CATEGORY_RADIOS, UNITY_MUSIC_LENS_CATEGORY_SONGS, UNITY_MUSIC_LENS_CATEGORY_ALBUMS,
  UNITY_MUSIC_LENS_CATEGORY_PURCHASE, UNITY_MUSIC_LENS_CATEGORY_MUSIC, UNITY_MUSIC_LENS_CATEGORY_RADIOS, UNITY_MUSIC_LENS_CATEGORY_SONGS,
  UNITY_MUSIC_LENS_CATEGORY_ALBUMS, UNITY_MUSIC_LENS_CATEGORY_PURCHASE, UNITY_MUSIC_LENS_CATEGORY_MUSIC, UNITY_MUSIC_LENS_CATEGORY_RADIOS,
  UNITY_MUSIC_LENS_CATEGORY_SONGS, UNITY_MUSIC_LENS_CATEGORY_ALBUMS, UNITY_MUSIC_LENS_CATEGORY_PURCHASE, UNITY_MUSIC_LENS_CATEGORY_MUSIC,
  UNITY_MUSIC_LENS_CATEGORY_RADIOS
}

Functions

GType unity_music_lens_category_get_type (void)

Define Documentation

Definition at line 27 of file categories.c.


Enumeration Type Documentation

Enumerator:
UNITY_MUSIC_LENS_CATEGORY_SONGS 
UNITY_MUSIC_LENS_CATEGORY_ALBUMS 
UNITY_MUSIC_LENS_CATEGORY_PURCHASE 
UNITY_MUSIC_LENS_CATEGORY_MUSIC 
UNITY_MUSIC_LENS_CATEGORY_RADIOS 
UNITY_MUSIC_LENS_CATEGORY_SONGS 
UNITY_MUSIC_LENS_CATEGORY_ALBUMS 
UNITY_MUSIC_LENS_CATEGORY_PURCHASE 
UNITY_MUSIC_LENS_CATEGORY_MUSIC 
UNITY_MUSIC_LENS_CATEGORY_RADIOS 
UNITY_MUSIC_LENS_CATEGORY_SONGS 
UNITY_MUSIC_LENS_CATEGORY_ALBUMS 
UNITY_MUSIC_LENS_CATEGORY_PURCHASE 
UNITY_MUSIC_LENS_CATEGORY_MUSIC 
UNITY_MUSIC_LENS_CATEGORY_RADIOS 
UNITY_MUSIC_LENS_CATEGORY_SONGS 
UNITY_MUSIC_LENS_CATEGORY_ALBUMS 
UNITY_MUSIC_LENS_CATEGORY_PURCHASE 
UNITY_MUSIC_LENS_CATEGORY_MUSIC 
UNITY_MUSIC_LENS_CATEGORY_RADIOS 
UNITY_MUSIC_LENS_CATEGORY_SONGS 
UNITY_MUSIC_LENS_CATEGORY_ALBUMS 
UNITY_MUSIC_LENS_CATEGORY_PURCHASE 
UNITY_MUSIC_LENS_CATEGORY_MUSIC 
UNITY_MUSIC_LENS_CATEGORY_RADIOS 

Definition at line 29 of file categories.c.


Function Documentation

Definition at line 39 of file categories.c.

                                                {
       static volatile gsize unity_music_lens_category_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_lens_category_type_id__volatile)) {
              static const GEnumValue values[] = {{UNITY_MUSIC_LENS_CATEGORY_SONGS, "UNITY_MUSIC_LENS_CATEGORY_SONGS", "songs"}, {UNITY_MUSIC_LENS_CATEGORY_ALBUMS, "UNITY_MUSIC_LENS_CATEGORY_ALBUMS", "albums"}, {UNITY_MUSIC_LENS_CATEGORY_PURCHASE, "UNITY_MUSIC_LENS_CATEGORY_PURCHASE", "purchase"}, {UNITY_MUSIC_LENS_CATEGORY_MUSIC, "UNITY_MUSIC_LENS_CATEGORY_MUSIC", "music"}, {UNITY_MUSIC_LENS_CATEGORY_RADIOS, "UNITY_MUSIC_LENS_CATEGORY_RADIOS", "radios"}, {0, NULL, NULL}};
              GType unity_music_lens_category_type_id;
              unity_music_lens_category_type_id = g_enum_register_static ("UnityMusicLensCategory", values);
              g_once_init_leave (&unity_music_lens_category_type_id__volatile, unity_music_lens_category_type_id);
       }
       return unity_music_lens_category_type_id__volatile;
}