From b4ab88f7086d87736848fc026bc87db651f8732e Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 21 Apr 2022 14:41:45 -0400 Subject: add opened tabs to state --- src/components/chatwindow.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/chatwindow.hpp') diff --git a/src/components/chatwindow.hpp b/src/components/chatwindow.hpp index d77afec..d09a87b 100644 --- a/src/components/chatwindow.hpp +++ b/src/components/chatwindow.hpp @@ -4,6 +4,7 @@ #include #include "discord/discord.hpp" #include "completer.hpp" +#include "state.hpp" #ifdef WITH_LIBHANDY class ChannelTabSwitcherHandy; @@ -36,6 +37,8 @@ public: #ifdef WITH_LIBHANDY void OpenNewTab(Snowflake id); + TabsState GetTabsState(); + void UseTabsState(const TabsState &state); #endif protected: -- cgit v1.2.3