mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
25 lines
496 B
C++
25 lines
496 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <optional>
|
||
|
|
#include <string>
|
||
|
|
#include <unordered_map>
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
namespace wowee::addons {
|
||
|
|
|
||
|
|
struct TocFile {
|
||
|
|
std::string addonName;
|
||
|
|
std::string basePath;
|
||
|
|
|
||
|
|
std::unordered_map<std::string, std::string> directives;
|
||
|
|
std::vector<std::string> files;
|
||
|
|
|
||
|
|
std::string getTitle() const;
|
||
|
|
std::string getInterface() const;
|
||
|
|
bool isLoadOnDemand() const;
|
||
|
|
};
|
||
|
|
|
||
|
|
std::optional<TocFile> parseTocFile(const std::string& tocPath);
|
||
|
|
|
||
|
|
} // namespace wowee::addons
|