17 lines
285 B
C++
17 lines
285 B
C++
#pragma once
|
|
|
|
#include <functional>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace hex::init {
|
|
|
|
struct Task {
|
|
std::string name;
|
|
std::function<bool()> function;
|
|
bool async;
|
|
};
|
|
|
|
std::vector<Task> getInitTasks();
|
|
std::vector<Task> getExitTasks();
|
|
} |