diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-23 00:23:50 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-23 00:29:40 +0200 |
commit | 984c36e571aae45cdd55da2fb689538198aadd3c (patch) | |
tree | c703bca5c0bc1d3a24e9f11e7e2f788d774461af /logic/BaseInstance.h | |
parent | eb4ed3734fb4841a9e0b49af912158151f76c93b (diff) | |
download | MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.gz MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.lz MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.tar.xz MultiMC-984c36e571aae45cdd55da2fb689538198aadd3c.zip |
Implement basic yggdrasil auth.
No fancy login token saving involved.
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r-- | logic/BaseInstance.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h index 374d1437..0056327a 100644 --- a/logic/BaseInstance.h +++ b/logic/BaseInstance.h @@ -22,6 +22,7 @@ #include "inifile.h" #include "lists/BaseVersionList.h" +#include "net/LoginTask.h" class QDialog; class BaseUpdate; @@ -147,7 +148,7 @@ public: virtual BaseUpdate* doUpdate() = 0; /// returns a valid minecraft process, ready for launch - virtual MinecraftProcess* prepareForLaunch(QString user, QString session) = 0; + virtual MinecraftProcess* prepareForLaunch(LoginResponse response) = 0; /// do any necessary cleanups after the instance finishes. also runs before 'prepareForLaunch' virtual void cleanupAfterRun() = 0; |