mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Refactor how App is exposed. Expose more functionality to the Plugins.
This commit is contained in:
@@ -12,12 +12,12 @@ namespace ecode {
|
||||
|
||||
PluginManager::PluginManager( const std::string& resourcesPath, const std::string& pluginsPath,
|
||||
std::shared_ptr<ThreadPool> pool, const OnLoadFileCb& loadFileCb,
|
||||
const std::function<ProjectBuildManager*()>& getPBM ) :
|
||||
PluginContextProvider* context ) :
|
||||
mResourcesPath( resourcesPath ),
|
||||
mPluginsPath( pluginsPath ),
|
||||
mThreadPool( pool ),
|
||||
mLoadFileFn( loadFileCb ),
|
||||
mProjectBuildManagerFn( getPBM ) {}
|
||||
mPluginContext( context ),
|
||||
mLoadFileFn( loadFileCb ) {}
|
||||
|
||||
PluginManager::~PluginManager() {
|
||||
mClosing = true;
|
||||
|
||||
Reference in New Issue
Block a user