MSIX: implement initial version of notifications library (#1178)

This commit is contained in:
yuyoyuppe
2020-02-04 19:41:00 +03:00
committed by GitHub
parent b41d2d64cb
commit 5089729b18
28 changed files with 794 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#pragma once
#include <string_view>
#include <vector>
namespace notifications
{
void register_background_toast_handler();
// Make sure your plaintext_message argument is properly XML-escaped
void show_toast(std::wstring_view plaintext_message);
void show_toast_background_activated(std::wstring_view plaintext_message, std::wstring_view background_handler_id, std::vector<std::wstring_view> plaintext_button_labels);
}