Back to index

unity-lens-music  6.0.0
musicstore-filter-parser.c
Go to the documentation of this file.
00001 /* musicstore-filter-parser.c generated by valac 0.14.2, the Vala compiler
00002  * generated from musicstore-filter-parser.vala, do not modify */
00003 
00004 /*
00005  * Copyright (C) 2011 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 Alex Launi <alex.launi@canonical.com>
00020  *
00021  */
00022 
00023 #include <glib.h>
00024 #include <glib-object.h>
00025 
00026 
00027 #define UNITY_MUSIC_LENS_TYPE_FILTER_PARSER (unity_music_lens_filter_parser_get_type ())
00028 #define UNITY_MUSIC_LENS_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParser))
00029 #define UNITY_MUSIC_LENS_FILTER_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))
00030 #define UNITY_MUSIC_LENS_IS_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))
00031 #define UNITY_MUSIC_LENS_IS_FILTER_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER))
00032 #define UNITY_MUSIC_LENS_FILTER_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_MUSIC_LENS_TYPE_FILTER_PARSER, UnityMusicLensFilterParserClass))
00033 
00034 typedef struct _UnityMusicLensFilterParser UnityMusicLensFilterParser;
00035 typedef struct _UnityMusicLensFilterParserClass UnityMusicLensFilterParserClass;
00036 
00037 #define UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER (unity_music_lens_music_store_filter_parser_get_type ())
00038 #define UNITY_MUSIC_LENS_MUSIC_STORE_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER, UnityMusicLensMusicStoreFilterParser))
00039 #define UNITY_MUSIC_LENS_IS_MUSIC_STORE_FILTER_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER))
00040 #define UNITY_MUSIC_LENS_MUSIC_STORE_FILTER_PARSER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_MUSIC_LENS_TYPE_MUSIC_STORE_FILTER_PARSER, UnityMusicLensMusicStoreFilterParserIface))
00041 
00042 typedef struct _UnityMusicLensMusicStoreFilterParser UnityMusicLensMusicStoreFilterParser;
00043 typedef struct _UnityMusicLensMusicStoreFilterParserIface UnityMusicLensMusicStoreFilterParserIface;
00044 
00045 struct _UnityMusicLensMusicStoreFilterParserIface {
00046        GTypeInterface parent_iface;
00047 };
00048 
00049 
00050 
00051 GType unity_music_lens_filter_parser_get_type (void) G_GNUC_CONST;
00052 GType unity_music_lens_music_store_filter_parser_get_type (void) G_GNUC_CONST;
00053 
00054 
00055 static void unity_music_lens_music_store_filter_parser_base_init (UnityMusicLensMusicStoreFilterParserIface * iface) {
00056        static gboolean initialized = FALSE;
00057        if (!initialized) {
00058               initialized = TRUE;
00059        }
00060 }
00061 
00062 
00063 GType unity_music_lens_music_store_filter_parser_get_type (void) {
00064        static volatile gsize unity_music_lens_music_store_filter_parser_type_id__volatile = 0;
00065        if (g_once_init_enter (&unity_music_lens_music_store_filter_parser_type_id__volatile)) {
00066               static const GTypeInfo g_define_type_info = { sizeof (UnityMusicLensMusicStoreFilterParserIface), (GBaseInitFunc) unity_music_lens_music_store_filter_parser_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
00067               GType unity_music_lens_music_store_filter_parser_type_id;
00068               unity_music_lens_music_store_filter_parser_type_id = g_type_register_static (G_TYPE_INTERFACE, "UnityMusicLensMusicStoreFilterParser", &g_define_type_info, 0);
00069               g_type_interface_add_prerequisite (unity_music_lens_music_store_filter_parser_type_id, UNITY_MUSIC_LENS_TYPE_FILTER_PARSER);
00070               g_once_init_leave (&unity_music_lens_music_store_filter_parser_type_id__volatile, unity_music_lens_music_store_filter_parser_type_id);
00071        }
00072        return unity_music_lens_music_store_filter_parser_type_id__volatile;
00073 }
00074 
00075 
00076