summaryrefslogtreecommitdiff
path: root/ui/progress_indicator.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
commit98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch)
treefaadc6d8822c20cd3bc6f50b2a98e6c580585949 /ui/progress_indicator.h
parent3.16 (diff)
downloadFreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip
3.17
Diffstat (limited to 'ui/progress_indicator.h')
-rw-r--r--ui/progress_indicator.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/ui/progress_indicator.h b/ui/progress_indicator.h
index 4bf0c048..34e2c1a5 100644
--- a/ui/progress_indicator.h
+++ b/ui/progress_indicator.h
@@ -10,8 +10,9 @@
#include "../shared/zstring.h"
#include <wx/toplevel.h>
#include "../library/status_handler.h"
+#include "main_dlg.h"
-namespace ffs3
+namespace zen
{
class ErrorLogging;
}
@@ -28,9 +29,9 @@ public:
void init(); //make visible, initialize all status values
void finalize(); //hide again
- void switchToCompareBytewise(int totalObjectsToProcess, wxLongLong totalDataToProcess);
+ void switchToCompareBytewise(int totalObjectsToProcess, zen::Int64 totalDataToProcess);
void incScannedObjects_NoUpdate(int number);
- void incProcessedCmpData_NoUpdate(int objectsProcessed, wxLongLong dataProcessed);
+ void incProcessedCmpData_NoUpdate(int objectsProcessed, zen::Int64 dataProcessed);
void setStatusText_NoUpdate(const Zstring& text);
void updateStatusPanelNow();
@@ -43,8 +44,8 @@ private:
class SyncStatus
{
public:
- SyncStatus(StatusHandler& updater,
- wxTopLevelWindow* parentWindow, //may be NULL
+ SyncStatus(AbortCallback& abortCb,
+ MainDialog* parentWindow, //may be NULL
bool startSilent,
const wxString& jobName);
~SyncStatus();
@@ -62,9 +63,9 @@ public:
SYNCHRONIZING
};
- void resetGauge(int totalObjectsToProcess, wxLongLong totalDataToProcess);
+ void resetGauge(int totalObjectsToProcess, zen::Int64 totalDataToProcess);
void incScannedObjects_NoUpdate(int number);
- void incProgressIndicator_NoUpdate(int objectsProcessed, wxLongLong dataProcessed);
+ void incProgressIndicator_NoUpdate(int objectsProcessed, zen::Int64 dataProcessed);
void setStatusText_NoUpdate(const Zstring& text);
void updateStatusDialogNow();
@@ -72,7 +73,7 @@ public:
//essential to call one of these two methods in StatusUpdater derived class destructor at the LATEST(!)
//to prevent access to callback to updater (e.g. request abort)
- void processHasFinished(SyncStatusID id, const ffs3::ErrorLogging& log);
+ void processHasFinished(SyncStatusID id, const zen::ErrorLogging& log);
void closeWindowDirectly(); //don't wait for user
private:
bgstack15