From 09cfa864be6e706fd2576eee60a285d5f4431b04 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 26 Oct 2023 01:20:10 -0400 Subject: create folders in guild list --- src/components/channellist/classic/guildlist.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/components/channellist/classic/guildlist.hpp') 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 #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; -- cgit v1.2.3