LeviLamina
Loading...
Searching...
No Matches
Settings::ActionComponent Class Reference
Inheritance diagram for Settings::ActionComponent:

Public Types

using DataProvider = ::Settings::IActionDataProvider
using ActionLabelOverrideProvider
using ActionCallback = ::std::function<void(::std::function<void(bool)>)>

Public Member Functions

virtual::Settings::ComponentState getDefaultState () const
MCAPI ActionComponent (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::string_view actionLabel, ::std::function< void(::std::function< void(bool)>)> actionCallback, ::std::optional<::Settings::ConfirmationRequest > confirmationRequest, ::std::optional<::Settings::AsyncProgressInfo > asyncProgressInfo, ::std::unique_ptr<::Settings::IActionDataProvider > dataProvider)
MCAPI::std::string getActionLabel () const
MCAPI bool invokeClickCallback (::std::function< void(bool)> statusCallback)
MCAPI void * $ctor (::std::string_view id, ::std::string_view name, ::std::optional<::std::string > description, ::std::string_view actionLabel, ::std::function< void(::std::function< void(bool)>)> actionCallback, ::std::optional<::Settings::ConfirmationRequest > confirmationRequest, ::std::optional<::Settings::AsyncProgressInfo > asyncProgressInfo, ::std::unique_ptr<::Settings::IActionDataProvider > dataProvider)
MCAPI::Settings::ComponentState $getDefaultState () const

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mActionLabel
::ll::TypedStorage< 4, 8, ::std::optional<::Settings::SettingsActionType > > mActionType
::ll::TypedStorage< 8, 136, ::std::optional<::Settings::ConfirmationRequest > > mConfirmationRequest
::ll::TypedStorage< 8, 176, ::std::optional<::Settings::AsyncProgressInfo > > mAsyncProgressInfo
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Settings::IActionDataProvider > > mDataProvider
::ll::TypedStorage< 8, 64, ::std::function< void(::std::function< void(bool)>)> > mActionCallback
::ll::TypedStorage< 8, 64, ::std::function<::std::optional<::std::string >(::Settings::ActionComponent const &)> > mActionLabelOverrideProvider

Member Typedef Documentation

◆ ActionLabelOverrideProvider

using Settings::ActionComponent::ActionLabelOverrideProvider
Initial value:
::std::function<::std::optional<::std::string>(::Settings::ActionComponent const&)>
Definition ActionComponent.h:7

The documentation for this class was generated from the following files: