mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
daemon: getters for properties of GameModeClient
Add getters for all two properties of GameModeCLient: the process id and the executable path.
This commit is contained in:
@ -59,6 +59,16 @@ void game_mode_client_unref(GameModeClient *client);
|
||||
*/
|
||||
void game_mode_client_ref(GameModeClient *client);
|
||||
|
||||
/**
|
||||
* The process identifier of the client.
|
||||
*/
|
||||
pid_t game_mode_client_get_pid(GameModeClient *client);
|
||||
|
||||
/**
|
||||
* The path to the executable of client.
|
||||
*/
|
||||
const char *game_mode_client_get_executable(GameModeClient *client);
|
||||
|
||||
/**
|
||||
* Return the singleton instance
|
||||
*/
|
||||
|
Reference in New Issue
Block a user