| 1 | /*************************************************************************** |
| 2 | * Copyright (C) 2004-2005 Artur Wiebe * |
| 3 | * [email protected] * |
| 4 | * * |
| 5 | * This program is free software; you can redistribute it and/or modify * |
| 6 | * it under the terms of the GNU General Public License as published by * |
| 7 | * the Free Software Foundation; either version 2 of the License, or * |
| 8 | * (at your option) any later version. * |
| 9 | * * |
| 10 | * This program is distributed in the hope that it will be useful, * |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 13 | * GNU General Public License for more details. * |
| 14 | * * |
| 15 | * You should have received a copy of the GNU General Public License * |
| 16 | * along with this program; if not, write to the * |
| 17 | * Free Software Foundation, Inc., * |
| 18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
| 19 | ***************************************************************************/ |
| 20 | |
| 21 | #ifndef _COMMON_H_ |
| 22 | #define _COMMON_H_ |
| 23 | |
| 24 | |
| 25 | #define APPNAME "QCheckers" |
| 26 | #define VERSION "0.8.1" |
| 27 | #define EXT "pdn" |
| 28 | |
| 29 | |
| 30 | #define HOMEPAGE "http://qcheckers.wibix.de" |
| 31 | #define COPYRIGHT "(c) 2002-2003, Andi Peredri ([email protected])<br>" \ |
| 32 | "(c) 2004-2005, Artur Wiebe ([email protected])" |
| 33 | #define CONTRIBS "Sebastien Prud'homme ([email protected])<br>" \ |
| 34 | "Guillaume Bedot ([email protected])" |
| 35 | |
| 36 | #ifndef PREFIX |
| 37 | #define PREFIX "/usr/local" |
| 38 | #endif |
| 39 | |
| 40 | #define USER_PATH ".qcheckers" // in $HOME |
| 41 | #define THEME_DIR "themes/" |
| 42 | |
| 43 | // some keys for QSettings |
| 44 | #define CFG_KEY "/"APPNAME"/" |
| 45 | |
| 46 | // |
| 47 | #define DEFAULT_THEME "Default" |
| 48 | // |
| 49 | #define THEME_TILE1 "tile1.png" |
| 50 | #define THEME_TILE2 "tile2.png" |
| 51 | #define THEME_FRAME "frame.png" |
| 52 | #define THEME_MANBLACK "manblack.png" |
| 53 | #define THEME_MANWHITE "manwhite.png" |
| 54 | #define THEME_KINGBLACK "kingblack.png" |
| 55 | #define THEME_KINGWHITE "kingwhite.png" |
| 56 | #define THEME_FILE "theme" |
| 57 | |
| 58 | // |
| 59 | #define MAX_TILE_SIZE 64 |
| 60 | |
| 61 | #endif |
| 62 |