*/
#include "tray-ui.h"
-#include "tray-monitor.h"
int doconnect(monitoritem* item);
int docmd(monitoritem* item, const char* command);
#ifndef TRAY_MONITOR_H
#define TRAY_MONITOR_H
+#ifdef HAVE_WIN32
+# ifndef _STAT_DEFINED
+# define _STAT_DEFINED 1 /* don't pull in MinGW struct stat from wchar.h */
+# endif
+#endif
+
#include <QString>
#include <QStringList>
+
#include "bacula.h"
#include "tray_conf.h"
#include "jcr.h"
+
struct job_defaults {
QString job_name;
QString pool_name;
#ifndef TRAYUI_H
#define TRAYUI_H
+#ifdef HAVE_WIN32
+# ifndef _STAT_DEFINED
+# define _STAT_DEFINED 1 /* don't pull in MinGW struct stat from wchar.h */
+# endif
+#endif
+
#include <QAction>
#include <QApplication>
#include <QButtonGroup>
#include <QDebug>
#include <QMessageBox>
#include <QFont>
+
#include "version.h"
#include "ui/ui_run.h"
#include "tray-monitor.h"
-
class RunDlg: public QDialog, public Ui::runForm
{
Q_OBJECT