19 #ifndef MIRAL_ADD_INIT_CALLBACK_H 20 #define MIRAL_ADD_INIT_CALLBACK_H 24 namespace mir {
class Server; }
47 #endif //MIRAL_ADD_INIT_CALLBACK_H AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: blob.h:26
void operator()(mir::Server &server) const
Add a callback to be invoked when the server has been initialized, but before it starts. If multiple callbacks are added they will be invoked in the sequence added.
Definition: add_init_callback.h:31
std::function< void()> Callback
Definition: add_init_callback.h:34
AddInitCallback(Callback const &callback)
Mir Abstraction Layer.
Definition: add_init_callback.h:26