diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-10-24 22:45:31 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-10-24 22:45:31 -0400 |
commit | 182128705e10adf529b39a290232f0cd27bf4837 (patch) | |
tree | 99c1441b87b520a3f1563aad382ffb66db3b2e63 /src/components/channellist/classic/guildlist.hpp | |
parent | 8b034e48e27e4889b08ed648745a74d05630a431 (diff) | |
download | abaddon-portaudio-182128705e10adf529b39a290232f0cd27bf4837.tar.gz abaddon-portaudio-182128705e10adf529b39a290232f0cd27bf4837.zip |
very very rudimentary classic channels list
Diffstat (limited to 'src/components/channellist/classic/guildlist.hpp')
-rw-r--r-- | src/components/channellist/classic/guildlist.hpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/channellist/classic/guildlist.hpp b/src/components/channellist/classic/guildlist.hpp index 244313f..856cf4d 100644 --- a/src/components/channellist/classic/guildlist.hpp +++ b/src/components/channellist/classic/guildlist.hpp @@ -6,7 +6,17 @@ class GuildList : public Gtk::ListBox { public: GuildList(); - void AddGuild(Snowflake id); + void UpdateListing(); +private: + void AddGuild(Snowflake id); void Clear(); + +public: + using type_signal_guild_selected = sigc::signal<void, Snowflake>; + + type_signal_guild_selected signal_guild_selected(); + +private: + type_signal_guild_selected m_signal_guild_selected; }; |