vxorg/vxheaven_parse.hpp
2024-10-21 12:27:40 -04:00

19 lines
359 B
C++

#pragma once
#include <string>
#include "tree.hpp"
namespace vxorg {
struct VxHeavenItem {
std::string name;
// True if this item is also a sample
bool is_sample;
};
using VxHeavenTree = Tree<VxHeavenItem>;
std::string get_sample_name(VxHeavenTree::Node* node);
void parse_into_tree(VxHeavenTree& tree, std::istream& is);
} // namespace vxorg