Public Types | |
typedef void(* | FunctionType) (int, ParamType) |
Public Member Functions | |
FunctionCaller1 (FunctionType &f, ParamType &p1) | |
void | modalStateFinished (int returnValue) override |
Called to indicate that a modal component has been dismissed. More... | |
Private Attributes | |
const FunctionType | function |
ParamType | param |
typedef void(* ModalCallbackFunction::FunctionCaller1< ParamType >::FunctionType) (int, ParamType) |
|
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 |