Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
674 KeyOz 1
/***************************************************************************
2
 *   Copyright (C) 2009 by Manuel Schrape                                  *
3
 *   manuel.schrape@gmx.de                                                 *
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.        *
8
 *                                                                         *
9
 *   This program is distributed in the hope that it will be useful,       *
10
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12
 *   GNU General Public License for more details.                          *
13
 *                                                                         *
14
 *   You should have received a copy of the GNU General Public License     *
15
 *   along with this program; if not, write to the                         *
16
 *   Free Software Foundation, Inc.,                                       *
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18
 ***************************************************************************/
19
#ifndef GLOBAL_H
20
#define GLOBAL_H
21
 
22
#include <QString>
23
 
24
#ifdef Q_OS_LINUX
25
    static const QString QA_OS = "Linux";
26
#else
27
    #ifdef Q_OS_DARWIN
28
        static const QString QA_OS = "OSX";
29
    #else
30
        #ifdef Q_OS_WIN32
31
            static const QString QA_OS = "Windows";
32
        #else
33
            static const QString QA_OS = "n/a";
34
        #endif
35
    #endif
36
#endif
37
 
38
static const QString QA_AUTHOR = "Manuel Schrape";
39
static const QString QA_EMAIL  = "manuel.schrape@gmx.de";
40
 
41
struct s_Directorys
42
{
43
    QString MainData;
44
    QString MapCache;
45
    QString WPRoutes;
46
    QString Flights;
47
    QString MapPics;
48
    QString Settings;
49
    QString Logs;
50
};
51
#endif // GLOBAL_H