XEXAMPLE

Example extension:

Members

Aliases

BaseReq
alias BaseReq = xXExampleReq

The extension's base request type.

EventSpecs
alias EventSpecs = AliasSeq!(EventSpec!(XExampleNotify, simpleDecoder!xXExampleNotifyEvent))

Declare the extension's events here.

RequestSpecs
alias RequestSpecs = AliasSeq!(RequestSpec!(X_XExampleRequest, simpleExtEncoder!xXExampleRequestReq, simpleDecoder!xXExampleRequestReply))

Declare the extension's requests here.

Manifest constants

name
enum name;

The name by which to request the extension (as in X_QueryExtension).

reqTypeFieldName
enum reqTypeFieldName;

The name of the field encoding the extension's opcode.

Mixins

__anonymous
mixin ProtocolGlue

Mix this in to generate sendXXX and handleXXX declarations.

Inherited Members

From X11Extension

client
X11Client client;
Undocumented in source.
majorOpcode
CARD8 majorOpcode;
firstEvent
CARD8 firstEvent;
firstError
CARD8 firstError;
Undocumented in source.

Meta