20 #ifndef MIR_SCENE_SURFACE_CONTROLLER_H_
21 #define MIR_SCENE_SURFACE_CONTROLLER_H_
29 class SurfaceStackModel;
37 std::shared_ptr<SurfaceFactory>
const& surface_factory,
38 std::shared_ptr<SurfaceStackModel>
const& surface_stack);
42 std::shared_ptr<SurfaceObserver>
const& observer)
override;
44 void remove_surface(std::weak_ptr<Surface>
const& surface)
override;
46 void raise(std::weak_ptr<Surface>
const& surface)
override;
49 std::shared_ptr<SurfaceFactory>
const surface_factory;
50 std::shared_ptr<SurfaceStackModel>
const surface_stack;
SurfaceController(std::shared_ptr< SurfaceFactory > const &surface_factory, std::shared_ptr< SurfaceStackModel > const &surface_stack)
Definition: surface_controller.cpp:27
Definition: surface_creation_parameters.h:38
Definition: surface_coordinator.h:39
Will grow up to provide synchronization of model updates.
Definition: surface_controller.h:33
void remove_surface(std::weak_ptr< Surface > const &surface) override
Definition: surface_controller.cpp:45
std::shared_ptr< Surface > add_surface(shell::SurfaceCreationParameters const ¶ms, std::shared_ptr< SurfaceObserver > const &observer) override
Definition: surface_controller.cpp:35