19 lines
431 B
C++
19 lines
431 B
C++
#pragma once
|
|
|
|
#include "config.hpp"
|
|
|
|
#include <windows.h>
|
|
|
|
namespace notifications {
|
|
|
|
// Registers the portable executable as a Start-menu notification source and
|
|
// initializes the Windows Runtime notification API. Failure is non-fatal.
|
|
[[nodiscard]] bool initialize();
|
|
|
|
[[nodiscard]] bool show(const wchar_t* title, const wchar_t* body);
|
|
[[nodiscard]] bool showScreenshotCopied();
|
|
|
|
void shutdown();
|
|
|
|
} // namespace notifications
|