diff options
Diffstat (limited to 'wayland/Wayland/Server/Client.hs')
| -rw-r--r-- | wayland/Wayland/Server/Client.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/wayland/Wayland/Server/Client.hs b/wayland/Wayland/Server/Client.hs new file mode 100644 index 0000000..99d11d6 --- /dev/null +++ b/wayland/Wayland/Server/Client.hs @@ -0,0 +1,18 @@ +module Wayland.Server.Client + ( Client + , unwrapClient + , wrapClient + ) where + +import Wayland.Server.System + +data Client = Client WLClient + deriving (Show, Eq) + +unwrapClient :: Client -> IO WLClient +unwrapClient (Client c) = pure c + +wrapClient :: WLClient -> IO Client +wrapClient c = pure $ Client c + +-- TODO: Lifecycle |
