2015-12-30 18:55:08 -05:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class News : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
News();
|
2016-08-15 10:40:30 -04:00
|
|
|
~News();
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
2015-12-30 18:55:08 -05:00
|
|
|
const char* GetName() { return "News"; };
|
2016-08-15 10:40:30 -04:00
|
|
|
#endif
|
|
|
|
|
2016-02-04 15:58:49 -05:00
|
|
|
bool UnitTest();
|
2015-12-30 18:55:08 -05:00
|
|
|
|
|
|
|
private:
|
2016-06-02 09:11:31 -04:00
|
|
|
static std::thread Thread;
|
2016-08-30 18:23:17 -04:00
|
|
|
static bool Terminate;
|
|
|
|
|
|
|
|
static void CheckForUpdate();
|
|
|
|
static void ExitProcessStub(unsigned int exitCode);
|
2015-12-30 18:55:08 -05:00
|
|
|
};
|
|
|
|
}
|