From 6c58f1e095f7dbe1e7e1654c1807a76276a2f3f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 5 Jun 2021 23:10:24 +0200 Subject: Contact list in shared state --- include/erebos/identity.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/erebos/identity.h') diff --git a/include/erebos/identity.h b/include/erebos/identity.h index d0b60d5..888f162 100644 --- a/include/erebos/identity.h +++ b/include/erebos/identity.h @@ -6,6 +6,10 @@ namespace erebos { using std::optional; +using std::vector; + +template class Signed; +struct IdentityData; class Identity { @@ -17,8 +21,10 @@ public: static std::optional load(const Ref &); static std::optional load(const std::vector &); + static std::optional load(const std::vector>> &); std::vector store() const; std::vector store(const Storage & st) const; + const vector>> & data() const; std::optional name() const; std::optional owner() const; -- cgit v1.2.3