2006-12-12 James Livingston <doclivingston@gmail.com>
[rhythmbox.git] / metadata / sj-error.h
blobc3e456de4bc6277bcd4a89e086231812f2676582
1 /*
2 * Copyright (C) 2003 Ross Burton <ross@burtonini.com>
4 * Sound Juicer - sj-error.h
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
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, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 * Authors: Ross Burton <ross@burtonini.com>
23 #ifndef SJ_ERROR_H
24 #define SJ_ERROR_H
26 #include <glib.h>
28 #define SJ_ERROR sj_error_quark ()
30 typedef enum {
31 SJ_ERROR_INTERNAL_ERROR,
32 SJ_ERROR_CD_PERMISSION_ERROR,
33 SJ_ERROR_CD_NO_MEDIA,
34 SJ_ERROR_CD_LOOKUP_ERROR
35 } SjError;
37 GQuark sj_error_quark (void) G_GNUC_CONST;
39 #endif