1 /* 2 * frogr-global-defs.h -- Global definitions and constants 3 * 4 * Copyright (C) 2009-2012 Mario Sanchez Prada 5 * Authors: Mario Sanchez Prada <msanchez@gnome.org> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of version 3 of the GNU General Public 9 * License as published by the Free Software Foundation. 10 * 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 GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, see <http://www.gnu.org/licenses/> 18 * 19 */ 20 21 #ifndef FROGR_GLOBAL_DEFS_H 22 #define FROGR_GLOBAL_DEFS_H 23 24 #include <config.h> 25 26 #define APP_NAME N_("Flickr Remote Organizer") 27 #define APP_SHORTNAME PACKAGE_NAME 28 #define APP_VERSION PACKAGE_VERSION 29 #define APP_ID "org.gnome.frogr" 30 31 /* Max width and heigth for pictures in the icon view. 32 * 33 * These values will impact directly memory comsumption because it 34 * will be the size of the pixbuf that will remain in memory during 35 * the whole life of every FrogrPicture object. 36 */ 37 #define IV_THUMB_WIDTH 136 38 #define IV_THUMB_HEIGHT 136 39 40 /* Padding to be used in the icon view */ 41 #define IV_THUMB_PADDING 4 42 43 #if DEBUG_ENABLED 44 #define DEBUG(...) g_debug (__VA_ARGS__); 45 #else 46 #define DEBUG(...) 47 #endif 48 49 #endif 50