mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
Added expressions support in debugger.
Persist debugger state.
This commit is contained in:
@@ -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>
|
||||
@@ -330,6 +330,11 @@ bool PluginManager::hasDefinition( const std::string& id ) {
|
||||
return mDefinitions.find( id ) != mDefinitions.end();
|
||||
}
|
||||
|
||||
void PluginManager::forEachPlugin( std::function<void( Plugin* )> fn ) {
|
||||
for ( auto& plugin : mPlugins )
|
||||
fn( plugin.second );
|
||||
}
|
||||
|
||||
std::shared_ptr<PluginsModel> PluginsModel::New( PluginManager* manager ) {
|
||||
return std::make_shared<PluginsModel>( manager );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user