refactor: Move the builtin plugin specific init tasks to the plugin

This commit is contained in:
WerWolv
2023-11-28 00:19:42 +01:00
parent 8e7716ebcc
commit 284f8534ab
10 changed files with 411 additions and 376 deletions

View File

@@ -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