summaryrefslogtreecommitdiff
path: root/components/channels.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/channels.hpp')
-rw-r--r--components/channels.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/channels.hpp b/components/channels.hpp
index 5cfa9c3..1faf367 100644
--- a/components/channels.hpp
+++ b/components/channels.hpp
@@ -6,7 +6,8 @@
#include <unordered_set>
#include <unordered_map>
#include <sigc++/sigc++.h>
-#include "../discord/discord.hpp"
+#include "discord/discord.hpp"
+#include "state.hpp"
constexpr static int GuildIconSize = 24;
constexpr static int DMIconSize = 20;
@@ -134,6 +135,10 @@ public:
void UpdateListing();
void SetActiveChannel(Snowflake id);
+ // channel list should be populated when this is called
+ void UseExpansionState(const ExpansionStateRoot &state);
+ ExpansionStateRoot GetExpansionState() const;
+
protected:
void UpdateNewGuild(const GuildData &guild);
void UpdateRemoveGuild(Snowflake id);