* Kern Sibbald, January 2007
*/
-#include "config.h"
+#if defined(HAVE_WIN32)
+#if !defined(_STAT_H)
+#define _STAT_H /* don't pull in MinGW stat.h */
+#define _STAT_DEFINED /* don't pull in MinGW stat.h */
+#endif
+#endif
+
#include <QtGui>
#include <QtCore>
-#include "mainwin.h"
#include "bacula.h"
+#include "mainwin.h"
#include "bat_conf.h"
#include "jcr.h"
#include "console.h"
* then move it to allocated memory when the resource
* scan is complete.
*/
+#if defined(MSC_VER)
+extern "C" URES res_all; /* visual c mangles variable names */
+#else
URES res_all;
+#endif
int32_t res_all_size = sizeof(res_all);
/* Definition of records permitted within each
*
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QMenu>
-#include "bat.h"
#include "clients/clients.h"
#include "run/run.h"
#include "status/clientstat.h"
*
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QMenu>
-#include "bat.h"
#include "fileset/fileset.h"
#include "util/fmtwidgetitem.h"
*
*/
-#include <QtGui>
#include "bat.h"
+#include <QtGui>
#include "util/comboutil.h"
#include "jobgraphs/jobplot.h"
* Dirk Bartley, March 2007
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QTableWidgetItem>
-#include "bat.h"
#include "joblist.h"
#include "restore.h"
#include "joblog/joblog.h"
*/
+#include "bat.h"
#include <QApplication>
#include <QTranslator>
-#include "bat.h"
MainWin *mainWin;
QApplication *app;
* Dirk Bartley, March 2007
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QTableWidgetItem>
#include <QMessageBox>
-#include "bat.h"
#include "mediaedit.h"
-#include <inttypes.h>
/*
* A constructor
*
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QMenu>
#include <math.h>
-#include "bat.h"
#include "medialist.h"
#include "mediaedit/mediaedit.h"
#include "joblist/joblist.h"
* Dirk Bartley, March 2007
*/
-#include "pages.h"
#include "bat.h"
+#include "pages.h"
/* A global function */
bool isWin32Path(QString &fullPath)
* Dirk Bartley, March 2007
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QTableWidgetItem>
-#include "bat.h"
#include "clientstat.h"
/*
* Dirk Bartley, March 2007
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QTableWidgetItem>
-#include "bat.h"
#include "dirstat.h"
/*
* Dirk Bartley, March 2007
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QTableWidgetItem>
-#include "bat.h"
#include "storstat.h"
#include "mount/mount.h"
*
*/
+#include "bat.h"
#include <QAbstractEventDispatcher>
#include <QMenu>
-#include "bat.h"
#include "storage.h"
#include "label/label.h"
#include "mount/mount.h"
*
*/
+#include "bat.h"
#include <QComboBox>
#include <QString>
#include <QStringList>
-#include "bat.h"
#include "fmtwidgetitem.h"
#include "comboutil.h"
*
*/
+#include "bat.h"
#include <QTreeWidgetItem>
#include <QTableWidget>
#include <QTableWidgetItem>
#include <QString>
#include <QStringList>
#include <math.h>
-#include "bat.h"
#include "fmtwidgetitem.h"
/***********************************************
General:
07Nov08
+kes Apply Riccardo's second patch that cleans up the #include
+ file order + a few Win32 particularities to make bat work
+ on Win32.
ebl Add allow_transactions flag to mysql db backend.
kes Apply win32-fixes patch from Riccardo that makes the Win32
bat more stable and faster (but still slow).