Mir
Loading...
Searching...
No Matches
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  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.
 

Copyright © 2012-2024 Canonical Ltd.
Generated on Wed Feb 28 23:51:49 UTC 2024
This documentation is licensed under the GPL version 2 or 3.