blob: 154cb1682ef32b5dc17f774769ce5e015ec0577c [file] [log] [blame]
#ifndef __{{header_guard}}_H__
#define __{{header_guard}}_H__
#include <string>
#include <vector>
#include <lib/zx/vmo.h>
#include <lib/inspect/cpp/inspect.h>
namespace {{cpp_namespace}} {
struct Config {
public:
static constexpr bool kIsStructuredConfig = true;
static Config TakeFromStartupHandle() noexcept;
static Config CreateFromVmo(zx::vmo config_vmo) noexcept;
std::string ToString() const noexcept;
zx::vmo ToVmo() const noexcept;
{{> typedef }}
};
}
#endif