summaryrefslogtreecommitdiff
path: root/src/components/channeltabswitcherhandy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/channeltabswitcherhandy.hpp')
-rw-r--r--src/components/channeltabswitcherhandy.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/channeltabswitcherhandy.hpp b/src/components/channeltabswitcherhandy.hpp
index 6a2dbff..41c9c92 100644
--- a/src/components/channeltabswitcherhandy.hpp
+++ b/src/components/channeltabswitcherhandy.hpp
@@ -5,6 +5,7 @@
#include <unordered_map>
#include <handy.h>
#include "discord/snowflake.hpp"
+ #include "state.hpp"
class ChannelData;
@@ -18,6 +19,8 @@ public:
void AddChannelTab(Snowflake id);
// switches to existing tab if it exists
void ReplaceActiveTab(Snowflake id);
+ TabsState GetTabsState();
+ void UseTabsState(const TabsState &state);
private:
void CheckUnread(Snowflake id);