From 05ecd0105d4e723517bc269c9b42bc650743ee89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 20 Jan 2021 20:51:10 +0100 Subject: Changing local state via service context --- include/erebos/service.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 #include #include @@ -22,6 +23,9 @@ public: const class Ref & ref() const; const class Peer & peer() const; + const Stored & local() const; + void local(const LocalState &); + private: std::unique_ptr p; }; -- cgit v1.2.3