game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
anonymous_namespace{game_process.cpp}::GameModeAPI Class Reference

Public Member Functions

 GameModeAPI (const GameModeAPI &)=delete
bool isAvailable () const
GameModeAPI & operator= (const GameModeAPI &)=delete
bool requestEndFor (pid_t pid)
bool requestStartFor (pid_t pid)

Static Public Member Functions

static GameModeAPI & instance ()

Detailed Description

Definition at line 60 of file game_process.cpp.

Constructor & Destructor Documentation

◆ GameModeAPI()

anonymous_namespace{game_process.cpp}::GameModeAPI::GameModeAPI ( const GameModeAPI & )
delete

Member Function Documentation

◆ instance()

GameModeAPI & anonymous_namespace{game_process.cpp}::GameModeAPI::instance ( )
inlinestatic

Definition at line 63 of file game_process.cpp.

Referenced by GameProcess::attachToRunningProcess(), and GameProcess::launch().

◆ isAvailable()

bool anonymous_namespace{game_process.cpp}::GameModeAPI::isAvailable ( ) const
inline

Definition at line 112 of file game_process.cpp.

◆ operator=()

GameModeAPI & anonymous_namespace{game_process.cpp}::GameModeAPI::operator= ( const GameModeAPI & )
delete

◆ requestEndFor()

bool anonymous_namespace{game_process.cpp}::GameModeAPI::requestEndFor ( pid_t pid)
inline

Definition at line 92 of file game_process.cpp.

References Logger::info(), and Logger::warn().

◆ requestStartFor()

bool anonymous_namespace{game_process.cpp}::GameModeAPI::requestStartFor ( pid_t pid)
inline

Definition at line 70 of file game_process.cpp.

References Logger::info(), and Logger::warn().

Referenced by GameProcess::attachToRunningProcess(), and GameProcess::launch().


The documentation for this class was generated from the following file: