diff options
author | Andrew <forkk@forkk.net> | 2013-11-18 12:58:03 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-18 12:58:03 -0600 |
commit | a9a0b65358b3799746fa9c8e1aa879e0b59ef526 (patch) | |
tree | 9db6881e5409495edefd9f04ab3cca5f82674778 /MultiMC.h | |
parent | cdca53013990ac85967394529476712e6695bbf9 (diff) | |
download | MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar.gz MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar.lz MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.tar.xz MultiMC-a9a0b65358b3799746fa9c8e1aa879e0b59ef526.zip |
Implement loading accounts from list.
Diffstat (limited to 'MultiMC.h')
-rw-r--r-- | MultiMC.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,6 +13,7 @@ class LWJGLVersionList; class HttpMetaCache; class SettingsObject; class InstanceList; +class MojangAccountList; class IconList; class QNetworkAccessManager; class ForgeVersionList; @@ -57,6 +58,11 @@ public: return m_instances; } + std::shared_ptr<MojangAccountList> accounts() + { + return m_accounts; + } + std::shared_ptr<IconList> icons(); Status status() @@ -101,6 +107,7 @@ private: std::shared_ptr<QTranslator> m_mmc_translator; std::shared_ptr<SettingsObject> m_settings; std::shared_ptr<InstanceList> m_instances; + std::shared_ptr<MojangAccountList> m_accounts; std::shared_ptr<IconList> m_icons; std::shared_ptr<QNetworkAccessManager> m_qnam; std::shared_ptr<HttpMetaCache> m_metacache; |