#include #include #include using namespace hex; class PluginLoader { public: PluginLoader() { for (const auto &dir : paths::Plugins.read()) { PluginManager::addLoadPath(dir); } PluginManager::loadLibraries(); PluginManager::load(); } }; static PluginLoader pluginLoader;