#pragma once #include #include #include #include namespace wowee::addons { struct TocFile { std::string addonName; std::string basePath; std::unordered_map directives; std::vector files; std::string getTitle() const; std::string getInterface() const; bool isLoadOnDemand() const; std::vector getSavedVariables() const; std::vector getSavedVariablesPerCharacter() const; }; std::optional parseTocFile(const std::string& tocPath); } // namespace wowee::addons