summaryrefslogtreecommitdiff
path: root/src/components/channellist/classic/guildlist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/channellist/classic/guildlist.hpp')
-rw-r--r--src/components/channellist/classic/guildlist.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/channellist/classic/guildlist.hpp b/src/components/channellist/classic/guildlist.hpp
index 856cf4d..dc19102 100644
--- a/src/components/channellist/classic/guildlist.hpp
+++ b/src/components/channellist/classic/guildlist.hpp
@@ -1,6 +1,9 @@
#pragma once
#include <gtkmm/listbox.h>
#include "discord/snowflake.hpp"
+#include "discord/usersettings.hpp"
+
+class GuildListGuildItem;
class GuildList : public Gtk::ListBox {
public:
@@ -10,8 +13,11 @@ public:
private:
void AddGuild(Snowflake id);
+ void AddFolder(const UserSettingsGuildFoldersEntry &folder);
void Clear();
+ GuildListGuildItem *CreateGuildWidget(Snowflake id);
+
public:
using type_signal_guild_selected = sigc::signal<void, Snowflake>;