Hook up interfaces for functions to register another process

This commit is contained in:
Marc Di Luzio
2019-02-08 18:15:43 +00:00
parent 0f7950245a
commit c5f58c56d0
4 changed files with 110 additions and 7 deletions

View File

@@ -502,6 +502,28 @@ int game_mode_context_query_status(GameModeContext *self, pid_t client)
return ret;
}
/**
* Stub to register on behalf of caller
*/
int game_mode_context_register_by_pid(GameModeContext *self, pid_t callerpid, pid_t gamepid)
{
(void)self;
(void)callerpid;
(void)gamepid;
return 0;
}
/**
* Stub to unregister on behalf of caller
*/
int game_mode_context_unregister_by_pid(GameModeContext *self, pid_t callerpid, pid_t gamepid)
{
(void)self;
(void)callerpid;
(void)gamepid;
return 0;
}
/**
* Construct a new GameModeClient for the given process ID
*