#include <external_client.h>
|
| ExternalClientLauncher () |
|
| ~ExternalClientLauncher () |
|
void | operator() (mir::Server &server) |
|
auto | launch (std::vector< std::string > const &command_line) const -> pid_t |
| Launch with client environment configured for Wayland. If X11 is enabled, then DISPLAY will also be set accordingly. More...
|
|
auto | launch_using_x11 (std::vector< std::string > const &command_line) const -> pid_t |
| If X11 is enabled, then launch with client environment configured for X11. For the occasions it is desired to coerce applications into using X11. More...
|
|
void | snapcraft_launch (std::string const &desktop_file) const |
| Use the proposed desktop-entry snap interface to launch another snap. More...
|
|
◆ ExternalClientLauncher()
miral::ExternalClientLauncher::ExternalClientLauncher |
( |
| ) |
|
◆ ~ExternalClientLauncher()
miral::ExternalClientLauncher::~ExternalClientLauncher |
( |
| ) |
|
◆ launch()
auto miral::ExternalClientLauncher::launch |
( |
std::vector< std::string > const & |
command_line | ) |
const -> pid_t |
Launch with client environment configured for Wayland. If X11 is enabled, then DISPLAY will also be set accordingly.
- Returns
- The pid of the process that was launched.
◆ launch_using_x11()
auto miral::ExternalClientLauncher::launch_using_x11 |
( |
std::vector< std::string > const & |
command_line | ) |
const -> pid_t |
If X11 is enabled, then launch with client environment configured for X11. For the occasions it is desired to coerce applications into using X11.
- Returns
- The pid of the process that was launched (or -1 if X11 is not enabled)
◆ operator()()
void miral::ExternalClientLauncher::operator() |
( |
mir::Server & |
server | ) |
|
◆ snapcraft_launch()
void miral::ExternalClientLauncher::snapcraft_launch |
( |
std::string const & |
desktop_file | ) |
const |
Use the proposed desktop-entry
snap interface to launch another snap.
The documentation for this class was generated from the following file:
Copyright © 2012-2022
Canonical Ltd.
Generated on Thu Feb 24 23:57:55 UTC 2022
This documentation is licensed under the GPL version 2 or 3.