Class SetCommandLineHandler¶
Defined in File set_command_line_handler.h
Class Documentation¶
-
class SetCommandLineHandler¶
Set a handler for any command line options Mir/MirAL does not recognise. This will be invoked if any unrecognised options are found during initialisation. Any unrecognised arguments are passed to this function. The pointers remain valid for the duration of the call only. If set_command_line_handler is not called the default action is to exit by throwing mir::AbnormalExit (which will be handled by the exception handler prior to exiting run().
Public Types
-
using Handler = std::function<void(int argc, char const *const *argv)>¶
-
using Handler = std::function<void(int argc, char const *const *argv)>¶