mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 21:28:30 +02:00
Hook up interfaces for functions to register another process
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user