Files
Renderive/web_server/Web_Plot_Session.h
T
2026-08-10 21:05:36 +08:00

26 lines
506 B
C++

#pragma once
#include "Web_Event.h"
#include <memory>
#include <optional>
#include <string>
namespace renderive::web {
class Web_Plot_Session final {
public:
Web_Plot_Session();
~Web_Plot_Session();
Web_Plot_Session(const Web_Plot_Session&) = delete;
Web_Plot_Session& operator=(const Web_Plot_Session&) = delete;
[[nodiscard]] std::optional<std::string> handle(const Web_Event& event);
private:
struct Impl;
std::unique_ptr<Impl> impl_;
};
} // namespace renderive::web