This code looks familiar - maybe it should be in a common base class? (mir::examples::ServerConfiguration?)
I'm not sure how useful the "greeter" is as an example server. Certainly, if it exists, there ought to be more documentation on how to get it to do anything interesting.
286 + std::shared_ ptr<graphics: :DisplayConfigu rationPolicy> base_policy;
Should be const.
~~~~
344 +#include <cstdint> common. h"
345 +#include "mir_toolkit/
http:// unity.ubuntu. com/mir/ cppguide/ index.html? showone= Names_and_ Order_of_ Includes# Names_and_ Order_of_ Includes
~~~~
93 + :ServerConfigur ation:: the_options;
94 + using mir::examples:
Not used
~~~~
82 + void launch_client() )->is_set( launch_ child_opt) ) )->client_ socket_ fd()); "MIR_SOCKET" , buffer, 1); (the_options( )->get( launch_ child_opt, "") + "&").c_str());
83 + {
84 + if (the_options(
85 + {
86 + char buffer[128] = {0};
87 + sprintf(buffer, "fd://%d", the_connector(
88 + setenv(
89 + auto ignore = system(
90 + (void)ignore;
91 + }
This code looks familiar - maybe it should be in a common base class? (mir::examples: :ServerConfigur ation?)
I'm not sure how useful the "greeter" is as an example server. Certainly, if it exists, there ought to be more documentation on how to get it to do anything interesting.