blob: a2fa3ba28a51603d8e32b9b7f11fe1c3e81942c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
// chainreader.h - BGFX chain JSON reader
//
//============================================================
#pragma once
#ifndef __DRAWBGFX_CHAIN_READER__
#define __DRAWBGFX_CHAIN_READER__
#include "statereader.h"
class bgfx_chain;
class chain_manager;
class chain_reader : public state_reader
{
public:
static bgfx_chain* read_from_value(const Value& value, std::string prefix, chain_manager& chains, uint32_t screen_index);
private:
static bool validate_parameters(const Value& value, std::string prefix);
};
#endif // __DRAWBGFX_CHAIN_READER__
|