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

Information that can be used to determine if to enable a conditionally enabled extension. More...

#include <wayland_extensions.h>

Public Member Functions

auto app () const -> Application const &
 The application that is being given access to this extension. More...
 
auto name () const -> const char *
 The name of the extension/global, always the same as given to conditionally_enable() More...
 
auto user_preference () const -> std::optional< bool >
 If the user has enabled or disabled this extension one of the wayland extension Mir options. More...
 

Detailed Description

Information that can be used to determine if to enable a conditionally enabled extension.

Remarks
Since MirAL 3.4

Member Function Documentation

◆ app()

auto miral::WaylandExtensions::EnableInfo::app ( ) const -> Application const &

The application that is being given access to this extension.

◆ name()

auto miral::WaylandExtensions::EnableInfo::name ( ) const -> const char *

The name of the extension/global, always the same as given to conditionally_enable()

◆ user_preference()

auto miral::WaylandExtensions::EnableInfo::user_preference ( ) const -> std::optional< bool >

If the user has enabled or disabled this extension one of the wayland extension Mir options.


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

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.