19 #ifndef MIR_TEST_WRAP_SHELL_TO_TRACK_LATEST_SURFACE_H 20 #define MIR_TEST_WRAP_SHELL_TO_TRACK_LATEST_SURFACE_H 22 #include "mir/shell/shell_wrapper.h" 23 #include "mir/scene/session.h" 33 using mir::shell::ShellWrapper::ShellWrapper;
36 std::shared_ptr <mir::scene::Session>
const& session,
37 mir::scene::SurfaceCreationParameters
const& params,
38 std::shared_ptr<mir::frontend::EventSink>
const& sink)
override 40 auto const surface = mir::shell::ShellWrapper::create_surface(session, params, sink);
51 #endif //MIR_TEST_WRAP_SHELL_TO_TRACK_LATEST_SURFACE_H AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: sw_splash.h:26
Definition: wrap_shell_to_track_latest_surface.h:31
mir::frontend::SurfaceId create_surface(std::shared_ptr< mir::scene::Session > const &session, mir::scene::SurfaceCreationParameters const ¶ms, std::shared_ptr< mir::frontend::EventSink > const &sink) override
Definition: wrap_shell_to_track_latest_surface.h:35
std::weak_ptr< mir::scene::Surface > latest_surface
Definition: wrap_shell_to_track_latest_surface.h:45
Definition: int_wrapper.h:27