Files
NightShot/include/notifications.hpp
T
2026-07-31 17:03:49 +03:00

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