20 lines
302 B
C++
20 lines
302 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
enum UPDATER_STATE
|
|
{
|
|
UPDATER_IDLE,
|
|
UPDATER_CHECKING,
|
|
UPDATER_UPDATE_FOUND
|
|
};
|
|
|
|
class Updater
|
|
{
|
|
public:
|
|
inline static UPDATER_STATE m_State = UPDATER_IDLE;
|
|
inline static std::string m_LatestVersion;
|
|
|
|
static void CheckForUpdate();
|
|
static void ShowUpdateScreen();
|
|
};
|