17 static void createToast(
Component *parent);
27 static void showError(
Component *parent,
const wstring& errorMessage,
const wstring& title = L
"");
45 static void showInfo(
Component *parent,
const wstring& infoMessage,
const wstring& title = L
"");
Base class for all UI components providing window creation, event handling, and listener management.
Definition Component.h:32
A utility class providing static methods to show common toast messages.
Definition ToastFactory.h:14
static void showInfo(Component *parent, const wstring &infoMessage, const wstring &title=L"")
Shows an informational message toast.
static void showWarning(Component *parent, const wstring &warningMessage, const wstring &title=L"")
Shows a warning message toast.
static void showError(Component *parent, const wstring &errorMessage, const wstring &title=L"")
Shows an error message toast.
static void showSuccess(Component *parent, const wstring &successMessage, const wstring &title=L"")
Shows a success message toast.