summaryrefslogtreecommitdiff
path: root/ui/batchStatusHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/batchStatusHandler.h')
-rw-r--r--ui/batchStatusHandler.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/batchStatusHandler.h b/ui/batchStatusHandler.h
index e4d0cae2..b2ef125b 100644
--- a/ui/batchStatusHandler.h
+++ b/ui/batchStatusHandler.h
@@ -1,9 +1,16 @@
+// **************************************************************************
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
+// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) *
+// **************************************************************************
+//
#ifndef BATCHSTATUSHANDLER_H_INCLUDED
#define BATCHSTATUSHANDLER_H_INCLUDED
#include "../library/statusHandler.h"
#include "../library/processXml.h"
#include "../library/errorLogging.h"
+#include "progressIndicator.h"
class LogFile;
class SyncStatus;
@@ -13,6 +20,7 @@ class BatchStatusHandler : public StatusHandler
{
public:
BatchStatusHandler(bool runSilent, //defines: -start minimized and -quit immediately when finished
+ const wxString& batchFilename,
const wxString* logfileDirectory, //optional: enable logging if available
const xmlAccess::OnError handleError,
int& returnVal);
@@ -37,7 +45,7 @@ private:
Process currentProcess;
int& returnValue;
- SyncStatus* syncStatusFrame;
+ SyncStatus syncStatusFrame; //the window managed by SyncStatus has longer lifetime than this handler!
boost::shared_ptr<LogFile> logFile; //optional!
};
bgstack15