1
0
mirror of synced 2024-12-11 23:46:00 +01:00
ImHex/main/gui/include/init/tasks.hpp

22 lines
387 B
C++
Raw Normal View History

#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();
}