2017-02-04 12:42:12 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Changelog : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Changelog();
|
2017-02-04 15:52:49 -05:00
|
|
|
~Changelog();
|
2017-02-04 12:42:12 -05:00
|
|
|
|
2017-02-04 15:52:49 -05:00
|
|
|
static void LoadChangelog();
|
2017-02-04 12:42:12 -05:00
|
|
|
|
|
|
|
private:
|
2017-02-04 15:52:49 -05:00
|
|
|
static std::mutex Mutex;
|
|
|
|
static std::vector<std::string> Lines;
|
2017-02-04 12:42:12 -05:00
|
|
|
|
|
|
|
static unsigned int GetChangelogCount();
|
|
|
|
static const char* GetChangelogText(unsigned int item, int column);
|
|
|
|
static void SelectChangelog(unsigned int index);
|
|
|
|
};
|
|
|
|
}
|