diff --git a/plugin.hpp b/plugin.hpp index 6f4b9a5..45275f6 100644 --- a/plugin.hpp +++ b/plugin.hpp @@ -55,6 +55,8 @@ namespace sc { static size_t count() { return plugins.size(); } + static const std::map>& all() { return plugins; } + plugin(const std::string& path) : _path {path} { _plugin = dlopen(path.c_str(), RTLD_LAZY);