summaryrefslogtreecommitdiff
path: root/wayland/Wayland/Server.hs
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2024-08-08 18:47:02 +0200
committerHannes Schulze <haschu0103@outlook.de>2024-08-08 18:47:02 +0200
commit539930f228d9dda1fe3462e5a6d913061dc6a652 (patch)
treeba5a106c1b8729b53547fe9c2dc4cf714efa76e6 /wayland/Wayland/Server.hs
parent4d51231141d9f35074660e101c478b664b96683d (diff)
finish implementing wayland server api
Diffstat (limited to 'wayland/Wayland/Server.hs')
-rw-r--r--wayland/Wayland/Server.hs37
1 files changed, 28 insertions, 9 deletions
diff --git a/wayland/Wayland/Server.hs b/wayland/Wayland/Server.hs
index 61486b0..07fc3d7 100644
--- a/wayland/Wayland/Server.hs
+++ b/wayland/Wayland/Server.hs
@@ -7,23 +7,40 @@ module Wayland.Server
DisplayM
, withDisplay
, bindSocket
- , -- * Processing Requests
- Request(..)
- , RequestHandler
- , fromRequest
- , processRequests
+ , -- * Handling Messages
+ MessageClass
+ , Message(..)
+ , MessageHandler
+ , fromMessage
+ , processMessages
, requestTermination
- , -- * Managing Objects
+ , -- * Objects
Global
, registerGlobal
+ , hideGlobal
, unregisterGlobal
, createObject
, destroyObject
, sendEvent
, flushEvents
- , -- * Event Sources
- EventSource
- , registerSignalEvent
+ , -- * Clients
+ Client
+ , ClientMessage(..)
+ , destroyClient
+ , flushClientEvents
+ , -- * Message Sources
+ SignalSource
+ , TimerSource
+ , FileSource
+ , FileEventMask(..)
+ , registerSignalSource
+ , unregisterSignalSource
+ , registerTimerSource
+ , setTimerSource
+ , unregisterTimerSource
+ , registerFileSource
+ , updateFileSourceMask
+ , unregisterFileSource
, -- * Interface Descriptions
InterfaceDesc(..)
, MessageDesc(..)
@@ -42,3 +59,5 @@ module Wayland.Server
import Wayland.Server.Interface
import Wayland.Server.Object
import Wayland.Server.Display
+import Wayland.Server.Client
+import Wayland.Server.Types