From 96476044387e98ee1ee7a6eb992b521bd447813c Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 3 Mar 2023 16:55:33 +0100 Subject: Renamed whiteboard to webchat --- whiteboard.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 whiteboard.h (limited to 'whiteboard.h') diff --git a/whiteboard.h b/whiteboard.h deleted file mode 100644 index 53036ac..0000000 --- a/whiteboard.h +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once - -#include -#include -#include -#include - -#include - -#include "diff.h" -#include "config.h" -#include "connectionregistry.h" -#include "storage.h" - -class Whiteboard -{ -public: - Whiteboard(); - int run(int argc, char* argv[]); - -private: - std::unique_ptr m_config; - std::unique_ptr m_storage; - std::mutex m_storage_mutex; - - ConnectionRegistry m_registry; - - std::unique_ptr m_ioc; - std::unique_ptr m_acceptor; - - void do_accept(); - void on_accept(boost::system::error_code ec, boost::asio::ip::tcp::socket socket); - void touch_all_connections(); -}; - -- cgit v1.2.3