diff options
Diffstat (limited to 'src/osd/modules/render/bgfx/sliderreader.h')
-rw-r--r-- | src/osd/modules/render/bgfx/sliderreader.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/osd/modules/render/bgfx/sliderreader.h b/src/osd/modules/render/bgfx/sliderreader.h index 95c6872e171..dc905472cc8 100644 --- a/src/osd/modules/render/bgfx/sliderreader.h +++ b/src/osd/modules/render/bgfx/sliderreader.h @@ -6,26 +6,26 @@ // //============================================================ +#ifndef MAME_RENDER_BGFX_SLIDERREADER_H +#define MAME_RENDER_BGFX_SLIDERREADER_H + #pragma once -#ifndef __DRAWBGFX_SLIDER_READER__ -#define __DRAWBGFX_SLIDER_READER__ +#include "statereader.h" #include <vector> -#include "statereader.h" - class bgfx_slider; class chain_manager; class slider_reader : public state_reader { public: - static std::vector<bgfx_slider*> read_from_value(const Value& value, std::string prefix, chain_manager& chains, uint32_t screen_index); + static std::vector<bgfx_slider*> read_from_value(const Value& value, const std::string &prefix, chain_manager& chains, uint32_t screen_index); private: - static bool get_values(const Value& value, std::string prefix, std::string name, float* values, const int count); - static bool validate_parameters(const Value& value, std::string prefix); + static bool get_values(const Value& value, const std::string &prefix, const std::string &name, float* values, const int count); + static bool validate_parameters(const Value& value, const std::string &prefix); static const int TYPE_COUNT = 5; static const string_to_enum TYPE_NAMES[TYPE_COUNT]; @@ -33,4 +33,4 @@ private: static const string_to_enum SCREEN_NAMES[SCREEN_COUNT]; }; -#endif // __DRAWBGFX_SLIDER_READER__ +#endif // MAME_RENDER_BGFX_SLIDERREADER_H |