summaryrefslogtreecommitdiff
path: root/src/pincodemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-08 06:07:15 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-08 06:07:15 +0300
commitfc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d (patch)
treef7f8af4849bc214a27ea8205410568b76ce5ec30 /src/pincodemanager.h
parent6b3b81988ea37207eeeb2994761e307c6b6fb340 (diff)
downloadmanaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.tar.gz
manaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.tar.bz2
manaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.tar.xz
manaplus-fc1ca42ed5a1b2d83a1dc8f94709a057b8e28e9d.zip
Add support for change pin code by server request.
Diffstat (limited to 'src/pincodemanager.h')
-rw-r--r--src/pincodemanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pincodemanager.h b/src/pincodemanager.h
index 671333e59..37b7e6921 100644
--- a/src/pincodemanager.h
+++ b/src/pincodemanager.h
@@ -58,6 +58,8 @@ class PincodeManager final
void setState(const PincodeState state)
{ mState = state; }
+ void changePincode(const std::string &pincode);
+
void clearDialog(const PincodeDialog *const PincodeDialog);
void setNewPincode(const std::string &pincode);
@@ -69,6 +71,7 @@ class PincodeManager final
bool isBlocked();
protected:
+ std::string mOldPincode;
std::string mNewPincode;
uint32_t mSeed;
BeingId mAccountId;