summaryrefslogtreecommitdiff
path: root/ui/batchStatusHandler.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:05:30 +0200
commitc0fce877c478ddbf71a1b651c789e5ea00a00144 (patch)
treede01b0ae8fd296bd24fbca54a80f2f0ba071d461 /ui/batchStatusHandler.h
parent3.3 (diff)
downloadFreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.gz
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.tar.bz2
FreeFileSync-c0fce877c478ddbf71a1b651c789e5ea00a00144.zip
3.4
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