summaryrefslogtreecommitdiff
path: root/src/Erebos/Service.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-03-21 20:04:22 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-03-21 20:04:22 +0100
commitf612d03ac7d5fb00fa76c3be14d965ab51988504 (patch)
tree662fc16c3a35a76c3f4c114d4860ff82745f27f9 /src/Erebos/Service.hs
parent652365ffb1c71b5758329c17015cb5c1912da1f4 (diff)
parent68648650527b769c6ed9f4d3e45aad86187b12b9 (diff)
Merge branch 'release-0.1'
Diffstat (limited to 'src/Erebos/Service.hs')
-rw-r--r--src/Erebos/Service.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Erebos/Service.hs b/src/Erebos/Service.hs
index f640feb..5c81a3d 100644
--- a/src/Erebos/Service.hs
+++ b/src/Erebos/Service.hs
@@ -38,7 +38,13 @@ import Erebos.State
import Erebos.Storable
import Erebos.Storage.Head
-class (Typeable s, Storable s, Typeable (ServiceState s), Typeable (ServiceGlobalState s)) => Service s where
+class (
+ Typeable s, Storable s,
+ Typeable (ServiceAttributes s),
+ Typeable (ServiceState s),
+ Typeable (ServiceGlobalState s)
+ ) => Service s where
+
serviceID :: proxy s -> ServiceID
serviceHandler :: Stored s -> ServiceHandler s ()