summaryrefslogtreecommitdiff
path: root/wayland/Wayland/Server.hs
blob: 61486b06df529f219ab032743d79877b1851cf76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
-- |
-- Module     : Wayland.Server
-- Description: Low-level API for implementing the Wayland protocol.

module Wayland.Server
  ( -- * The Display Monad
    DisplayM
  , withDisplay
  , bindSocket
  ,  -- * Processing Requests
    Request(..)
  , RequestHandler
  , fromRequest
  , processRequests
  , requestTermination
  , -- * Managing Objects
    Global
  , registerGlobal
  , unregisterGlobal
  , createObject
  , destroyObject
  , sendEvent
  , flushEvents
  , -- * Event Sources
    EventSource
  , registerSignalEvent
  , -- * Interface Descriptions
    InterfaceDesc(..)
  , MessageDesc(..)
  , ArgumentDesc(..)
  , Nullability(..)
  , -- * Object Types
    Object(..)
  , AnyObject
  , NewObject
  , RequestClass
  , EventClass
  , ArgumentMarshaller(..)
  , ArgumentDemarshaller(..)
  ) where

import Wayland.Server.Interface
import Wayland.Server.Object
import Wayland.Server.Display