#pragma once #include "PluginData.h" #include class PluginLoadWrapper { public: PluginLoadWrapper(std::shared_ptr pluginData, const bool linkAndLoad) : mPluginData(std::move(pluginData)), mIsLoadAndLink(linkAndLoad) { } [[nodiscard]] const std::shared_ptr &getPluginData() const { return mPluginData; } [[nodiscard]] bool isLoadAndLink() const { return mIsLoadAndLink; } private: std::shared_ptr mPluginData; bool mIsLoadAndLink = false; };