19 #ifndef MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_
20 #define MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_
27 namespace shell {
class Session; }
37 std::function<
void(std::shared_ptr<shell::Session>
const& session)>
const& handler) = 0;
39 std::function<
void()>
const& handler) = 0;
41 std::function<
void(std::shared_ptr<shell::Session>
const& session)>
const& handler) = 0;
SessionEventHandlerRegister()=default
virtual void register_no_focus_handler(std::function< void()> const &handler)=0
SessionEventHandlerRegister & operator=(SessionEventHandlerRegister const &)=delete
virtual ~SessionEventHandlerRegister()=default
virtual void register_session_stopping_handler(std::function< void(std::shared_ptr< shell::Session > const &session)> const &handler)=0
Definition: session_event_handler_register.h:31
virtual void register_focus_change_handler(std::function< void(std::shared_ptr< shell::Session > const &session)> const &handler)=0