mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 21:47:40 -05:00
refactor: Move the builtin plugin specific init tasks to the plugin
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace hex::init {
|
||||
#include <init/splash_window.hpp>
|
||||
|
||||
struct Task {
|
||||
std::string name;
|
||||
std::function<bool()> function;
|
||||
bool async;
|
||||
};
|
||||
namespace hex::init {
|
||||
|
||||
/**
|
||||
* @brief Runs the exit tasks and print them to console
|
||||
|
||||
Reference in New Issue
Block a user