diff options
Diffstat (limited to 'src/components/channels.hpp')
-rw-r--r-- | src/components/channels.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/channels.hpp b/src/components/channels.hpp index 2ad1a7c..7a23b3d 100644 --- a/src/components/channels.hpp +++ b/src/components/channels.hpp @@ -55,6 +55,7 @@ protected: void OnVoiceUserConnect(Snowflake user_id, Snowflake channel_id); void OnVoiceUserDisconnect(Snowflake user_id, Snowflake channel_id); + void OnVoiceStateSet(Snowflake user_id, Snowflake channel_id, VoiceStateFlags flags); Gtk::TreeView m_view; @@ -70,6 +71,7 @@ protected: Gtk::TreeModelColumn<int64_t> m_sort; Gtk::TreeModelColumn<bool> m_nsfw; Gtk::TreeModelColumn<std::optional<Gdk::RGBA>> m_color; // for folders right now + Gtk::TreeModelColumn<VoiceStateFlags> m_voice_flags; // Gtk::CellRenderer's property_is_expanded only works how i want it to if it has children // because otherwise it doesnt count as an "expander" (property_is_expander) // so this solution will have to do which i hate but the alternative is adding invisible children |