diff options
Diffstat (limited to 'src/discord/websocket.hpp')
-rw-r--r-- | src/discord/websocket.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/discord/websocket.hpp b/src/discord/websocket.hpp index ca7dcc6..ba55254 100644 --- a/src/discord/websocket.hpp +++ b/src/discord/websocket.hpp @@ -3,6 +3,7 @@ #include <ixwebsocket/IXWebSocket.h> #include <string> #include <functional> +#include <glibmm.h> #include <nlohmann/json.hpp> #include <sigc++/sigc++.h> @@ -42,4 +43,8 @@ private: type_signal_message m_signal_message; bool m_print_messages = true; + + Glib::Dispatcher m_open_dispatcher; + Glib::Dispatcher m_close_dispatcher; + std::atomic<uint16_t> m_close_code; }; |