Files
Renderive/web_server/app/Gallery_Plot_Session.h
2026-08-18 12:15:41 +08:00

25 lines
606 B
C++

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