diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-09 02:12:15 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-09 02:12:15 -0400 |
commit | ae3b25674635257b70f5ad59b71abaf0019c6b4e (patch) | |
tree | 4320eaf2e0fb4196453ca8bbce6b2e386c9b88a8 /components/friendslist.hpp | |
parent | bf26e49f2c7868f5bfdeea30db9e0fb3a7af440d (diff) | |
download | abaddon-portaudio-ae3b25674635257b70f5ad59b71abaf0019c6b4e.tar.gz abaddon-portaudio-ae3b25674635257b70f5ad59b71abaf0019c6b4e.zip |
friends: handle RELATIONSHIP_ADD events
Diffstat (limited to 'components/friendslist.hpp')
-rw-r--r-- | components/friendslist.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/friendslist.hpp b/components/friendslist.hpp index c161de4..dcd5e74 100644 --- a/components/friendslist.hpp +++ b/components/friendslist.hpp @@ -1,7 +1,6 @@ #pragma once #include <gtkmm.h> -#include "../discord/relationship.hpp" -#include "../discord/activity.hpp" +#include "../discord/objects.hpp" class FriendsListAddComponent : public Gtk::Box { public: @@ -20,6 +19,7 @@ public: FriendsList(); private: + void OnRelationshipAdd(const RelationshipAddData &data); void OnRelationshipRemove(Snowflake id, RelationshipType type); enum FilterMode { |