diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-07 02:45:46 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-07 02:45:46 -0400 |
commit | da2182a5e7f8c951f4f270bf52e949647a4de5d6 (patch) | |
tree | 68f822ccddd0076c12a1cd48ce556d1fa63c820a /components/memberlist.hpp | |
parent | 902c96ee53db6d5cbe2c21c9424c89e1e0088cb1 (diff) | |
download | abaddon-portaudio-da2182a5e7f8c951f4f270bf52e949647a4de5d6.tar.gz abaddon-portaudio-da2182a5e7f8c951f4f270bf52e949647a4de5d6.zip |
more signal usage and some other fixes
Diffstat (limited to 'components/memberlist.hpp')
-rw-r--r-- | components/memberlist.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/memberlist.hpp b/components/memberlist.hpp index 3118c1c..ffcc4eb 100644 --- a/components/memberlist.hpp +++ b/components/memberlist.hpp @@ -14,6 +14,7 @@ public: Gtk::Widget *GetRoot() const; void UpdateMemberList(); + void Clear(); void SetActiveChannel(Snowflake id); private: @@ -36,4 +37,12 @@ private: Snowflake m_guild_id; Snowflake m_chan_id; + +public: + typedef sigc::signal<void, Snowflake> type_signal_action_insert_mention; + + type_signal_action_insert_mention signal_action_insert_mention(); + +private: + type_signal_action_insert_mention m_signal_action_insert_mention; }; |