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();
|
|
|
|
|
2017-01-23 16:06:50 -05:00
|
|
|
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;
|
2017-02-25 06:45:03 -05:00
|
|
|
static bool DownloadUpdater();
|
2017-01-19 16:23:59 -05:00
|
|
|
|
|
|
|
static const char* GetNewsText();
|
|
|
|
};
|
|
|
|
}
|