2021-04-20 21:46:48 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace hex::init {
|
|
|
|
|
|
|
|
struct Task {
|
|
|
|
std::string name;
|
|
|
|
std::function<bool()> function;
|
2022-09-19 16:54:19 +02:00
|
|
|
bool async;
|
2021-04-20 21:46:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
std::vector<Task> getInitTasks();
|
|
|
|
std::vector<Task> getExitTasks();
|
|
|
|
}
|