Public Types | |
typedef void(* | FunctionType) (int, ComponentType *, ParamType1) |
Public Member Functions | |
ComponentCaller2 (FunctionType &f, ComponentType *c, ParamType1 p1) | |
void | modalStateFinished (int returnValue) override |
Called to indicate that a modal component has been dismissed. More... | |
Private Attributes | |
WeakReference< Component > | comp |
const FunctionType | function |
ParamType1 | param1 |
typedef void(* ModalCallbackFunction::ComponentCaller2< ComponentType, ParamType1 >::FunctionType) (int, ComponentType *, ParamType1) |
|
inline |
|
inlineoverridevirtual |
Called to indicate that a modal component has been dismissed.
You can register a callback using Component::enterModalState() or ModalComponentManager::attachCallback().
The returnValue parameter is the value that was passed to Component::exitModalState() when the component was dismissed.
The callback object will be deleted shortly after this method is called.
Implements ModalComponentManager::Callback.
|
private |
|
private |
|
private |