-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
63 lines (50 loc) · 2.39 KB
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// -*- mode: c++ -*-
/***************************************************************************************************
**
** $QTCARTO_BEGIN_LICENSE:GPL3$
**
** Copyright (C) 2016 Fabrice Salvaire
** Contact: http://www.fabrice-salvaire.fr
**
** This file is part of the Alpine Toolkit software.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <http://www.gnu.org/licenses/>.
**
** $QTCARTO_END_LICENSE$
**
***************************************************************************************************/
#ifndef __CONFIG_H__
#define __CONFIG_H__
/**************************************************************************************************/
#include <QUrl>
#include <QVersionNumber>
/**************************************************************************************************/
static const QVersionNumber ALPINE_TOOLKIT_VERSION(@ALPINE_TOOLKIT_VERSION_MAJOR@,
@ALPINE_TOOLKIT_VERSION_MINOR@,
@ALPINE_TOOLKIT_VERSION_PATCH@);
static const QUrl ALPINE_TOOLKIT_URL = QUrl(QLatin1String("https://alpine-toolkit.fabrice-salvaire.fr"));
static const QString APPLICATION_NAME = QLatin1String("Alpine Toolkit");
static const QString ORGANISATION_NAME = QLatin1String("Alpine Toolkit");
#ifdef ON_LINUX
static const QString CONFIG_DIRECTORY_NAME = QLatin1String("alpine-toolkit");
#endif
#ifdef ON_ANDROID
static const QString ANDROID_PACKAGE_NAME = QLatin1String("org.alpine_toolkit");
// Set search path so as to find (epsg) date files when carto is loaded
static const char * PROJ4_DATA_PATH = "/data/user/0/org.alpine_toolkit/files/assets/proj4_data";
#endif
// #cmakedefine FOO_ENABLE
// #cmakedefine FOO_STRING "@FOO_STRING@"
/**************************************************************************************************/
#endif // __CONFIG_H__