add same msg comp for contacts

This commit is contained in:
Green Sky 2024-02-17 14:29:59 +01:00
parent 5727c7482f
commit b8893b1c5c
No known key found for this signature in database
2 changed files with 16 additions and 0 deletions

View File

@ -13,6 +13,8 @@ add_library(solanaceae_message3
./solanaceae/message3/registry_message_model.hpp ./solanaceae/message3/registry_message_model.hpp
./solanaceae/message3/registry_message_model.cpp ./solanaceae/message3/registry_message_model.cpp
./solanaceae/message3/contact_components.hpp
./solanaceae/message3/message_time_sort.hpp ./solanaceae/message3/message_time_sort.hpp
./solanaceae/message3/message_time_sort.cpp ./solanaceae/message3/message_time_sort.cpp

View File

@ -0,0 +1,14 @@
#pragma once
#include <solanaceae/message3/registry_message_model.hpp>
#include <functional>
namespace Contact::Components {
struct MessageIsSame {
std::function<bool(Message3Handle lh, Message3Handle rh)> comp;
};
} // Contact::Components