1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 3 /* 4 * GThumb 5 * 6 * Copyright (C) 2010 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 /* schemas */ 30 31 #define GTHUMB_WEBALBUMS_SCHEMA GTHUMB_SCHEMA ".webalbums" 32 #define GTHUMB_WEBALBUMS_DIRECTORIES_SCHEMA GTHUMB_WEBALBUMS_SCHEMA ".directories" 33 34 /* keys: webalbums */ 35 36 #define PREF_WEBALBUMS_INDEX_FILE "index-file" 37 #define PREF_WEBALBUMS_DESTINATION "destination" 38 #define PREF_WEBALBUMS_COPY_IMAGES "copy-images" 39 #define PREF_WEBALBUMS_RESIZE_IMAGES "resize-images" 40 #define PREF_WEBALBUMS_RESIZE_WIDTH "resize-width" 41 #define PREF_WEBALBUMS_RESIZE_HEIGHT "resize-height" 42 #define PREF_WEBALBUMS_IMAGES_PER_INDEX "images-per-index" 43 #define PREF_WEBALBUMS_SINGLE_INDEX "single-index" 44 #define PREF_WEBALBUMS_COLUMNS "columns" 45 #define PREF_WEBALBUMS_ADAPT_TO_WIDTH "adapt-to-width" 46 #define PREF_WEBALBUMS_SORT_TYPE "sort-type" 47 #define PREF_WEBALBUMS_SORT_INVERSE "sort-inverse" 48 #define PREF_WEBALBUMS_HEADER "header" 49 #define PREF_WEBALBUMS_FOOTER "footer" 50 #define PREF_WEBALBUMS_IMAGE_PAGE_HEADER "image-page-header" 51 #define PREF_WEBALBUMS_IMAGE_PAGE_FOOTER "image-page-footer" 52 #define PREF_WEBALBUMS_THEME "theme" 53 #define PREF_WEBALBUMS_ENABLE_THUMBNAIL_CAPTION "enable-thumbnail-caption" 54 #define PREF_WEBALBUMS_THUMBNAIL_CAPTION "thumbnail-caption" 55 #define PREF_WEBALBUMS_ENABLE_IMAGE_DESCRIPTION "enable-image-description" 56 #define PREF_WEBALBUMS_ENABLE_IMAGE_ATTRIBUTES "enable-image-attributes" 57 #define PREF_WEBALBUMS_IMAGE_ATTRIBUTES "image-attributes" 58 59 /* keys: webalbums directories */ 60 61 #define PREF_WEBALBUMS_DIR_PREVIEWS "previews" 62 #define PREF_WEBALBUMS_DIR_THUMBNAILS "thumbnails" 63 #define PREF_WEBALBUMS_DIR_IMAGES "images" 64 #define PREF_WEBALBUMS_DIR_HTML_IMAGES "html-images" 65 #define PREF_WEBALBUMS_DIR_HTML_INDEXES "html-indexes" 66 #define PREF_WEBALBUMS_DIR_THEME_FILES "theme-files" 67 68 G_END_DECLS 69 70 #endif /* PREFERENCES_H */ 71