summaryrefslogtreecommitdiff
path: root/include/erebos
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos')
-rw-r--r--include/erebos/service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/erebos/service.h b/include/erebos/service.h
index 2d6fbce..fa7f105 100644
--- a/include/erebos/service.h
+++ b/include/erebos/service.h
@@ -1,5 +1,6 @@
#pragma once
+#include <erebos/state.h>
#include <erebos/uuid.h>
#include <memory>
@@ -22,6 +23,9 @@ public:
const class Ref & ref() const;
const class Peer & peer() const;
+ const Stored<LocalState> & local() const;
+ void local(const LocalState &);
+
private:
std::unique_ptr<Priv> p;
};