summaryrefslogtreecommitdiffstats
path: root/src/server/BlockFactory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/BlockFactory.hpp')
-rw-r--r--src/server/BlockFactory.hpp7
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;