CheatMenuSA/CheatMenu/Updater.h
2021-04-08 02:35:21 +06:00

26 lines
497 B
C++

#pragma once
#include <string>
enum UPDATER_STATE
{
UPDATER_IDLE,
UPDATER_CHECKING,
UPDATER_DOWNLOADING,
UPDATER_DOWNLOADED,
UPDATER_INSTALLING,
UPDATER_UPDATE_FOUND
};
class Updater
{
public:
inline static UPDATER_STATE state = UPDATER_IDLE;
inline static std::string latest_version = "";
static void CheckForUpdate();
// static void DownloadUpdate();
// static void InstallUpdate();
// static void FinishUpdate();
static void ShowUpdateScreen();
};