]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/bat.h
Backport from BEE
[bacula/bacula] / bacula / src / qt-console / bat.h
1 #ifndef _BAT_H_
2 #define _BAT_H_
3
4 /*
5    Bacula® - The Network Backup Solution
6
7    Copyright (C) 2007-2014 Free Software Foundation Europe e.V.
8
9    The main author of Bacula is Kern Sibbald, with contributions from many
10    others, a complete list can be found in the file AUTHORS.
11
12    You may use this file and others of this release according to the
13    license defined in the LICENSE file, which includes the Affero General
14    Public License, v3.0 ("AGPLv3") and some additional permissions and
15    terms pursuant to its AGPLv3 Section 7.
16
17    Bacula® is a registered trademark of Kern Sibbald.
18 */
19 /*
20  *   Kern Sibbald, January 2007
21  */
22
23 #if defined(HAVE_WIN32)
24 #if !defined(_STAT_H)
25 #define _STAT_H       /* don't pull in MinGW stat.h */
26 #define _STAT_DEFINED /* don't pull in MinGW stat.h */
27 #endif
28 #endif
29
30 #if defined(HAVE_WIN32)
31 #if defined(HAVE_MINGW)
32 #include "mingwconfig.h"
33 #else
34 #include "winconfig.h"
35 #endif
36 #else
37 #include "config.h"
38 #endif
39 #define __CONFIG_H
40
41 #include <QtGui>
42 #include <QtCore>
43 #include "bacula.h"
44 #include "mainwin.h"
45 #include "bat_conf.h"
46 #include "jcr.h"
47 #include "console.h"
48
49 extern MainWin *mainWin;
50 extern QApplication *app;
51
52 bool isWin32Path(QString &fullPath);
53
54 #endif /* _BAT_H_ */