~ricmm/+junk/unity-lens_music-sc

« back to all changes in this revision

Viewing changes to src/banshee-filter-parser.c

  • Committer: Ricardo Mendoza
  • Date: 2012-09-05 14:20:15 UTC
  • Revision ID: ricardo.mendoza@canonical.com-20120905142015-prem6hiyfshwgm8q
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* banshee-filter-parser.c generated by valac 0.16.1, the Vala compiler
 
2
 * generated from banshee-filter-parser.vala, do not modify */
 
3
 
 
4
/*
 
5
 * Copyright (C) 2011 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 Alex Launi <alex.launi@canonical.com>
 
20
 *
 
21
 */
 
22
 
 
23
#include <glib.h>
 
24
#include <glib-object.h>
 
25
 
 
26
 
 
27
#define UNITY_MUSIC_LENS_TYPE_FILTER_PARSER (unity_music_lens_filter_parser_get_type ())
 
28
#define UNITY_MUSIC_LENS_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParser))
 
29
#define UNITY_MUSIC_LENS_FILTER_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))
 
30
#define UNITY_MUSIC_LENS_IS_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))
 
31
#define UNITY_MUSIC_LENS_IS_FILTER_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))
 
32
#define UNITY_MUSIC_LENS_FILTER_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))
 
33
 
 
34
typedef struct _UnityMusicLensFilterParser UnityMusicLensFilterParser;
 
35
typedef struct _UnityMusicLensFilterParserClass UnityMusicLensFilterParserClass;
 
36
 
 
37
#define UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER (unity_music_lens_banshee_filter_parser_get_type ())
 
38
#define UNITY_MUSIC_LENS_BANSHEE_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER, UnityMusicLensBansheeFilterParser))
 
39
#define UNITY_MUSIC_LENS_IS_BANSHEE_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER))
 
40
#define UNITY_MUSIC_LENS_BANSHEE_FILTER_PARSER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_MUSIC_LENS_TYPE_BANSHEE_FILTER_PARSER, UnityMusicLensBansheeFilterParserIface))
 
41
 
 
42
typedef struct _UnityMusicLensBansheeFilterParser UnityMusicLensBansheeFilterParser;
 
43
typedef struct _UnityMusicLensBansheeFilterParserIface UnityMusicLensBansheeFilterParserIface;
 
44
 
 
45
struct _UnityMusicLensBansheeFilterParserIface {
 
46
        GTypeInterface parent_iface;
 
47
};
 
48
 
 
49
 
 
50
 
 
51
GType unity_music_lens_filter_parser_get_type (void) G_GNUC_CONST;
 
52
GType unity_music_lens_banshee_filter_parser_get_type (void) G_GNUC_CONST;
 
53
 
 
54
 
 
55
static void unity_music_lens_banshee_filter_parser_base_init (UnityMusicLensBansheeFilterParserIface * iface) {
 
56
        static gboolean initialized = FALSE;
 
57
        if (!initialized) {
 
58
                initialized = TRUE;
 
59
        }
 
60
}
 
61
 
 
62
 
 
63
GType unity_music_lens_banshee_filter_parser_get_type (void) {
 
64
        static volatile gsize unity_music_lens_banshee_filter_parser_type_id__volatile = 0;
 
65
        if (g_once_init_enter (&unity_music_lens_banshee_filter_parser_type_id__volatile)) {
 
66
                static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensBansheeFilterParserIface), (GBaseInitFunc) unity_music_lens_banshee_filter_parser_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
 
67
                GType unity_music_lens_banshee_filter_parser_type_id;
 
68
                unity_music_lens_banshee_filter_parser_type_id = g_type_register_static (G_TYPE_INTERFACE, "UnityMusicLensBansheeFilterParser", &g_define_type_info, 0);
 
69
                g_type_interface_add_prerequisite (unity_music_lens_banshee_filter_parser_type_id, UNITY_MUSIC_LENS_TYPE_FILTER_PARSER);
 
70
                g_once_init_leave (&unity_music_lens_banshee_filter_parser_type_id__volatile, unity_music_lens_banshee_filter_parser_type_id);
 
71
        }
 
72
        return unity_music_lens_banshee_filter_parser_type_id__volatile;
 
73
}
 
74
 
 
75
 
 
76