1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 
3 /*
4  *  Goo
5  *
6  *  Copyright (C) 2004-2011 Free Software Foundation, Inc.
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef PREFERENCES_H
23 #define PREFERENCES_H
24 
25 #include <gtk/gtk.h>
26 
27 #define GOOBOX_SCHEMA                "org.gnome.Goobox"
28 #define GOOBOX_SCHEMA_GENERAL        GOOBOX_SCHEMA ".General"
29 #define GOOBOX_SCHEMA_UI             GOOBOX_SCHEMA ".UI"
30 #define GOOBOX_SCHEMA_PLAYLIST       GOOBOX_SCHEMA ".Playlist"
31 #define GOOBOX_SCHEMA_RIPPER         GOOBOX_SCHEMA ".Ripper"
32 #define GOOBOX_SCHEMA_ENCODER        GOOBOX_SCHEMA ".Encoder"
33 
34 #define PREF_GENERAL_DEVICE           "device"
35 #define PREF_GENERAL_VOLUME           "volume"
36 #define PREF_GENERAL_COVER_PATH       "cover-path"
37 #define PREF_GENERAL_USE_SJ           "use-sound-juicer"
38 #define PREF_GENERAL_AUTOPLAY         "autoplay"
39 
40 #define PREF_UI_WINDOW_WIDTH          "window-width"
41 #define PREF_UI_WINDOW_HEIGHT         "window-height"
42 
43 #define PREF_PLAYLIST_PLAYALL         "play-all"
44 #define PREF_PLAYLIST_SHUFFLE         "shuffle"
45 #define PREF_PLAYLIST_REPEAT          "repeat"
46 #define PREF_PLAYLIST_SORT_METHOD     "sort-method"
47 #define PREF_PLAYLIST_SORT_TYPE       "sort-type"
48 
49 #define PREF_RIPPER_DESTINATION       "destination"
50 #define PREF_RIPPER_FILETYPE          "file-type"
51 #define PREF_RIPPER_SAVE_PLAYLIST     "save-playlist"
52 
53 #define PREF_ENCODER_OGG_QUALITY      "ogg-quality"
54 #define PREF_ENCODER_FLAC_COMPRESSION "flac-compression"
55 #define PREF_ENCODER_MP3_QUALITY      "mp3-quality"
56 
57 #endif /* PREFERENCES_H */
58