summaryrefslogtreecommitdiff
path: root/components/channels.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-07-28 03:34:36 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-07-28 03:34:36 -0400
commit014e176e0a7cf457a03278dbdf8495400981b8b2 (patch)
treeaf04057a3ed6ca7da1f646a8b7a6440425ec5d94 /components/channels.hpp
parent9d2d13a3898f05f9e8189f99087198726d476e1b (diff)
downloadabaddon-portaudio-014e176e0a7cf457a03278dbdf8495400981b8b2.tar.gz
abaddon-portaudio-014e176e0a7cf457a03278dbdf8495400981b8b2.zip
handle THREAD_CREATE
also fix compilation also change channel_create signal to emit ChannelData
Diffstat (limited to 'components/channels.hpp')
-rw-r--r--components/channels.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/channels.hpp b/components/channels.hpp
index 3b81cab..bdc3e84 100644
--- a/components/channels.hpp
+++ b/components/channels.hpp
@@ -139,7 +139,8 @@ protected:
void UpdateRemoveGuild(Snowflake id);
void UpdateRemoveChannel(Snowflake id);
void UpdateChannel(Snowflake id);
- void UpdateCreateChannel(Snowflake id);
+ void UpdateCreateChannel(const ChannelData &channel);
+ void UpdateCreateThread(const ChannelData &channel);
void UpdateGuild(Snowflake id);
Gtk::TreeView m_view;
@@ -168,6 +169,7 @@ protected:
Gtk::TreeModel::iterator AddGuild(const GuildData &guild);
Gtk::TreeModel::iterator UpdateCreateChannelCategory(const ChannelData &channel);
+ Gtk::TreeModel::iterator CreateThreadRow(const Gtk::TreeNodeChildren &children, const ChannelData &channel);
void UpdateChannelCategory(const ChannelData &channel);