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

namespace  mir
 
namespace  mir::scene
 
namespace  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-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.