summaryrefslogtreecommitdiff
path: root/components/channels.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-07-04 02:11:38 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-07-04 02:11:38 -0400
commit4102db1eb9027e6d41f00893a5f4a5b3215ac07a (patch)
tree8e5fc10abbc103862f6ff43a0fd0748203ec2ba2 /components/channels.hpp
parentd0d5c655fc8c09915dc52164c18ff066d6355f0c (diff)
downloadabaddon-portaudio-4102db1eb9027e6d41f00893a5f4a5b3215ac07a.tar.gz
abaddon-portaudio-4102db1eb9027e6d41f00893a5f4a5b3215ac07a.zip
better channel update handling
Diffstat (limited to 'components/channels.hpp')
-rw-r--r--components/channels.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/channels.hpp b/components/channels.hpp
index 529cb85..e40c2a0 100644
--- a/components/channels.hpp
+++ b/components/channels.hpp
@@ -122,9 +122,13 @@ protected:
Gtk::TreeModel::iterator AddGuild(const GuildData &guild);
Gtk::TreeModel::iterator UpdateCreateChannelCategory(const ChannelData &channel);
+ void UpdateChannelCategory(const ChannelData &channel);
+
Gtk::TreeModel::iterator GetIteratorForGuildFromID(Snowflake id);
Gtk::TreeModel::iterator GetIteratorForChannelFromID(Snowflake id);
+ bool IsTextChannel(ChannelType type);
+
public:
typedef sigc::signal<void, Snowflake> type_signal_action_channel_item_select;
typedef sigc::signal<void, Snowflake> type_signal_action_guild_leave;