19 #ifndef MIRAL_COMMAND_LINE_OPTION_H 20 #define MIRAL_COMMAND_LINE_OPTION_H 28 namespace mir {
class Server; }
43 std::function<
void(
int value)> callback,
44 std::string
const& option,
45 std::string
const& description,
49 std::function<
void(
double value)> callback,
50 std::string
const& option,
51 std::string
const& description,
52 double default_value);
55 std::function<
void(std::string
const& value)> callback,
56 std::string
const& option,
57 std::string
const& description,
58 std::string
const& default_value);
61 std::function<
void(std::string
const& value)> callback,
62 std::string
const& option,
63 std::string
const& description,
64 char const* default_value);
67 std::function<
void(
bool value)> callback,
68 std::string
const& option,
69 std::string
const& description,
74 std::string
const& option,
75 std::string
const& description);
79 std::string
const& option,
80 std::string
const& description);
84 std::string
const& option,
85 std::string
const& description);
88 std::function<
void(
bool is_set)> callback,
89 std::string
const& option,
90 std::string
const& description);
92 void operator()(mir::Server& server)
const;
103 std::shared_ptr<Self>
self;
114 #endif //MIRAL_COMMAND_LINE_OPTION_H AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: sw_splash.h:26
auto pre_init(CommandLineOption const &clo) -> CommandLineOption
Update the option to be called back before Mir initialization starts.
Definition: optional_value.h:28
Add a user configuration option to Mir's option handling. By default the callback will be invoked fol...
Definition: command_line_option.h:39
Mir Abstraction Layer.
Definition: floating_window_manager.h:32