1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 3 /* 4 * GThumb 5 * 6 * Copyright (C) 2009 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 <gthumb.h> 26 27 G_BEGIN_DECLS 28 29 /* schema */ 30 31 #define GTHUMB_RESIZE_IMAGES_SCHEMA GTHUMB_SCHEMA ".resize-images" 32 33 /* keys */ 34 35 #define PREF_RESIZE_IMAGES_SERIES_WIDTH "width" 36 #define PREF_RESIZE_IMAGES_SERIES_HEIGHT "height" 37 #define PREF_RESIZE_IMAGES_UNIT "unit" 38 #define PREF_RESIZE_IMAGES_KEEP_RATIO "keep-aspect-ratio" 39 #define PREF_RESIZE_IMAGES_MIME_TYPE "mime-type" 40 41 G_END_DECLS 42 43 #endif /* PREFERENCES_H */ 44