summaryrefslogtreecommitdiff
path: root/src/pincodemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pincodemanager.h')
-rw-r--r--src/pincodemanager.h8
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;