Mir
Public Member Functions | List of all members
miral::WaylandExtensions Class Reference

Add a user configuration option to Mir's option handling to select the supported Wayland extensions. This adds the command line option '–wayland-extensions' the corresponding MIR_SERVER_WAYLAND_EXTENSIONS environment variable, and the wayland-extensions config line. More...

#include <wayland_extensions.h>

Public Member Functions

 WaylandExtensions ()
 Default extensions supported by Mir. More...
 
 WaylandExtensions (std::string const &default_value)
 Provide a custom set of default extensions (colon separated list) More...
 
void operator() (mir::Server &server) const
 
auto supported_extensions () const -> std::string
 All extensions extensions supported by Mir (colon separated list) More...
 
 ~WaylandExtensions ()
 
 WaylandExtensions (WaylandExtensions const &)
 
auto operator= (WaylandExtensions const &) -> WaylandExtensions &
 

Detailed Description

Add a user configuration option to Mir's option handling to select the supported Wayland extensions. This adds the command line option '–wayland-extensions' the corresponding MIR_SERVER_WAYLAND_EXTENSIONS environment variable, and the wayland-extensions config line.

Remarks
Since MirAL 2.4

Constructor & Destructor Documentation

◆ WaylandExtensions() [1/3]

miral::WaylandExtensions::WaylandExtensions ( )

Default extensions supported by Mir.

◆ WaylandExtensions() [2/3]

miral::WaylandExtensions::WaylandExtensions ( std::string const &  default_value)
explicit

Provide a custom set of default extensions (colon separated list)

Note
This can only be a subset of supported_extensions().

◆ ~WaylandExtensions()

miral::WaylandExtensions::~WaylandExtensions ( )

◆ WaylandExtensions() [3/3]

miral::WaylandExtensions::WaylandExtensions ( WaylandExtensions const &  )

Member Function Documentation

◆ operator()()

void miral::WaylandExtensions::operator() ( mir::Server &  server) const

◆ operator=()

auto miral::WaylandExtensions::operator= ( WaylandExtensions const &  ) -> WaylandExtensions &

◆ supported_extensions()

auto miral::WaylandExtensions::supported_extensions ( ) const -> std::string

All extensions extensions supported by Mir (colon separated list)


The documentation for this class was generated from the following file:

Copyright © 2012-2019 Canonical Ltd.
Generated on Fri Feb 1 22:50:25 UTC 2019
This documentation is licensed under the GPL version 2 or 3.