mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
13 lines
286 B
C
13 lines
286 B
C
#pragma once
|
|
|
|
#include "BootstrapperSite.h"
|
|
|
|
struct Progress
|
|
{
|
|
int value;
|
|
int maxValue;
|
|
bool done;
|
|
Progress():value(0),maxValue(0),done(false) {}
|
|
void update(IInstallerSite *site, int value, int maxValue) { site->CheckCancel(); this->value = value; this->maxValue = maxValue; }
|
|
};
|