#pragma once #include "platform.h" namespace ks { bool notifyScreenshot(const Clip &); std::string screenshotNotificationError(); void registerScreenshotNotifications(); // Caller owns the returned process handle; the helper exits after registration. HANDLE startScreenshotNotificationRegistration(); // For background notification workers only; bounded wait, never on the UI thread. void registerScreenshotNotificationsInHelper(); int runScreenshotToastActivator(); DWORD startScreenshotActivationListener(); bool validScreenshotToken(const std::wstring &); Clip loadNotifiedScreenshot(const std::wstring &); std::wstring cacheScreenshotForEditor(const Clip &); }