diff options
author | Andrew <forkk@forkk.net> | 2013-02-05 19:22:19 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-02-05 19:22:19 -0600 |
commit | e475f5d51251ae57da0480bbadc9cb32a8bc72b2 (patch) | |
tree | a0a13ee373bce0130677b788db3af12c55d1f663 /data/loginresponse.h | |
parent | a416c58a93dd9d108f4c4fa968b9431e30834c5c (diff) | |
download | MultiMC-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.tar MultiMC-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.tar.gz MultiMC-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.tar.lz MultiMC-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.tar.xz MultiMC-e475f5d51251ae57da0480bbadc9cb32a8bc72b2.zip |
Implemented login system.
Diffstat (limited to 'data/loginresponse.h')
-rw-r--r-- | data/loginresponse.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/data/loginresponse.h b/data/loginresponse.h index e780750f..bcb77d56 100644 --- a/data/loginresponse.h +++ b/data/loginresponse.h @@ -22,7 +22,9 @@ class LoginResponse : public QObject { Q_OBJECT public: - explicit LoginResponse(const QString &username, const QString &sessionID, QObject *parent = 0); + explicit LoginResponse(const QString &username, const QString &sessionID, + qint64 latestVersion, QObject *parent = 0); + LoginResponse(); LoginResponse(const LoginResponse& other); QString getUsername() const; @@ -31,9 +33,15 @@ public: QString getSessionID() const; void setSessionID(const QString& sessionID); + qint64 getLatestVersion() const; + void setLatestVersion(qint64 v); + private: QString username; QString sessionID; + qint64 latestVersion; }; +Q_DECLARE_METATYPE(LoginResponse) + #endif // LOGINRESPONSE_H |