diff options
author | Andrew <forkk@forkk.net> | 2013-11-20 18:31:15 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-20 18:31:15 -0600 |
commit | abf8408911c057d8aafe90790f5d2f5de0e1d97c (patch) | |
tree | b6b77a485702c0a7ac45b5b96d6b8b0f41c14af7 /logic/BaseInstance.h | |
parent | 03652b01d2ec8a7c54fb39dd8ed660f0bbc2fa2a (diff) | |
download | MultiMC-abf8408911c057d8aafe90790f5d2f5de0e1d97c.tar MultiMC-abf8408911c057d8aafe90790f5d2f5de0e1d97c.tar.gz MultiMC-abf8408911c057d8aafe90790f5d2f5de0e1d97c.tar.lz MultiMC-abf8408911c057d8aafe90790f5d2f5de0e1d97c.tar.xz MultiMC-abf8408911c057d8aafe90790f5d2f5de0e1d97c.zip |
Nuke and pave the old login system
Also, account list now saves profile lists.
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r-- | logic/BaseInstance.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h index b083c24a..b92d50cc 100644 --- a/logic/BaseInstance.h +++ b/logic/BaseInstance.h @@ -22,7 +22,7 @@ #include "inifile.h" #include "lists/BaseVersionList.h" -#include "net/LoginTask.h" +#include "logic/auth/MojangAccount.h" class QDialog; class BaseUpdate; @@ -153,8 +153,8 @@ public: /// returns a valid update task if update is needed, NULL otherwise virtual BaseUpdate *doUpdate() = 0; - /// returns a valid minecraft process, ready for launch - virtual MinecraftProcess *prepareForLaunch(LoginResponse response) = 0; + /// returns a valid minecraft process, ready for launch with the given account. + virtual MinecraftProcess *prepareForLaunch(MojangAccountPtr account) = 0; /// do any necessary cleanups after the instance finishes. also runs before /// 'prepareForLaunch' |