19 #ifndef MIRAL_APPLICATION_AUTHORIZER_H 20 #define MIRAL_APPLICATION_AUTHORIZER_H 22 #include <sys/types.h> 26 namespace mir {
class Server; }
27 namespace mir {
namespace frontend {
class SessionCredentials; } }
43 mir::frontend::SessionCredentials
const& creds;
69 void operator()(mir::Server& server);
70 auto the_application_authorizer()
const -> std::shared_ptr<ApplicationAuthorizer>;
74 std::shared_ptr<Self>
self;
77 template<
typename Policy>
81 template<
typename ...Args>
86 {
return std::static_pointer_cast<Policy>(the_application_authorizer()); }
90 #endif //MIRAL_APPLICATION_AUTHORIZER_H Definition: splash_session.h:24
Definition: application_authorizer.h:46
auto the_custom_application_authorizer() const -> std::shared_ptr< Policy >
Definition: application_authorizer.h:85
SetApplicationAuthorizer(Args const &...args)
Definition: application_authorizer.h:82
Definition: application_authorizer.h:63
Definition: application_authorizer.h:78
Definition: application_authorizer.h:31
Mir Abstraction Layer.
Definition: floating_window_manager.h:29