diff --git a/solanaceae/contact/components.hpp b/solanaceae/contact/components.hpp index cc5e935..2b76c0d 100644 --- a/solanaceae/contact/components.hpp +++ b/solanaceae/contact/components.hpp @@ -18,11 +18,12 @@ namespace Contact::Components { Contact3 self; }; - // TODO: rename to SubOf? - struct BigParent { + // tier 1 + struct Parent { Contact3 parent; }; + // TODO: maybe rename to children struct ParentOf { std::vector subs; }; diff --git a/solanaceae/contact/components_id.inl b/solanaceae/contact/components_id.inl index 95f15fa..d00dab2 100644 --- a/solanaceae/contact/components_id.inl +++ b/solanaceae/contact/components_id.inl @@ -16,7 +16,7 @@ DEFINE_COMP_ID(Contact::Components::TagSelfWeak) DEFINE_COMP_ID(Contact::Components::TagSelfStrong) DEFINE_COMP_ID(Contact::Components::TagBig) DEFINE_COMP_ID(Contact::Components::Self) -DEFINE_COMP_ID(Contact::Components::BigParent) +DEFINE_COMP_ID(Contact::Components::Parent) DEFINE_COMP_ID(Contact::Components::ParentOf) DEFINE_COMP_ID(Contact::Components::ContactModel) DEFINE_COMP_ID(Contact::Components::Name)