mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
Add news checking system and news toolbar
This commit is contained in:
@ -42,6 +42,9 @@ public:
|
||||
* Returns true if the news has been loaded successfully.
|
||||
*/
|
||||
bool isNewsLoaded() const;
|
||||
|
||||
//! True if the news is currently loading. If true, reloadNews() will do nothing.
|
||||
bool isLoadingNews() const;
|
||||
|
||||
/*!
|
||||
* Returns a list of news entries.
|
||||
@ -78,9 +81,6 @@ protected:
|
||||
|
||||
//! The network job to use to load the news.
|
||||
NetJobPtr m_newsNetJob;
|
||||
|
||||
//! True if the news is currently loading. If true, reloadNews() will do nothing.
|
||||
bool isLoadingNews() const;
|
||||
|
||||
//! True if news has been loaded.
|
||||
bool m_loadedNews;
|
||||
|
Reference in New Issue
Block a user