iw4x-client/src/Components/Modules/News.hpp

22 lines
291 B
C++
Raw Normal View History

2017-01-20 08:36:52 -05:00
#pragma once
2017-01-19 16:23:59 -05:00
namespace Components
{
class News : public Component
{
public:
News();
void preDestroy() override;
2017-01-20 08:36:52 -05:00
bool unitTest() override;
2017-01-19 16:23:59 -05:00
private:
static std::thread Thread;
2017-02-28 13:55:22 -05:00
2017-01-19 16:23:59 -05:00
static bool Terminate;
static bool DownloadUpdater();
2017-01-19 16:23:59 -05:00
static const char* GetNewsText();
};
}