mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
daemon: export game objects on the bus
For each registered game, export an object on the bus under the path "/com/feralinteractive/GameMode/Games/<pid>" with an dbus interface of ""com.feralinteractive.GameMode.Game". The interface currently provides to properties, ProcessId and Executable. Additionally add the ListGames method and the GameRegistered, GameUnregistered signals to the com.feralinteractive.GameMode interface.
This commit is contained in:
@ -197,4 +197,6 @@ int game_mode_get_gpu(GameModeGPUInfo *info);
|
||||
*/
|
||||
void game_mode_context_loop(GameModeContext *context) __attribute__((noreturn));
|
||||
int game_mode_inhibit_screensaver(bool inhibit);
|
||||
void game_mode_client_count_changed(void);
|
||||
void game_mode_client_count_changed(void);
|
||||
void game_mode_client_registered(pid_t);
|
||||
void game_mode_client_unregistered(pid_t);
|
||||
|
Reference in New Issue
Block a user