xbot/self_thread.hpp

19 lines
317 B
C++
Raw Normal View History

2023-11-26 16:48:21 -08:00
#pragma once
#include <string>
#include <memory>
struct Connection;
class SelfThread
{
Connection& connection_;
std::string nickname_;
std::string mode_;
public:
SelfThread(Connection& connection) : connection_{connection} {}
static auto start(Connection&) -> std::shared_ptr<SelfThread>;
};