2021-03-10 16:10:59 -05:00
|
|
|
#pragma once
|
2021-04-07 16:35:21 -04:00
|
|
|
#include <string>
|
2021-03-10 16:10:59 -05:00
|
|
|
|
|
|
|
enum UPDATER_STATE
|
|
|
|
{
|
2021-06-18 12:49:11 -04:00
|
|
|
UPDATER_IDLE,
|
|
|
|
UPDATER_CHECKING,
|
|
|
|
UPDATER_UPDATE_FOUND
|
2021-03-10 16:10:59 -05:00
|
|
|
};
|
|
|
|
|
2021-06-18 12:49:11 -04:00
|
|
|
class Updater
|
2021-03-10 16:10:59 -05:00
|
|
|
{
|
|
|
|
public:
|
2021-06-18 12:49:11 -04:00
|
|
|
inline static UPDATER_STATE m_State = UPDATER_IDLE;
|
|
|
|
inline static std::string m_LatestVersion;
|
|
|
|
|
|
|
|
static void CheckForUpdate();
|
|
|
|
static void ShowUpdateScreen();
|
2021-03-10 16:10:59 -05:00
|
|
|
};
|