MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
mostlyharmless_WebEvent.h
Go to the documentation of this file.
1//
2// Created by Syl Morrison on 20/09/2024.
3//
4
5#ifndef MOSTLYHARMLESS_MOSTLYHARMLESS_WEBEVENT_H
6#define MOSTLYHARMLESS_MOSTLYHARMLESS_WEBEVENT_H
7#include <nlohmann/json.hpp>
13 struct WebEvent {
19 WebEvent(std::string id_, nlohmann::json content_);
34
38 std::string id;
39
43 nlohmann::json content;
44 };
45} // namespace mostly_harmless::events
46#endif // MOSTLYHARMLESS_MOSTLYHARMLESS_WEBEVENT_H
Contains classes and functions related to events.
Definition mostlyharmless_InputEventContext.h:4
POD type representing a param change event from the host, to be passed to the gui.
Definition mostlyharmless_ParamEvent.h:12
std::string id
Definition mostlyharmless_WebEvent.h:38
WebEvent(ProcToGuiParamEvent event)
nlohmann::json content
Definition mostlyharmless_WebEvent.h:43
WebEvent(std::string id_, nlohmann::json content_)