Initial commit

This commit is contained in:
Caixukun1919810
2024-02-05 19:43:25 +08:00
committed by GitHub
Unverified
commit 9cbe76a260
16 changed files with 7783 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#pragma once
#include <ll/api/plugin/NativePlugin.h>
namespace plugin {
class Plugin {
public:
explicit Plugin(ll::plugin::NativePlugin& self);
Plugin(Plugin&&) = delete;
Plugin(const Plugin&) = delete;
Plugin& operator=(Plugin&&) = delete;
Plugin& operator=(const Plugin&) = delete;
~Plugin() = default;
/// @return True if the plugin is enabled successfully.
bool enable();
/// @return True if the plugin is disabled successfully.
bool disable();
private:
ll::plugin::NativePlugin& mSelf;
};
} // namespace plugin