/* * Copyright (C) Marius Gripsgard * Copyright (C) Canonical Ltd. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 or 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #ifndef MIR_FRONTEND_XWAYLAND_WM_SHELL_H #define MIR_FRONTEND_XWAYLAND_WM_SHELL_H #include namespace mir { class Executor; namespace shell { class Shell; } namespace scene { class Clipboard; } namespace frontend { class OutputManager; class SurfaceStack; class WlSeat; class WlSurface; class XWaylandSurface; class SessionAuthorizer; class SurfaceRegistry; class XWaylandWMShell { public: XWaylandWMShell( std::shared_ptr const& wayland_executor, std::shared_ptr const& shell, std::shared_ptr const& session_authorizer, std::shared_ptr const& clipboard, WlSeat& seat, std::shared_ptr const& surface_stack, std::shared_ptr const& surface_registry) : wayland_executor{wayland_executor}, shell{shell}, session_authorizer{session_authorizer}, clipboard{clipboard}, seat{seat}, surface_stack{surface_stack}, surface_registry{surface_registry} { } std::shared_ptr const wayland_executor; std::shared_ptr const shell; std::shared_ptr const session_authorizer; std::shared_ptr const clipboard; WlSeat& seat; std::shared_ptr const surface_stack; std::shared_ptr const surface_registry; }; } /* frontend*/ } /* mir */ #endif // MIR_FRONTEND_XWAYLAND_WM_SHELL_H