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;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Argument {
|
|
|
|
std::string name, value;
|
|
|
|
};
|
|
|
|
|
|
|
|
std::vector<Task> getInitTasks();
|
|
|
|
std::vector<Task> getExitTasks();
|
|
|
|
|
2022-01-24 20:53:17 +01:00
|
|
|
std::vector<Argument> &getInitArguments();
|
2021-04-20 21:46:48 +02:00
|
|
|
}
|