LeviLamina
Loading...
Searching...
No Matches
BooleanComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/settings/Component.h"
7#include "mc/client/settings/ComponentState.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Settings { class IBooleanDataProvider; }
12namespace Settings { struct BooleanConfirmationRequest; }
13// clang-format on
14
15namespace Settings {
16
17class BooleanComponent : public ::Settings::Component<::Settings::BooleanComponent> {
18public:
19 // BooleanComponent inner types define
20 using DataProvider = ::Settings::IBooleanDataProvider;
21
22 using ConfirmationRequestsProvider = ::std::function<::std::vector<::Settings::BooleanConfirmationRequest>()>;
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Settings::IBooleanDataProvider>> mDataProvider;
28 ::ll::TypedStorage<8, 64, ::std::function<::std::vector<::Settings::BooleanConfirmationRequest>()>>
29 mConfirmationRequestsProvider;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~BooleanComponent() /*override*/ = default;
36
37 virtual ::Settings::ComponentState getDefaultState() const /*override*/;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCFOLD ::Settings::ComponentState $getDefaultState() const;
44 // NOLINTEND
45};
46
47} // namespace Settings
Definition BooleanComponent.h:7
Definition IBooleanDataProvider.h:7
Definition BooleanConfirmationRequest.h:7