API: make extensions reloadable modules
This commit is contained in:
1 file changed
+2
-2
@@ -3,7 +3,7 @@
|
||||
#include <PluginTypes.hpp>
|
||||
#include <TrackTypes.hpp>
|
||||
#include <Types.hpp>
|
||||
#include <Void/Plugin/Plugin.hpp>
|
||||
#include <Void/Plugin/Module.hpp>
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
@@ -58,7 +58,7 @@ namespace Echoion::Api
|
||||
// Native, trusted Echoion extension contract. Calls are always made while
|
||||
// the host holds a Void::Plugin::PluginHandle, so a hot reload cannot
|
||||
// unmap code that is still executing.
|
||||
class IExtensionPlugin : public Void::Plugin::IPlugin
|
||||
class IExtensionPlugin : public Void::Plugin::IModule
|
||||
{
|
||||
public:
|
||||
[[nodiscard]] virtual std::vector<ExtensionCommand> commands() const
|
||||
|
||||
Reference in new issue
Block a user