23 lines
No EOL
449 B
C++
23 lines
No EOL
449 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#include "tree.hpp"
|
|
|
|
#include <filesystem>
|
|
|
|
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);
|
|
|
|
std::filesystem::path get_sample_path(VxHeavenTree::Node* node);
|
|
|
|
void parse_into_tree(VxHeavenTree& tree, std::istream& is);
|
|
} // namespace vxorg
|