Back to index

unity-lens-music  6.0.0
categories.c
Go to the documentation of this file.
00001 /* categories.c generated by valac 0.14.2, the Vala compiler
00002  * generated from categories.vala, do not modify */
00003 
00004 /*
00005  * Copyright (C) 2012 Canonical Ltd
00006  *
00007  * This program is free software: you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License version 3 as
00009  * published by the Free Software Foundation.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00018  *
00019  * Authored by Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
00020  *
00021  */
00022 
00023 #include <glib.h>
00024 #include <glib-object.h>
00025 
00026 
00027 #define UNITY_MUSIC_LENS_TYPE_CATEGORY (unity_music_lens_category_get_type ())
00028 
00029 typedef enum  {
00030        UNITY_MUSIC_LENS_CATEGORY_SONGS,
00031        UNITY_MUSIC_LENS_CATEGORY_ALBUMS,
00032        UNITY_MUSIC_LENS_CATEGORY_PURCHASE,
00033        UNITY_MUSIC_LENS_CATEGORY_MUSIC,
00034        UNITY_MUSIC_LENS_CATEGORY_RADIOS
00035 } UnityMusicLensCategory;
00036 
00037 
00038 
00039 GType unity_music_lens_category_get_type (void) G_GNUC_CONST;
00040 
00041 
00042 GType unity_music_lens_category_get_type (void) {
00043        static volatile gsize unity_music_lens_category_type_id__volatile = 0;
00044        if (g_once_init_enter (&unity_music_lens_category_type_id__volatile)) {
00045               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}};
00046               GType unity_music_lens_category_type_id;
00047               unity_music_lens_category_type_id = g_enum_register_static ("UnityMusicLensCategory", values);
00048               g_once_init_leave (&unity_music_lens_category_type_id__volatile, unity_music_lens_category_type_id);
00049        }
00050        return unity_music_lens_category_type_id__volatile;
00051 }
00052 
00053 
00054