2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2017 Kern Sibbald
6 The original author of Bacula is Kern Sibbald, with contributions
7 from many others, a complete list can be found in the file AUTHORS.
9 You may use this file and others of this release according to the
10 license defined in the LICENSE file, which includes the Affero General
11 Public License, v3.0 ("AGPLv3") and some additional permissions and
12 terms pursuant to its AGPLv3 Section 7.
14 This notice must be preserved when any source code is
15 conveyed and/or propagated.
17 Bacula(R) is a registered trademark of Kern Sibbald.
20 #ifndef TRAY_MONITOR_COMMON_H
21 #define TRAY_MONITOR_COMMON_H
23 #if defined(HAVE_WIN32)
25 #define _STAT_H /* don't pull in MinGW stat.h */
28 #define _STAT_DEFINED /* don't pull in MinGW stat.h */
32 #if defined(HAVE_WIN32)
33 #if defined(HAVE_MINGW)
34 #include "mingwconfig.h"
36 #include "winconfig.h"
44 #if QT_VERSION >= 0x050000
57 DbgLine(const char *fun): funct(fun) {
58 Dmsg2(0, "[%p] -> %s\n", bthread_get_thread_id(), funct);
61 Dmsg2(0, "[%p] <- %s\n", bthread_get_thread_id(), funct);
68 //#define Enter() DbgLine _enter(__PRETTY_FUNCTION__)