More WIP.

This commit is contained in:
Martín Lucas Golini
2024-12-28 13:16:03 -03:00
parent 42e7369c2f
commit d07bb2572c
19 changed files with 534 additions and 135 deletions

View File

@@ -1,6 +1,6 @@
#include "pluginmanager.hpp"
#include "../filesystemlistener.hpp"
#include "plugin.hpp"
#include "pluginmanager.hpp"
#include <eepp/system/filesystem.hpp>
#include <eepp/ui/uicheckbox.hpp>
#include <eepp/ui/uitableview.hpp>
@@ -11,11 +11,13 @@ using json = nlohmann::json;
namespace ecode {
PluginManager::PluginManager( const std::string& resourcesPath, const std::string& pluginsPath,
std::shared_ptr<ThreadPool> pool, const OnLoadFileCb& loadFileCb ) :
std::shared_ptr<ThreadPool> pool, const OnLoadFileCb& loadFileCb,
const std::function<ProjectBuildManager*()>& getPBM ) :
mResourcesPath( resourcesPath ),
mPluginsPath( pluginsPath ),
mThreadPool( pool ),
mLoadFileFn( loadFileCb ) {}
mLoadFileFn( loadFileCb ),
mProjectBuildManagerFn( getPBM ) {}
PluginManager::~PluginManager() {
mClosing = true;