diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-01-27 22:31:07 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-02 00:14:06 +0200 |
commit | 791221e923586bb717396ecf18bd13e57034df99 (patch) | |
tree | 9f608af07375b38626c8964671620477158341ba /gui/MainWindow.h | |
parent | 593111b14463e9d5d08256061b981b5ab1cfb710 (diff) | |
download | PrismLauncher-791221e923586bb717396ecf18bd13e57034df99.tar.gz PrismLauncher-791221e923586bb717396ecf18bd13e57034df99.tar.bz2 PrismLauncher-791221e923586bb717396ecf18bd13e57034df99.zip |
NOISSUE Refactors and moving of things
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r-- | gui/MainWindow.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h index 4d417f15..4e8e8f35 100644 --- a/gui/MainWindow.h +++ b/gui/MainWindow.h @@ -24,6 +24,7 @@ #include "logic/auth/MojangAccount.h" #include "logic/net/NetJob.h" +class NewsChecker; class QToolButton; class LabeledToolButton; class QLabel; @@ -51,7 +52,6 @@ public: void openWebPage(QUrl url); void checkSetDefaultJava(); - void checkMigrateLegacyAssets(); void checkInstancePathForProblems(); private @@ -182,6 +182,11 @@ protected: void setSelectedInstanceById(const QString &id); + void waitForMinecraftVersions(); + void instanceFromVersion(QString instName, QString instGroup, QString instIcon, BaseVersionPtr version); + void instanceFromZipPack(QString instName, QString instGroup, QString instIcon, QUrl url); + void finalizeInstance(InstancePtr inst); + private: Ui::MainWindow *ui; class GroupView *view; @@ -194,6 +199,7 @@ private: QToolButton *newsLabel; std::shared_ptr<GenericPageProvider> m_globalSettingsProvider; + std::shared_ptr<NewsChecker> m_newsChecker; InstancePtr m_selectedInstance; QString m_currentInstIcon; |