sys: Added filter option to find view

This commit is contained in:
WerWolv
2022-07-29 18:49:43 +02:00
parent ce193a0098
commit 419a2875b3
11 changed files with 62 additions and 21 deletions

View File

@@ -10,9 +10,12 @@ namespace hex {
class Task {
public:
Task() = default;
Task(const std::string &unlocalizedName, u64 maxValue);
~Task();
Task(Task &&other) noexcept;
void setMaxValue(u64 maxValue);
void update(u64 currValue);
void finish();
@@ -29,7 +32,7 @@ namespace hex {
private:
std::string m_name;
u64 m_maxValue, m_currValue;
u64 m_maxValue = 0, m_currValue = 0;
static std::list<Task *> s_runningTasks;
static std::mutex s_taskMutex;