diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-14 00:49:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-14 00:49:40 +0300 |
commit | acd87806b767d70c0676c0f800e23a7ce4f623e0 (patch) | |
tree | 3929d2c0e19d4abe9db62943816a156e7472eb19 /src/pincodemanager.h | |
parent | a14077ce17133d7a7e12a747c067c07deca1c1f7 (diff) | |
download | manaverse-acd87806b767d70c0676c0f800e23a7ce4f623e0.tar.gz manaverse-acd87806b767d70c0676c0f800e23a7ce4f623e0.tar.bz2 manaverse-acd87806b767d70c0676c0f800e23a7ce4f623e0.tar.xz manaverse-acd87806b767d70c0676c0f800e23a7ce4f623e0.zip |
Add packet SMSG_CHAR_PINCODE_STATUS2 0x0ae9.
Diffstat (limited to 'src/pincodemanager.h')
-rw-r--r-- | src/pincodemanager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pincodemanager.h b/src/pincodemanager.h index c1613fa7e..49d081157 100644 --- a/src/pincodemanager.h +++ b/src/pincodemanager.h @@ -49,6 +49,8 @@ class PincodeManager final void wrongPin(); + void lockedPin(); + void setSeed(const uint32_t seed) { mSeed = seed; } @@ -58,6 +60,9 @@ class PincodeManager final void setState(const PincodeStateT state) { mState = state; } + void setPincodeLockFlag(const bool flag) + { mLockFlag = flag; } + void changePincode(const std::string &pincode); void clearDialog(const PincodeDialog *const PincodeDialog); @@ -70,6 +75,8 @@ class PincodeManager final bool isBlocked(); + bool processPincodeStatus(const uint16_t state); + protected: std::string mOldPincode; std::string mNewPincode; @@ -77,6 +84,7 @@ class PincodeManager final BeingId mAccountId; Window *mDialog; PincodeStateT mState; + bool mLockFlag; }; extern PincodeManager pincodeManager; |