Classes | |
struct | FormIt::UI::ShowNotificationData |
Functions | |
FORMIT_CORE_EXPORT FormIt::NotificationHandle | FormIt::UI::ShowNotification (const 1::string &message, NotificationType type, int nTimeout=FormIt::UI::sDefaultNotificationTimeoutMs, LinkCallback linkCallback={}) |
Display a notification message to the user. | |
FORMIT_CORE_EXPORT void | FormIt::UI::HandleConfirmationResult (size_t dialogId, bool isConfirming) |
Method to report the result of a confirmation dialog box. | |
FORMIT_CORE_EXPORT void FormIt::UI::HandleConfirmationResult | ( | size_t | dialogId, |
bool | isConfirming | ||
) |
Method to report the result of a confirmation dialog box.
[in] | dialogId | |
[in] | isConfirming |
FORMIT_CORE_EXPORT FormIt::NotificationHandle FormIt::UI::ShowNotification | ( | const 1::string & | message, |
NotificationType | type, | ||
int | nTimeout = FormIt::UI::sDefaultNotificationTimeoutMs , |
||
LinkCallback | linkCallback = {} |
||
) |
Display a notification message to the user.
The nTimeout parameter is the time in ms that the notification should be displayed. Use a value of FormIt::UI::sDefaultNotificationTimeoutMs for a default timeout or FormIt::UI::sInfinitNotificationTimeout timeout which requires user to dismiss.
[in] | message | |
[in] | type | |
[in] | nTimeout | |
[in] | linkCallback |