| 1 | /*********************************************************************** |
| 2 | * |
| 3 | * Copyright (C) 2010-2017 Innocent De Marchi <[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 3 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, see <http://www.gnu.org/licenses/>. |
| 17 | * |
| 18 | ***********************************************************************/ |
| 19 | #ifndef CONSTANTS_H |
| 20 | #define CONSTANTS_H |
| 21 | |
| 22 | enum EstatsDelJoc { |
| 23 | joc = 0x0, |
| 24 | solucio = 0x1 |
| 25 | }; |
| 26 | |
| 27 | //struct variables_recerca_solucio { |
| 28 | // int valorMinimMovimentsJoc; |
| 29 | // int valorMinimIndexDeMovimentsPerMovimentsMassius; |
| 30 | // int valorMaximIndexDeMovimentsPerMovimentsMassius; |
| 31 | // int maximNumeroDeConjunts; |
| 32 | // int maximNumeroDeFitxesAillades; |
| 33 | // int minimIndexDeMoviments; |
| 34 | // int minimNumeroDeConjuntsActual; |
| 35 | // int minimNumeroDeFitxesAilladesActual; |
| 36 | // int minimIndexMovimentsPerFiltrarMovimentsSeleccionats; |
| 37 | //} ; |
| 38 | |
| 39 | /* |
| 40 | Directoris |
| 41 | */ |
| 42 | const QString DIRECTORIS_LINUX="/usr/share/games/peg-solitaire"; |
| 43 | const QString DIRECTORIS_LINUX_PROGRAMA="/games"; |
| 44 | const QString DIRECTORIS_LINUX_AUXILIARS="/usr/share/games/peg-solitaire"; |
| 45 | const QString DIRECTORI_ARXIU_GAMES_SOL="/games/data.sol"; |
| 46 | const QString DIRECTORI_IMATGES="images"; |
| 47 | const QString DIRECTORI_LOCALES="locales"; |
| 48 | const QString DIRECTORI_DADES="games"; |
| 49 | const QString DIR_HELP="help"; |
| 50 | |
| 51 | const QString ADRECA_WEB_REGISTRE="http://peg-solitaire.sourceforge.net/registre.html"; |
| 52 | const QString ADRECA_WEB_PROGRAMA_1="http://peg-solitaire.sourceforge.net/"; |
| 53 | const QString ADRECA_WEB_PROGRAMA_2="http://sourceforge.net/projects/peg-solitaire/"; |
| 54 | const QString ADRECA_WEB_PROGRAMA_PECES="http://pecesjocdetangr.sourceforge.net/"; |
| 55 | const QString ADRECA_CORREU="[email protected]"; |
| 56 | |
| 57 | |
| 58 | #endif // CONSTANTS_H |