aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgKeyManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/function/gpg/GpgKeyManager.h')
-rw-r--r--src/core/function/gpg/GpgKeyManager.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/function/gpg/GpgKeyManager.h b/src/core/function/gpg/GpgKeyManager.h
index f967dee7..62f7baca 100644
--- a/src/core/function/gpg/GpgKeyManager.h
+++ b/src/core/function/gpg/GpgKeyManager.h
@@ -99,13 +99,13 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyManager
using Command = std::string;
using AutomatonState = enum {
- START,
- COMMAND,
- VALUE,
- REALLY_ULTIMATE,
- SAVE,
- ERROR,
- QUIT,
+ AS_START,
+ AS_COMMAND,
+ AS_VALUE,
+ AS_REALLY_ULTIMATE,
+ AS_SAVE,
+ AS_ERROR,
+ AS_QUIT,
};
struct AutomatonHandelStruct;
@@ -137,7 +137,7 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyManager
AutomatonHandelStruct(std::string key_fpr) : key_fpr_(key_fpr) {}
private:
- AutomatonState current_state_ = START;
+ AutomatonState current_state_ = AS_START;
AutomatonNextStateHandler next_state_handler_;
AutomatonActionHandler action_handler_;
bool success_ = false;