Initial implementation of a RefreshConfig dbus interface

This commit is contained in:
Marc Di Luzio
2019-05-14 21:16:24 +01:00
parent 16e7d06083
commit ceb1808c95
3 changed files with 116 additions and 30 deletions

View File

@ -111,6 +111,11 @@ int game_mode_context_query_status(GameModeContext *self, pid_t pid, pid_t reque
*/
GameModeConfig *game_mode_config_from_context(const GameModeContext *context);
/*
* Refresh the current configuration
*/
int game_mode_refresh_config(GameModeContext *context);
/** gamemode-env.c
* Provides internal API functions specific to working environment
* variables.