1
0
mirror of synced 2024-12-04 12:07:57 +01:00
ImHex/main/gui/include/init/tasks.hpp
2023-10-11 20:38:54 +00:00

22 lines
387 B
C++

#pragma once
#include <functional>
#include <string>
#include <vector>
namespace hex::init {
struct Task {
std::string name;
std::function<bool()> function;
bool async;
};
/**
* @brief Runs the exit tasks and print them to console
*/
void runExitTasks();
std::vector<Task> getInitTasks();
std::vector<Task> getExitTasks();
}