Class AddInitCallback

Class Documentation

class AddInitCallback

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.

Public Types

using Callback = std::function<void()>

Public Functions

explicit AddInitCallback(Callback const &callback)
~AddInitCallback()
void operator()(mir::Server &server) const