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
|
|
|
|
{
|
|
|
|
UPDATER_IDLE,
|
|
|
|
UPDATER_CHECKING,
|
|
|
|
UPDATER_UPDATE_FOUND
|
|
|
|
};
|
|
|
|
|
|
|
|
class Updater
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
inline static UPDATER_STATE state = UPDATER_IDLE;
|
2021-03-10 23:55:23 -05:00
|
|
|
inline static std::string latest_version = "";
|
2021-03-16 03:12:59 -04:00
|
|
|
|
2021-03-14 16:54:55 -04:00
|
|
|
static void CheckForUpdate();
|
2021-03-16 03:12:59 -04:00
|
|
|
static void ShowUpdateScreen();
|
2021-03-10 16:10:59 -05:00
|
|
|
};
|