Mir
|
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. More...
#include <add_init_callback.h>
Public Types | |
using | Callback = std::function< void()> |
Public Member Functions | |
AddInitCallback (Callback const &callback) | |
~AddInitCallback () | |
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.
using miral::AddInitCallback::Callback = std::function<void()> |
miral::AddInitCallback::~AddInitCallback | ( | ) |
void miral::AddInitCallback::operator() | ( | mir::Server & | server | ) | const |
Copyright © 2012-2024
Canonical Ltd.
Generated on Mon Mar 11 23:16:08 UTC 2024
This documentation is licensed under the GPL version 2 or 3.