aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/Source/mainwindow.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2013-05-06 00:01:04 +1000
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2013-05-06 00:01:08 +1000
commit59cc6133d532763dbb11592e15551ddf59c14773 (patch)
treebceb3b96c835db578f0b7c67d62263dd4c12b4b5 /heimdall-frontend/Source/mainwindow.h
parentf46ef9d47a2b22ca37d763ac98c70afe26929ef3 (diff)
downloadexternal_heimdall-59cc6133d532763dbb11592e15551ddf59c14773.zip
external_heimdall-59cc6133d532763dbb11592e15551ddf59c14773.tar.gz
external_heimdall-59cc6133d532763dbb11592e15551ddf59c14773.tar.bz2
Fixed bug in Heimdall Frontend where "resume" wasn't being checked when it should have been.
Diffstat (limited to 'heimdall-frontend/Source/mainwindow.h')
-rw-r--r--heimdall-frontend/Source/mainwindow.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/heimdall-frontend/Source/mainwindow.h b/heimdall-frontend/Source/mainwindow.h
index 4abee8c..f7a67e4 100644
--- a/heimdall-frontend/Source/mainwindow.h
+++ b/heimdall-frontend/Source/mainwindow.h
@@ -45,15 +45,14 @@ namespace HeimdallFrontend
private:
- enum
+ enum class HeimdallState
{
- kHeimdallStateStopped = 0,
- kHeimdallStateFlashing,
- kHeimdallStateDetectingDevice,
- kHeimdallStateClosingPcScreen,
- kHeimdallStatePrintingPit,
- kHeimdallStateDownloadingPit,
- kHeimdallStateCount
+ Stopped = 0,
+ Flashing,
+ DetectingDevice,
+ ClosingPcScreen,
+ PrintingPit,
+ DownloadingPit
};
enum
@@ -69,7 +68,7 @@ namespace HeimdallFrontend
int tabIndex;
bool heimdallFailed;
- int heimdallState;
+ HeimdallState heimdallState;
QProcess heimdallProcess;
PackageData loadedPackageData;