Subversion Repositories Projects

Rev

Rev 801 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 801 Rev 906
1
/***************************************************************************
1
/***************************************************************************
2
 *   Copyright (C) 2009 by Manuel Schrape                                  *
2
 *   Copyright (C) 2009 by Manuel Schrape                                  *
3
 *   manuel.schrape@gmx.de                                                 *
3
 *   manuel.schrape@gmx.de                                                 *
4
 *                                                                         *
4
 *                                                                         *
5
 *   This program is free software; you can redistribute it and/or modify  *
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  *
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.        *
7
 *   the Free Software Foundation; either version 2 of the License.        *
8
 *                                                                         *
8
 *                                                                         *
9
 *   This program is distributed in the hope that it will be useful,       *
9
 *   This program is distributed in the hope that it will be useful,       *
10
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
10
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12
 *   GNU General Public License for more details.                          *
12
 *   GNU General Public License for more details.                          *
13
 *                                                                         *
13
 *                                                                         *
14
 *   You should have received a copy of the GNU General Public License     *
14
 *   You should have received a copy of the GNU General Public License     *
15
 *   along with this program; if not, write to the                         *
15
 *   along with this program; if not, write to the                         *
16
 *   Free Software Foundation, Inc.,                                       *
16
 *   Free Software Foundation, Inc.,                                       *
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18
 ***************************************************************************/
18
 ***************************************************************************/
19
#ifndef DEFINES_H
19
#ifndef DEFINES_H
20
#define DEFINES_H
20
#define DEFINES_H
21
 
21
 
22
#include <QString>
22
#include <QString>
23
#include "../Global/Global.h"
23
#include "../Global/Global.h"
24
#include "../Global/Kopter.h"
24
#include "../Global/Kopter.h"
25
 
25
 
26
static const QString QA_NAME = "QMK-Maps";
26
static const QString QA_NAME = "QMK-Communicator";
27
static const QString QA_VERSION_NR = "1.3.0";
27
static const QString QA_VERSION_NR = "1.3.1";
28
 
28
 
29
#ifdef _BETA_
29
#ifdef _BETA_
30
    static const QString QA_VERSION = QA_VERSION_NR + " (BETA)";
30
    static const QString QA_VERSION = QA_VERSION_NR + " (BETA)";
31
#else
31
#else
32
    static const QString QA_VERSION = QA_VERSION_NR;
32
    static const QString QA_VERSION = QA_VERSION_NR;
33
#endif
33
#endif
34
 
34
 
35
static const QString QA_DATE = "25.08.2010";
35
static const QString QA_DATE = "05.02.2011";
36
static const QString QA_YEAR = "2008-2010";
36
static const QString QA_YEAR = "2008-2011";
37
 
37
 
38
static const QString QA_ABOUT =
38
static const QString QA_ABOUT =
39
    "<HTML>"
39
    "<HTML>"
40
    "<p><b><font size=8>" + QA_NAME + "</font></b></p>"
40
    "<p><b><font size=8>" + QA_NAME + "</font></b></p>"
41
    "<br />"
41
    "<br />"
42
    "Version " + QA_VERSION + " - " + QA_DATE + " on " + QA_OS + ""
42
    "Version " + QA_VERSION + " - " + QA_DATE + " on " + QA_OS + ""
43
    "<br /><br /><b>kompatibel zu " + QA_HWVERSION + "</b>"
43
    "<br /><br /><b>kompatibel zu " + QA_HWVERSION + "</b>"
44
    "<br /><br />"
44
    "<br /><br />"
45
    "(C) " + QA_YEAR + " by " + QA_AUTHOR + " - "
45
    "(C) " + QA_YEAR + " by " + QA_AUTHOR + " - "
46
    "<a href=\"mailto:" + QA_EMAIL + "\">" + QA_EMAIL + "</a> <br /><br />"
46
    "<a href=\"mailto:" + QA_EMAIL + "\">" + QA_EMAIL + "</a> <br /><br />"
47
    "Groundstation-Programm f&uuml;r den Mikrokopter<br /><br />"
47
    "Groundstation-Programm f&uuml;r den Mikrokopter<br /><br />"
48
    "QMK-Maps - Positionsanzeige und Waypoint-Programmierung.<br /><br /> "
48
    "QMK-Communicator - Kommunikations-Schnittstelle zum Mikrokopter.<br /><br /> "
49
    "Dieses Programm wird unter den Bedingungen der GPL v2 ver&ouml;ffentlicht."
49
    "Dieses Programm wird unter den Bedingungen der GPL v2 ver&ouml;ffentlicht."
50
    "</HTML>";
50
    "</HTML>";
51
 
51
 
52
static const QString DataFields = "VWXO";
52
static const int DEV_IP_PORT = 64400;
-
 
53
static const int DEV_IP_MAX  = 21;
-
 
54
 
-
 
55
static const QString Base64Hash = "IypzZUNyRXQhQC0qJQ==";
53
 
56
 
54
#endif // DEFINES_H
57
#endif // DEFINES_H
55
 
58