| Line | Revision | Contents |
| 1 | 17 | /* Calliope Music Player |
| 2 | 185 | * Copyright 2005-09 Sam Thursfield <ssssam gmail.com> |
| 3 | 17 | * |
| 4 | * This program is free software: you can redistribute it and/or modify | |
| 5 | * it under the terms of the GNU General Public License as published by | |
| 6 | * the Free Software Foundation, either version 3 of the License, or | |
| 7 | * (at your option) any later version. | |
| 8 | * | |
| 9 | * This program is distributed in the hope that it will be useful, | |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | * GNU General Public License for more details. | |
| 13 | * | |
| 14 | * You should have received a copy of the GNU General Public License | |
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 16 | */ | |
| 17 | ||
| 18 | #ifndef _MUSICSOURCEIMPORTING_H | |
| 19 | #define _MUSICSOURCEIMPORTING_H | |
| 20 | ||
| 21 | #include <glib-object.h> | |
| 22 | #include "musicsource.h" | |
| 23 | 51 | #include "genericview.h" |
| 24 | 17 | |
| 25 | G_BEGIN_DECLS | |
| 26 | ||
| 27 | #define MUSIC_SOURCE_IMPORTING_TYPE (music_source_importing_get_type()) | |
| 28 | #define MUSIC_SOURCE_IMPORTING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), MUSIC_SOURCE_IMPORTING_TYPE, MusicSourceImporting)) | |
| 29 | #define MUSIC_SOURCE_IMPORTING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), MUSIC_SOURCE_IMPORTING_TYPE, MusicSourceImportingClass)) | |
| 30 | #define IS_MUSIC_SOURCE_IMPORTING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), MUSIC_SOURCE_IMPORTING_TYPE)) | |
| 31 | #define IS_MUSIC_SOURCE_IMPORTING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), MUSIC_SOURCE_IMPORTING_TYPE)) | |
| 32 | #define MUSIC_SOURCE_IMPORTING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), MUSIC_SOURCE_IMPORTING_TYPE, MusicSourceImportingClass)) | |
| 33 | ||
| 34 | typedef struct MusicSourceImportingPrivate MusicSourceImportingPrivate; | |
| 35 | typedef struct { | |
| 36 | MusicSource parent; | |
| 37 | MusicSourceImportingPrivate *priv; | |
| 38 | // Protected | |
| 39 | GPtrArray *data[ENTRY_TYPE_COUNT]; | |
| 40 | 451 | int total[ENTRY_TYPE_COUNT]; int dead[ENTRY_TYPE_COUNT]; |
| 41 | Entry *unknown_artist_entry, *various_artists_entry; | |
| 42 | 17 | } MusicSourceImporting; |
| 43 | ||
| 44 | typedef struct { | |
| 45 | MusicSourceClass parent; | |
| 46 | } MusicSourceImportingClass; | |
| 47 | ||
| 48 | GType music_source_importing_get_type (void)G_GNUC_CONST; | |
| 49 | void music_source_importing_dump(MusicSourceImporting *self); | |
| 50 | ||
| 51 | G_END_DECLS | |
| 52 | ||
| 53 | #endif |
Loggerhead is a web-based interface for Bazaar branches