diff options
Diffstat (limited to 'whiteboard.h')
-rw-r--r-- | whiteboard.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/whiteboard.h b/whiteboard.h index 818fcfe..c000e36 100644 --- a/whiteboard.h +++ b/whiteboard.h @@ -7,6 +7,7 @@ #include <boost/asio/ip/tcp.hpp> +#include "diff.h" #include "config.h" #include "connectionregistry.h" #include "storage.h" @@ -27,7 +28,7 @@ private: using connection = std::shared_ptr<boost::beast::websocket::stream<boost::asio::ip::tcp::socket>>; std::string handle_request(connection& c, const std::string& request); - void notify_other_connections_file(connection& c, const std::string& id); // notify all other id-related connections about changes + void notify_other_connections_diff(connection& c, const std::string& id, const Diff& diff); // notify all other id-related connections about changes void notify_other_connections_pos(connection& c, const std::string& id); // notify all other id-related connections about changes void do_session(boost::asio::ip::tcp::socket socket); void storage_cleanup(); |