Use the existing successful calibration-enter workflow to display the same SDK manufacturer's window and actual callback progress in the task UI. Bind metadata, JPEG and MJPEG to the execution, SDK session, calibration ID and trusted process/window identity; closing the monitor only stops viewing. Include source-only FreeScanCpp integration, WGC capture lifecycle fixes and immediate ENTER acknowledgement cache synchronization. Preserve original scanner project guards, regression sources and third-party licensing; exclude private runtime configuration and generated artifacts. Validated platform Java compilation/regressions, frontend type checks and standalone build, native compilation/offline and HTTP regressions, immediate calibration identity checks and ten synthetic window close/reopen cycles. Production installation/restart and real scanner calibration remain pending.
13 lines
445 B
C++
13 lines
445 B
C++
#pragma once
|
|
#include "common.hpp"
|
|
|
|
namespace freescan::contracts {
|
|
std::string action_for_path(const std::string &path);
|
|
Json routes();
|
|
Json export_formats();
|
|
void validate(const std::string &action, const Json &body);
|
|
size_t maximum_body_bytes(const std::string &action);
|
|
// Shared with SDK marshaling: accepts legacy .NET N/D/B/P/X forms and returns D.
|
|
std::string normalize_guid(const std::string &value);
|
|
} // namespace freescan::contracts
|