1
/* categories.c generated by valac 0.14.1, the Vala compiler
2
* generated from categories.vala, do not modify */
5
* Copyright (C) 2012 Canonical Ltd
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License version 3 as
9
* published by the Free Software Foundation.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
* Authored by Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
24
#include <glib-object.h>
27
#define UNITY_MUSIC_LENS_TYPE_CATEGORY (unity_music_lens_category_get_type ())
30
UNITY_MUSIC_LENS_CATEGORY_SONGS,
31
UNITY_MUSIC_LENS_CATEGORY_ALBUMS,
32
UNITY_MUSIC_LENS_CATEGORY_PURCHASE,
33
UNITY_MUSIC_LENS_CATEGORY_MUSIC
34
} UnityMusicLensCategory;
38
GType unity_music_lens_category_get_type (void) G_GNUC_CONST;
41
GType unity_music_lens_category_get_type (void) {
42
static volatile gsize unity_music_lens_category_type_id__volatile = 0;
43
if (g_once_init_enter (&unity_music_lens_category_type_id__volatile)) {
44
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"}, {0, NULL, NULL}};
45
GType unity_music_lens_category_type_id;
46
unity_music_lens_category_type_id = g_enum_register_static ("UnityMusicLensCategory", values);
47
g_once_init_leave (&unity_music_lens_category_type_id__volatile, unity_music_lens_category_type_id);
49
return unity_music_lens_category_type_id__volatile;