#pragma once #include "StorageItem.h" #include "StorageSubItem.h" #include "utils/logger.h" #include #include #include #include #include #include class StorageItemRoot : public StorageSubItem { public: explicit StorageItemRoot(std::string_view plugin_name) : StorageSubItem(plugin_name), mPluginName(plugin_name) { } [[nodiscard]] const std::string &getPluginId() const { return mPluginName; } void wipe() { mSubCategories.clear(); mItems.clear(); } private: std::string mPluginName; };