summaryrefslogtreecommitdiff
path: root/include/erebos
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos')
-rw-r--r--include/erebos/network.h18
-rw-r--r--include/erebos/storage.h6
2 files changed, 20 insertions, 4 deletions
diff --git a/include/erebos/network.h b/include/erebos/network.h
new file mode 100644
index 0000000..c29096f
--- /dev/null
+++ b/include/erebos/network.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <erebos/identity.h>
+
+namespace erebos {
+
+class Server
+{
+public:
+ Server(const Identity &);
+ ~Server();
+
+private:
+ struct Priv;
+ const std::shared_ptr<Priv> p;
+};
+
+};
diff --git a/include/erebos/storage.h b/include/erebos/storage.h
index 3777572..95a4574 100644
--- a/include/erebos/storage.h
+++ b/include/erebos/storage.h
@@ -124,10 +124,8 @@ public:
template<typename T> std::optional<Stored<T>> as() const;
- private:
- friend class Record;
- std::string name;
- Variant value;
+ const std::string name;
+ const Variant value;
};
private: