summaryrefslogtreecommitdiff
path: root/components/channels.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-10-19 20:35:10 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-10-19 20:35:10 -0400
commitcb73bba135933357878dc47f6e7a6bec3168d001 (patch)
tree0bcced1046c53b6322a6d680db4aca7edbc9371f /components/channels.hpp
parent49a6e581375fdf0b5f5e82f981ca2d7cb419267f (diff)
downloadabaddon-portaudio-cb73bba135933357878dc47f6e7a6bec3168d001.tar.gz
abaddon-portaudio-cb73bba135933357878dc47f6e7a6bec3168d001.zip
CHANNEL_CREATE, CHANNEL_UPDATE, CHANNEL_DELETE
Diffstat (limited to 'components/channels.hpp')
-rw-r--r--components/channels.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/channels.hpp b/components/channels.hpp
index 8989669..b5373e5 100644
--- a/components/channels.hpp
+++ b/components/channels.hpp
@@ -11,7 +11,6 @@
class ChannelListRow : public Gtk::ListBoxRow {
public:
bool IsUserCollapsed;
- bool IsHidden;
Snowflake ID;
std::unordered_set<ChannelListRow *> Children;
ChannelListRow *Parent = nullptr;
@@ -89,6 +88,9 @@ public:
void UpdateListing();
void UpdateNewGuild(Snowflake id);
void UpdateRemoveGuild(Snowflake id);
+ void UpdateRemoveChannel(Snowflake id);
+ void UpdateChannel(Snowflake id);
+ void UpdateCreateChannel(Snowflake id);
void Clear();
protected:
@@ -99,6 +101,8 @@ protected:
void ExpandRow(ChannelListRow *row);
void DeleteRow(ChannelListRow *row);
+ void UpdateChannelCategory(Snowflake id);
+
void on_row_activated(Gtk::ListBoxRow *row);
int m_guild_count;