3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
7#include "mc/common/JsonValidator.h"
13namespace Json {
class Reader; }
14namespace Json {
class Value; }
21 ::ll::TypedStorage<8, 192, ::JsonValidator::Property> mValidator;
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::DynamicContentBindingInformation>> mBindingData;
27 DynamicFormScreenController();
32 virtual ~DynamicFormScreenController() =
default;
38 MCAPI DynamicFormScreenController(
39 ::std::shared_ptr<::MainMenuScreenModel> model,
40 ::JsonValidator::Property
const& validator,
41 ::std::shared_ptr<::DynamicContentBindingInformation> bindingData
44 MCAPI
void _handleValidationErrors(::Json::Reader
const& reader, ::std::vector<::std::string> validationErrors);
46 MCAPI
void _registerBindings();
48 MCAPI
bool _resolveControlEnabled(::Json::Value
const& formJson)
const;
50 MCAPI ::Json::Value getContentValues()
const;
52 MCAPI
bool parseJson(::std::string
const& formJSON, ::Json::Value& outValue);
54 MCAPI
bool validateAndBind(::Json::Value
const& formJSON);
61 ::std::shared_ptr<::MainMenuScreenModel> model,
62 ::JsonValidator::Property
const& validator,
63 ::std::shared_ptr<::DynamicContentBindingInformation> bindingData
Definition DynamicContentBindingInformation.h:5
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5