19 #ifndef MIR_FRONTEND_SHELL_H_
20 #define MIR_FRONTEND_SHELL_H_
24 #include <sys/types.h>
32 struct SurfaceCreationParameters;
42 virtual ~Shell() =
default;
46 std::string
const& name,
47 std::shared_ptr<EventSink>
const& sink) = 0;
49 virtual void close_session(std::shared_ptr<Session>
const& session) = 0;
65 #endif // MIR_FRONTEND_SHELL_H_
Definition: surface_creation_parameters.h:38
Shell & operator=(const Shell &)=delete
virtual void handle_surface_created(std::shared_ptr< Session > const &session)=0
virtual void close_session(std::shared_ptr< Session > const &session)=0
Definition: int_wrapper.h:27
virtual SurfaceId create_surface_for(std::shared_ptr< Session > const &session, shell::SurfaceCreationParameters const ¶ms)=0
virtual std::shared_ptr< Session > open_session(pid_t client_pid, std::string const &name, std::shared_ptr< EventSink > const &sink)=0