update deps and adopt

This commit is contained in:
2024-01-14 18:50:23 +01:00
parent b117da5ccf
commit 565aa4b7eb
6 changed files with 7 additions and 6 deletions

View File

@ -5,10 +5,10 @@
#include <solanaceae/message3/components.hpp> #include <solanaceae/message3/components.hpp>
#include <solanaceae/tox_messages/components.hpp> #include <solanaceae/tox_messages/components.hpp>
#include <solanaceae/contact/components.hpp> #include <solanaceae/contact/components.hpp>
#include <solanaceae/util/utils.hpp>
// HACK: remove them // HACK: remove them
#include <solanaceae/tox_contacts/components.hpp> #include <solanaceae/tox_contacts/components.hpp>
#include <solanaceae/toxcore/utils.hpp>
#include <imgui/imgui.h> #include <imgui/imgui.h>
#include <imgui/misc/cpp/imgui_stdlib.h> #include <imgui/misc/cpp/imgui_stdlib.h>
@ -197,6 +197,7 @@ void ChatGui4::render(float time_delta) {
ImGui::SeparatorText("tox"); ImGui::SeparatorText("tox");
// TODO: cheese it and rename to copy id?
if (_cr.all_of<Contact::Components::ToxGroupPersistent>(*_selected_contact)) { if (_cr.all_of<Contact::Components::ToxGroupPersistent>(*_selected_contact)) {
if (ImGui::MenuItem("copy ngc chatid")) { if (ImGui::MenuItem("copy ngc chatid")) {
const auto& chat_id = _cr.get<Contact::Components::ToxGroupPersistent>(*_selected_contact).chat_id.data; const auto& chat_id = _cr.get<Contact::Components::ToxGroupPersistent>(*_selected_contact).chat_id.data;

View File

@ -9,7 +9,7 @@
#include <solanaceae/contact/components.hpp> #include <solanaceae/contact/components.hpp>
#include <solanaceae/tox_contacts/components.hpp> #include <solanaceae/tox_contacts/components.hpp>
#include <solanaceae/toxcore/utils.hpp> #include <solanaceae/util/utils.hpp>
#include <filesystem> #include <filesystem>
#include <string_view> #include <string_view>

View File

@ -3,7 +3,7 @@
#include <tox/tox.h> #include <tox/tox.h>
#include <solanaceae/toxcore/tox_interface.hpp> #include <solanaceae/toxcore/tox_interface.hpp>
#include <solanaceae/toxcore/utils.hpp> #include <solanaceae/util/utils.hpp>
#include <solanaceae/util/config_model.hpp> #include <solanaceae/util/config_model.hpp>