20 #ifndef MIR_SCENE_SURFACE_CONTROLLER_H_
21 #define MIR_SCENE_SURFACE_CONTROLLER_H_
29 class PlacementStrategy;
30 class SurfaceStackModel;
38 std::shared_ptr<SurfaceFactory>
const& surface_factory,
39 std::shared_ptr<PlacementStrategy>
const& placement_strategy,
40 std::shared_ptr<SurfaceStackModel>
const& surface_stack);
46 void remove_surface(std::weak_ptr<Surface>
const& surface)
override;
48 void raise(std::weak_ptr<Surface>
const& surface)
override;
51 std::shared_ptr<SurfaceFactory>
const surface_factory;
52 std::shared_ptr<PlacementStrategy>
const placement_strategy;
53 std::shared_ptr<SurfaceStackModel>
const surface_stack;
All things Mir.
Definition: aging_buffer.h:24
SurfaceController(std::shared_ptr< SurfaceFactory > const &surface_factory, std::shared_ptr< PlacementStrategy > const &placement_strategy, std::shared_ptr< SurfaceStackModel > const &surface_stack)
Definition: surface_controller.cpp:27
Definition: surface_coordinator.h:34
Definition: surface_creation_parameters.h:38
Will grow up to provide synchronization of model updates.
Definition: surface_controller.h:34
void remove_surface(std::weak_ptr< Surface > const &surface) override
Definition: surface_controller.cpp:48
std::shared_ptr< Surface > add_surface(SurfaceCreationParameters const ¶ms, Session *session) override
Definition: surface_controller.cpp:37