16 lines
268 B
C++
16 lines
268 B
C++
#pragma once
|
|
|
|
#include "Web_Event.h"
|
|
|
|
#include <optional>
|
|
#include <string_view>
|
|
|
|
namespace renderive::web {
|
|
|
|
class Web_Event_Adapter final {
|
|
public:
|
|
[[nodiscard]] static std::optional<Web_Event> decode(std::string_view message);
|
|
};
|
|
|
|
} // namespace renderive::web
|