blob: 583e972732cdd7b34b97adcaf21d681042f135e9 (
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
29
30
31
32
|
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
//============================================================
//
// chainentryreader.h - BGFX chain entry JSON reader
//
//============================================================
#ifndef MAME_RENDER_BGFX_CHAINENTRYREADER_H
#define MAME_RENDER_BGFX_CHAINENTRYREADER_H
#pragma once
#include "statereader.h"
#include <map>
class bgfx_chain_entry;
class bgfx_slider;
class bgfx_parameter;
class chain_manager;
class chain_entry_reader : public state_reader
{
public:
static bgfx_chain_entry* read_from_value(const Value& value, const std::string &prefix, chain_manager& chains, std::map<std::string, bgfx_slider*>& sliders, std::map<std::string, bgfx_parameter*>& params, uint32_t screen_index);
private:
static bool validate_parameters(const Value& value, const std::string &prefix);
};
#endif // MAME_RENDER_BGFX_CHAINENTRYREADER_H
|