diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-09 02:55:35 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-09 02:55:35 -0400 |
commit | e6a20e59840a111ab94aaa55974bb43989571344 (patch) | |
tree | 11148b68f896ec1244007a3c7b110ca717f88f27 /components/friendslist.hpp | |
parent | ae3b25674635257b70f5ad59b71abaf0019c6b4e (diff) | |
download | abaddon-portaudio-e6a20e59840a111ab94aaa55974bb43989571344.tar.gz abaddon-portaudio-e6a20e59840a111ab94aaa55974bb43989571344.zip |
add ability to remove relationships
Diffstat (limited to 'components/friendslist.hpp')
-rw-r--r-- | components/friendslist.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/friendslist.hpp b/components/friendslist.hpp index dcd5e74..0e5afe3 100644 --- a/components/friendslist.hpp +++ b/components/friendslist.hpp @@ -14,14 +14,19 @@ private: Gtk::Box m_box; }; +class FriendsListFriendRow; class FriendsList : public Gtk::Box { public: FriendsList(); private: + FriendsListFriendRow *MakeRow(const UserData &user, RelationshipType type); + void OnRelationshipAdd(const RelationshipAddData &data); void OnRelationshipRemove(Snowflake id, RelationshipType type); + void OnActionRemove(Snowflake id); + enum FilterMode { FILTER_FRIENDS, FILTER_ONLINE, |