mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
13 lines
274 B
C++
13 lines
274 B
C++
#include "pluginmgr.h"
|
|
#include "LuaInterpreter.h"
|
|
|
|
IPlugin * LuaPluginMgr::createPluginInstance(str_map & params)
|
|
{
|
|
return new LuaInterpreter;
|
|
}
|
|
|
|
void LuaPluginMgr::destroyPluginInstance(IPlugin * plugin)
|
|
{
|
|
delete reinterpret_cast<LuaInterpreter*>(plugin);
|
|
}
|