Module Drm_server.Wl_drm

type 'v t = ([ `Wl_drm ], 'v, [ `Server ]) Wayland.Proxy.t
module Error = Drm_proto.Wl_drm.Error
module Format = Drm_proto.Wl_drm.Format
module Capability = Drm_proto.Wl_drm.Capability

Version 1

val capabilities : [< `V1 | `V2 ] t -> value:int32 -> unit
val authenticated : [< `V1 | `V2 ] t -> unit
val format : [< `V1 | `V2 ] t -> format:int32 -> unit
val device : [< `V1 | `V2 ] t -> name:string -> unit

Version 2

Handlers

Note: Servers will always want to use v1.

class virtual +'a v1 : object ... end

Handler for a proxy with version >= 1.

class virtual +'a v2 : object ... end

Handler for a proxy with version >= 2.