chore: update License
This commit is contained in:
+6
-6
@@ -10,7 +10,7 @@
|
||||
#include <stdexcept>
|
||||
ll::Logger logger(PLUGIN_NAME);
|
||||
|
||||
namespace change_this {
|
||||
namespace InventoryCheck {
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -71,13 +71,13 @@ auto getSelfPluginInstance() -> ll::plugin::NativePlugin& {
|
||||
return *selfPluginInstance;
|
||||
}
|
||||
|
||||
} // namespace change_this
|
||||
} // namespace InventoryCheck
|
||||
|
||||
extern "C" {
|
||||
_declspec(dllexport) auto ll_plugin_disable(ll::plugin::NativePlugin& self) -> bool {
|
||||
return change_this::disable(self);
|
||||
return InventoryCheck::disable(self);
|
||||
}
|
||||
_declspec(dllexport) auto ll_plugin_enable(ll::plugin::NativePlugin& self) -> bool { return change_this::enable(self); }
|
||||
_declspec(dllexport) auto ll_plugin_load(ll::plugin::NativePlugin& self) -> bool { return change_this::load(self); }
|
||||
_declspec(dllexport) auto ll_plugin_unload(ll::plugin::NativePlugin& self) -> bool { return change_this::unload(self); }
|
||||
_declspec(dllexport) auto ll_plugin_enable(ll::plugin::NativePlugin& self) -> bool { return InventoryCheck::enable(self); }
|
||||
_declspec(dllexport) auto ll_plugin_load(ll::plugin::NativePlugin& self) -> bool { return InventoryCheck::load(self); }
|
||||
_declspec(dllexport) auto ll_plugin_unload(ll::plugin::NativePlugin& self) -> bool { return InventoryCheck::unload(self); }
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
#include <ll/api/plugin/NativePlugin.h>
|
||||
|
||||
namespace change_this {
|
||||
namespace InventoryCheck {
|
||||
|
||||
[[nodiscard]] auto getSelfPluginInstance() -> ll::plugin::NativePlugin&;
|
||||
|
||||
} // namespace change_this
|
||||
} // namespace InventoryCheck
|
||||
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
#include <ll/api/Logger.h>
|
||||
// #include <include_all.h>
|
||||
#include <include_all.h>
|
||||
|
||||
#define PLUGIN_NAME "plugin"
|
||||
#define PLUGIN_NAME "InventoryCheck"
|
||||
|
||||
extern ll::Logger logger;
|
||||
Reference in New Issue
Block a user