summaryrefslogtreecommitdiff
path: root/include/erebos/service.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos/service.h')
-rw-r--r--include/erebos/service.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/erebos/service.h b/include/erebos/service.h
index 7a9a366..7e037f8 100644
--- a/include/erebos/service.h
+++ b/include/erebos/service.h
@@ -7,12 +7,16 @@
namespace erebos {
+class Server;
+
class Service
{
public:
Service();
virtual ~Service();
+ using Config = monostate;
+
class Context
{
public:
@@ -35,8 +39,6 @@ public:
virtual UUID uuid() const = 0;
virtual void handle(Context &) = 0;
-
- virtual void serverStarted(const class Server &);
};
}