Mir
Namespaces | Typedefs | Functions
application.h File Reference
#include <mir_toolkit/common.h>
#include <memory>
#include <string>
Include dependency graph for application.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mir
 
 mir::scene
 
 miral
 Mir Abstraction Layer.
 

Typedefs

using miral::Application = std::shared_ptr< mir::scene::Session >
 

Functions

void miral::apply_lifecycle_state_to (Application const &application, MirLifecycleState state)
 
void miral::kill (Application const &application, int sig)
 
auto miral::name_of (Application const &application) -> std::string
 
auto miral::pid_of (Application const &application) -> pid_t
 
auto miral::socket_fd_of (Application const &application) -> int
 Returns the file descriptor of the client's socket connection, or -1 if there is no client socket. May be used for authentication with apparmor. X11 apps always return -1, since they do not connect directly to the Mir process. More...
 

Copyright © 2012-2022 Canonical Ltd.
Generated on śro, 1 cze 2022, 16:52:55 UTC
This documentation is licensed under the GPL version 2 or 3.