diff options
author | Andrew <forkk@forkk.net> | 2013-11-22 12:47:39 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-22 12:47:39 -0600 |
commit | 75e7932607bdd84d2867765eb6f07dcec95ee193 (patch) | |
tree | 9ee711dac0a07f6797eedf3ee61d277bb3b63c2c /gui/MainWindow.h | |
parent | 23bc195b3c8558cb997789ca8772342612716993 (diff) | |
download | MultiMC-75e7932607bdd84d2867765eb6f07dcec95ee193.tar MultiMC-75e7932607bdd84d2867765eb6f07dcec95ee193.tar.gz MultiMC-75e7932607bdd84d2867765eb6f07dcec95ee193.tar.lz MultiMC-75e7932607bdd84d2867765eb6f07dcec95ee193.tar.xz MultiMC-75e7932607bdd84d2867765eb6f07dcec95ee193.zip |
Properly implement launching and downloading
Also added a system to select an active account to log in with.
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r-- | gui/MainWindow.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h index c0fcc385..f88905bf 100644 --- a/gui/MainWindow.h +++ b/gui/MainWindow.h @@ -113,9 +113,11 @@ slots: */ void launchInstance(BaseInstance* instance, MojangAccountPtr account); - void onLoginComplete(); + /*! + * Prepares the given instance for launch with the given account. + */ + void prepareLaunch(BaseInstance* instance, MojangAccountPtr account); - void onGameUpdateComplete(); void onGameUpdateError(QString error); void taskStart(); @@ -160,12 +162,6 @@ private: BaseInstance *m_selectedInstance; - // A pointer to the instance we are actively doing stuff with. - // This is set when the user launches an instance and is used to refer to that - // instance throughout the launching process. - BaseInstance *m_activeInst; - LoginResponse m_activeLogin; - Task *m_versionLoadTask; QLabel *m_statusLeft; |