~ubuntu-branches/ubuntu/precise/unity-lens-music/precise

1.1.6 by Didier Roche
Import upstream version 5.2.0
1
/* categories.c generated by valac 0.14.1, the Vala compiler
2
 * generated from categories.vala, do not modify */
3
4
/*
5
 * Copyright (C) 2012 Canonical Ltd
6
 *
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.
10
 *
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.
15
 *
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/>.
18
 *
19
 * Authored by Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
20
 *
21
 */
22
23
#include <glib.h>
24
#include <glib-object.h>
25
26
27
#define UNITY_MUSIC_LENS_TYPE_CATEGORY (unity_music_lens_category_get_type ())
28
29
typedef enum  {
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;
35
36
37
38
GType unity_music_lens_category_get_type (void) G_GNUC_CONST;
39
40
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);
48
	}
49
	return unity_music_lens_category_type_id__volatile;
50
}
51
52
53