diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-10-26 01:20:10 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-10-26 01:20:10 -0400 |
commit | 09cfa864be6e706fd2576eee60a285d5f4431b04 (patch) | |
tree | b1c5b8595cd9fec28d4ee48193116c133fc38c50 /src/components/channellist/classic/guildlist.hpp | |
parent | 2168f011f59b4947d802dceac3ce60b51fee0b2f (diff) | |
download | abaddon-portaudio-09cfa864be6e706fd2576eee60a285d5f4431b04.tar.gz abaddon-portaudio-09cfa864be6e706fd2576eee60a285d5f4431b04.zip |
create folders in guild list
Diffstat (limited to 'src/components/channellist/classic/guildlist.hpp')
-rw-r--r-- | src/components/channellist/classic/guildlist.hpp | 6 |
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>; |