diff options
author | Andrew <forkk@forkk.net> | 2013-11-18 12:05:35 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-18 12:05:35 -0600 |
commit | cdca53013990ac85967394529476712e6695bbf9 (patch) | |
tree | d251fa7f180280ea0dc2db2ce5213930caf02278 /logic/auth/YggdrasilTask.h | |
parent | ad8aeb0b2bdfd7586beab0be31bc36c64da31092 (diff) | |
download | MultiMC-cdca53013990ac85967394529476712e6695bbf9.tar MultiMC-cdca53013990ac85967394529476712e6695bbf9.tar.gz MultiMC-cdca53013990ac85967394529476712e6695bbf9.tar.lz MultiMC-cdca53013990ac85967394529476712e6695bbf9.tar.xz MultiMC-cdca53013990ac85967394529476712e6695bbf9.zip |
Implement account list and account list dialog
Diffstat (limited to 'logic/auth/YggdrasilTask.h')
-rw-r--r-- | logic/auth/YggdrasilTask.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/logic/auth/YggdrasilTask.h b/logic/auth/YggdrasilTask.h index 64632d44..6aebae16 100644 --- a/logic/auth/YggdrasilTask.h +++ b/logic/auth/YggdrasilTask.h @@ -20,8 +20,7 @@ #include <QString> #include <QJsonObject> - -class MojangAccount; +#include "logic/auth/MojangAccount.h" class QNetworkReply; @@ -33,7 +32,7 @@ class YggdrasilTask : public Task { Q_OBJECT public: - explicit YggdrasilTask(MojangAccount* account, QObject* parent=0); + explicit YggdrasilTask(MojangAccountPtr account, QObject* parent=0); ~YggdrasilTask(); /** @@ -61,7 +60,7 @@ public: /** * Gets the Mojang account that this task is operating on. */ - virtual MojangAccount* getMojangAccount() const; + virtual MojangAccountPtr getMojangAccount() const; /** * Returns a pointer to a YggdrasilTask::Error object if an error has occurred. @@ -117,7 +116,7 @@ protected: */ virtual QString getStateMessage(const State state) const; - MojangAccount* m_account; + MojangAccountPtr m_account; QNetworkReply* m_netReply; |