19 #ifndef MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H 20 #define MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H 31 class WindowManagerTools;
32 class WindowManagementPolicy;
40 void operator()(mir::Server& server)
const;
43 std::function<std::unique_ptr<WindowManagementPolicy>(
WindowManagerTools const& tools)> builder;
46 template<
typename Policy,
typename ...Args>
50 {
return std::make_unique<Policy>(tools, args...); }};
54 #endif //MIRAL_SET_WINDOW_MANAGEMENT_POLICY_H
Definition: set_window_management_policy.h:34
auto set_window_management_policy(Args &... args) -> SetWindowManagementPolicy
Definition: set_window_management_policy.h:47
Mir Abstraction Layer.
Definition: active_outputs.h:27