From b8893b1c5ca49178f6ab96db18bf72a50f6b6653 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sat, 17 Feb 2024 14:29:59 +0100 Subject: [PATCH] add same msg comp for contacts --- src/CMakeLists.txt | 2 ++ src/solanaceae/message3/contact_components.hpp | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/solanaceae/message3/contact_components.hpp diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5482c51..68b4fc2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,6 +13,8 @@ add_library(solanaceae_message3 ./solanaceae/message3/registry_message_model.hpp ./solanaceae/message3/registry_message_model.cpp + ./solanaceae/message3/contact_components.hpp + ./solanaceae/message3/message_time_sort.hpp ./solanaceae/message3/message_time_sort.cpp diff --git a/src/solanaceae/message3/contact_components.hpp b/src/solanaceae/message3/contact_components.hpp new file mode 100644 index 0000000..1dce88d --- /dev/null +++ b/src/solanaceae/message3/contact_components.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include + +#include + +namespace Contact::Components { + + struct MessageIsSame { + std::function comp; + }; + +} // Contact::Components +