summaryrefslogtreecommitdiff
path: root/wayland/Wayland/Server.hs
diff options
context:
space:
mode:
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