Mir
Public Member Functions | Protected Member Functions | List of all members
miral::WaylandExtensions::Context Class Referenceabstract

Context information useful for implementing Wayland extensions. More...

#include <wayland_extensions.h>

Public Member Functions

virtual auto display () const -> wl_display *=0
 
virtual void run_on_wayland_mainloop (std::function< void()> &&work) const =0
 

Protected Member Functions

 Context ()=default
 
virtual ~Context ()=default
 
 Context (Context const &)=delete
 
Contextoperator= (Context const &)=delete
 

Detailed Description

Context information useful for implementing Wayland extensions.

Remarks
Since MirAL 2.5

Constructor & Destructor Documentation

◆ Context() [1/2]

miral::WaylandExtensions::Context::Context ( )
protecteddefault

◆ ~Context()

virtual miral::WaylandExtensions::Context::~Context ( )
protectedvirtualdefault

◆ Context() [2/2]

miral::WaylandExtensions::Context::Context ( Context const &  )
protecteddelete

Member Function Documentation

◆ display()

virtual auto miral::WaylandExtensions::Context::display ( ) const -> wl_display *
pure virtual

◆ operator=()

Context& miral::WaylandExtensions::Context::operator= ( Context const &  )
protecteddelete

◆ run_on_wayland_mainloop()

virtual void miral::WaylandExtensions::Context::run_on_wayland_mainloop ( std::function< void()> &&  work) const
pure virtual

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

Copyright © 2012-2019 Canonical Ltd.
Generated on Fri May 24 15:24:26 UTC 2019
This documentation is licensed under the GPL version 2 or 3.