diff --git a/solanaceae/contact/components.hpp b/solanaceae/contact/components.hpp index b26b601..5828f55 100644 --- a/solanaceae/contact/components.hpp +++ b/solanaceae/contact/components.hpp @@ -3,6 +3,7 @@ #include "./contact_model3.hpp" #include +#include // fwd struct ContactModel3I; @@ -44,7 +45,17 @@ namespace Contact::Components { // (display)alias - // avatar + struct AvatarMemory { + // RGBA + std::vector data; + uint64_t width; + uint64_t height; + }; + + struct AvatarFile { + std::string file_path; + }; + // status struct ConnectionState { diff --git a/solanaceae/contact/components_id.inl b/solanaceae/contact/components_id.inl index c380eac..32f9e58 100644 --- a/solanaceae/contact/components_id.inl +++ b/solanaceae/contact/components_id.inl @@ -22,6 +22,8 @@ DEFINE_COMP_ID(Contact::Components::Parent) DEFINE_COMP_ID(Contact::Components::ParentOf) DEFINE_COMP_ID(Contact::Components::ContactModel) DEFINE_COMP_ID(Contact::Components::Name) +DEFINE_COMP_ID(Contact::Components::AvatarMemory) +DEFINE_COMP_ID(Contact::Components::AvatarFile) DEFINE_COMP_ID(Contact::Components::ConnectionState) DEFINE_COMP_ID(Contact::Components::StatusMessage)