26 lines
506 B
C++
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
|