summaryrefslogtreecommitdiffstats
path: root/logic/auth/MojangAccountList.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-15 18:10:51 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-15 18:13:46 +0100
commitdd9e04000ccd02a868138de9276f8fb93b855550 (patch)
tree496985ef1c0d0d1ba724948b87aaf641a78c624b /logic/auth/MojangAccountList.h
parent5a3043398e45cbe39455609a42463f2e6e5d3fd2 (diff)
downloadMultiMC-dd9e04000ccd02a868138de9276f8fb93b855550.tar
MultiMC-dd9e04000ccd02a868138de9276f8fb93b855550.tar.gz
MultiMC-dd9e04000ccd02a868138de9276f8fb93b855550.tar.lz
MultiMC-dd9e04000ccd02a868138de9276f8fb93b855550.tar.xz
MultiMC-dd9e04000ccd02a868138de9276f8fb93b855550.zip
Improve group changing, update instance on version change
Gives a list of existing groups to choose from. Instances are updated as long as there is at least one valid account.
Diffstat (limited to 'logic/auth/MojangAccountList.h')
-rw-r--r--logic/auth/MojangAccountList.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/auth/MojangAccountList.h b/logic/auth/MojangAccountList.h
index c7e30958..6f4fbb17 100644
--- a/logic/auth/MojangAccountList.h
+++ b/logic/auth/MojangAccountList.h
@@ -126,6 +126,11 @@ public:
* If the username given is an empty string, sets the active account to nothing.
*/
virtual void setActiveAccount(const QString &username);
+
+ /*!
+ * Returns true if any of the account is at least Validated
+ */
+ bool anyAccountIsValid();
signals:
/*!