19 #ifndef MIRAL_APPLICATION_AUTHORIZER_H 20 #define MIRAL_APPLICATION_AUTHORIZER_H 24 #include <sys/types.h> 28 namespace mir {
class Server; }
29 namespace mir {
namespace frontend {
class SessionCredentials; } }
45 mir::frontend::SessionCredentials
const& creds;
71 #if MIRAL_VERSION >= MIR_VERSION_NUMBER(2, 0, 0) 72 #error "We've presumably broken ABI - please roll this interface into ApplicationAuthorizer" 82 void operator()(mir::Server& server);
83 auto the_application_authorizer()
const -> std::shared_ptr<ApplicationAuthorizer>;
87 std::shared_ptr<Self>
self;
90 template<
typename Policy>
94 template<
typename ...Args>
99 {
return std::static_pointer_cast<Policy>(the_application_authorizer()); }
103 #endif //MIRAL_APPLICATION_AUTHORIZER_H AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: sw_splash.h:26
Definition: application_authorizer.h:48
auto the_custom_application_authorizer() const -> std::shared_ptr< Policy >
Definition: application_authorizer.h:98
SetApplicationAuthorizer(Args const &...args)
Definition: application_authorizer.h:95
Definition: application_authorizer.h:65
Definition: application_authorizer.h:76
Definition: application_authorizer.h:91
Definition: application_authorizer.h:33
Mir Abstraction Layer.
Definition: floating_window_manager.h:32