diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-01-03 19:19:27 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-01-03 19:19:27 +0100 |
commit | b3dd1eba2146849cddd7e85b16aa3b8af9d2de23 (patch) | |
tree | 2f7f5dc275257bf4cdecd70063982dfa7d2e15f2 /MultiMC.h | |
parent | c35012f1a570e752051c8fcbafe628fc64aa793f (diff) | |
download | MultiMC-b3dd1eba2146849cddd7e85b16aa3b8af9d2de23.tar MultiMC-b3dd1eba2146849cddd7e85b16aa3b8af9d2de23.tar.gz MultiMC-b3dd1eba2146849cddd7e85b16aa3b8af9d2de23.tar.lz MultiMC-b3dd1eba2146849cddd7e85b16aa3b8af9d2de23.tar.xz MultiMC-b3dd1eba2146849cddd7e85b16aa3b8af9d2de23.zip |
Notifications system. Mainly to be used in case the updater breaks.
Diffstat (limited to 'MultiMC.h')
-rw-r--r-- | MultiMC.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -17,6 +17,7 @@ class QNetworkAccessManager; class ForgeVersionList; class JavaVersionList; class UpdateChecker; +class NotificationChecker; class NewsChecker; #if defined(MMC) @@ -90,6 +91,11 @@ public: return m_updateChecker; } + std::shared_ptr<NotificationChecker> notificationChecker() + { + return m_notificationChecker; + } + std::shared_ptr<NewsChecker> newsChecker() { return m_newsChecker; @@ -166,6 +172,7 @@ private: std::shared_ptr<SettingsObject> m_settings; std::shared_ptr<InstanceList> m_instances; std::shared_ptr<UpdateChecker> m_updateChecker; + std::shared_ptr<NotificationChecker> m_notificationChecker; std::shared_ptr<NewsChecker> m_newsChecker; std::shared_ptr<MojangAccountList> m_accounts; std::shared_ptr<IconList> m_icons; |