xbot/snote_thread.hpp

14 lines
251 B
C++
Raw Normal View History

2023-11-25 20:09:20 -08:00
#pragma once
#include "thread.hpp"
class Connection;
// WIP: Use much finer granularity
struct SnoteEvent : Event
{
SnoteEvent(std::string_view raw) : raw{raw} {}
std::string_view raw;
};
auto snote_thread(Connection * connection) -> void;