mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 06:18:05 -05:00
23 lines
352 B
C++
23 lines
352 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <ostream>
|
|
|
|
class MenuDumper
|
|
{
|
|
protected:
|
|
std::ostream& m_stream;
|
|
size_t m_indent;
|
|
|
|
void IncIndent();
|
|
void DecIndent();
|
|
void Indent() const;
|
|
|
|
public:
|
|
explicit MenuDumper(std::ostream& stream);
|
|
|
|
void Start();
|
|
void End();
|
|
|
|
void IncludeMenu(const std::string& menuPath) const;
|
|
}; |