Class SessionLockListener

Class Documentation

class SessionLockListener

Add callbacks notifying when the session has been locked and unlocked.

Public Types

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

Public Functions

SessionLockListener(Callback const &on_lock, Callback const &on_unlock)
~SessionLockListener() = default
void operator()(mir::Server &server) const