feat: allow Linux/Windows users to set notification timeout (#20153)
* feat: allow Linux users to set notification timeout * implement on windows
This commit is contained in:
parent
5e11be6898
commit
f80a17c5be
7 changed files with 92 additions and 3 deletions
|
@ -63,9 +63,11 @@ class WindowsToastNotification : public Notification {
|
|||
const std::wstring& title,
|
||||
const std::wstring& msg,
|
||||
const std::wstring& icon_path,
|
||||
const std::wstring& timeout_type,
|
||||
const bool silent,
|
||||
ABI::Windows::Data::Xml::Dom::IXmlDocument** toastXml);
|
||||
bool SetXmlAudioSilent(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc);
|
||||
bool SetXmlScenarioReminder(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc);
|
||||
bool SetXmlText(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||
const std::wstring& text);
|
||||
bool SetXmlText(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue