mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
provider: Fixed applying of IPS patches. Handle applying asynchronously
This commit is contained in:
@@ -11,6 +11,7 @@ namespace hex {
|
||||
Task(const std::string& unlocalizedName, u64 maxValue);
|
||||
~Task();
|
||||
|
||||
void setMaxValue(u64 maxValue);
|
||||
void update(u64 currValue);
|
||||
void finish();
|
||||
|
||||
@@ -20,6 +21,9 @@ namespace hex {
|
||||
[[nodiscard]]
|
||||
const std::string& getName() const;
|
||||
|
||||
[[nodiscard]]
|
||||
bool isPending() const;
|
||||
|
||||
private:
|
||||
std::string m_name;
|
||||
u64 m_maxValue, m_currValue;
|
||||
|
||||
Reference in New Issue
Block a user