#pragma once #include "config.hpp" #include "settings.hpp" #include #include #include namespace uploader { struct Result { bool success = false; DWORD httpStatus = 0; std::wstring responseUrl; std::wstring message; }; // Result ownership is transferred to the window through // WM_NIGHTSHOT_UPLOAD_FINISHED in lParam. [[nodiscard]] bool start(HWND notificationTarget, std::vector&& png, const settings::AppSettings& configuration); } // namespace uploader