diff options
author | David Robillard <d@drobilla.net> | 2015-10-30 17:02:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-30 17:02:07 +0000 |
commit | 8510f80faad7a719a97cf14b1a82a1cc2141282b (patch) | |
tree | 11ab0ede29a4a2e29d1e689f6b2cb23ee0da47f1 /src/server/BlockFactory.hpp | |
parent | 2fe35cd17f96a1d393fda203ccaa234b0aa69b16 (diff) | |
download | ingen-8510f80faad7a719a97cf14b1a82a1cc2141282b.tar.gz ingen-8510f80faad7a719a97cf14b1a82a1cc2141282b.tar.bz2 ingen-8510f80faad7a719a97cf14b1a82a1cc2141282b.zip |
Update clients when plugins are unloaded/reloaded
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5808 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/BlockFactory.hpp')
-rw-r--r-- | src/server/BlockFactory.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/BlockFactory.hpp b/src/server/BlockFactory.hpp index 776ef948..71e72bbc 100644 --- a/src/server/BlockFactory.hpp +++ b/src/server/BlockFactory.hpp @@ -18,6 +18,7 @@ #define INGEN_ENGINE_BLOCKFACTORY_HPP #include <map> +#include <set> #include "ingen/World.hpp" #include "ingen/types.hpp" @@ -39,6 +40,12 @@ public: explicit BlockFactory(Ingen::World* world); ~BlockFactory(); + /** Reload plugin list. + * + * @return The set of newly loaded plugins. + */ + std::set<PluginImpl*> refresh(); + void load_plugin(const Raul::URI& uri); typedef std::map<Raul::URI, PluginImpl*> Plugins; |