summaryrefslogtreecommitdiff
path: root/src/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.h')
-rw-r--r--src/contact.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/contact.h b/src/contact.h
new file mode 100644
index 0000000..6fc0219
--- /dev/null
+++ b/src/contact.h
@@ -0,0 +1,30 @@
+#pragma once
+
+#include <erebos/contact.h>
+
+#include <mutex>
+#include <optional>
+#include <string>
+#include <vector>
+
+namespace erebos {
+
+using std::optional;
+using std::string;
+using std::vector;
+
+struct ContactData;
+struct IdentityData;
+
+struct Contact::Priv
+{
+ vector<Stored<ContactData>> data;
+
+ void init();
+ std::once_flag initFlag {};
+
+ optional<Identity> identity {};
+ optional<string> name {};
+};
+
+}