game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
SteamDownloadMonitor::Impl Class Reference

Public Member Functions

 Impl ()=default
 ~Impl ()
SteamDownloadProgress getProgress (uint32_t appId) const
std::vector< uint32_t > getWatchedGames () const
bool isRunning () const
void setGameExitCallback (SteamDownloadMonitor::GameExitCallback cb)
void setGameLaunchCallback (SteamDownloadMonitor::GameLaunchCallback cb)
void setProgressCallback (SteamDownloadMonitor::ProgressCallback cb)
void setStateChangeCallback (SteamDownloadMonitor::StateChangeCallback cb)
void start (int pollIntervalMs)
void stop ()
void unwatchGame (uint32_t appId)
void watchGame (uint32_t appId)

Public Attributes

SteamDownloadMonitor::GameExitCallback onGameExit_
SteamDownloadMonitor::GameLaunchCallback onGameLaunch_
SteamDownloadMonitor::ProgressCallback onProgressUpdate_
SteamDownloadMonitor::StateChangeCallback onStateChange_

Detailed Description

Definition at line 4578 of file steam_integration.cpp.

Constructor & Destructor Documentation

◆ Impl()

SteamDownloadMonitor::Impl::Impl ( )
default

◆ ~Impl()

SteamDownloadMonitor::Impl::~Impl ( )
inline

Definition at line 4582 of file steam_integration.cpp.

References stop().

Member Function Documentation

◆ getProgress()

SteamDownloadProgress SteamDownloadMonitor::Impl::getProgress ( uint32_t appId) const
inline

Definition at line 4672 of file steam_integration.cpp.

◆ getWatchedGames()

std::vector< uint32_t > SteamDownloadMonitor::Impl::getWatchedGames ( ) const
inline

Definition at line 4660 of file steam_integration.cpp.

◆ isRunning()

bool SteamDownloadMonitor::Impl::isRunning ( ) const
inline

Definition at line 4610 of file steam_integration.cpp.

◆ setGameExitCallback()

void SteamDownloadMonitor::Impl::setGameExitCallback ( SteamDownloadMonitor::GameExitCallback cb)
inline

Definition at line 4635 of file steam_integration.cpp.

References onGameExit_.

◆ setGameLaunchCallback()

void SteamDownloadMonitor::Impl::setGameLaunchCallback ( SteamDownloadMonitor::GameLaunchCallback cb)
inline

Definition at line 4630 of file steam_integration.cpp.

References onGameLaunch_.

◆ setProgressCallback()

void SteamDownloadMonitor::Impl::setProgressCallback ( SteamDownloadMonitor::ProgressCallback cb)
inline

Definition at line 4620 of file steam_integration.cpp.

References onProgressUpdate_.

◆ setStateChangeCallback()

void SteamDownloadMonitor::Impl::setStateChangeCallback ( SteamDownloadMonitor::StateChangeCallback cb)
inline

Definition at line 4625 of file steam_integration.cpp.

References onStateChange_.

◆ start()

void SteamDownloadMonitor::Impl::start ( int pollIntervalMs)
inline

Definition at line 4587 of file steam_integration.cpp.

◆ stop()

void SteamDownloadMonitor::Impl::stop ( )
inline

Definition at line 4601 of file steam_integration.cpp.

Referenced by ~Impl().

◆ unwatchGame()

void SteamDownloadMonitor::Impl::unwatchGame ( uint32_t appId)
inline

Definition at line 4652 of file steam_integration.cpp.

◆ watchGame()

void SteamDownloadMonitor::Impl::watchGame ( uint32_t appId)
inline

Definition at line 4641 of file steam_integration.cpp.

References SteamDownloadProgress::appId, and Logger::info().

Member Data Documentation

◆ onGameExit_

SteamDownloadMonitor::GameExitCallback SteamDownloadMonitor::Impl::onGameExit_

Definition at line 4687 of file steam_integration.cpp.

Referenced by setGameExitCallback().

◆ onGameLaunch_

SteamDownloadMonitor::GameLaunchCallback SteamDownloadMonitor::Impl::onGameLaunch_

Definition at line 4686 of file steam_integration.cpp.

Referenced by setGameLaunchCallback().

◆ onProgressUpdate_

SteamDownloadMonitor::ProgressCallback SteamDownloadMonitor::Impl::onProgressUpdate_

Definition at line 4684 of file steam_integration.cpp.

Referenced by setProgressCallback().

◆ onStateChange_

SteamDownloadMonitor::StateChangeCallback SteamDownloadMonitor::Impl::onStateChange_

Definition at line 4685 of file steam_integration.cpp.

Referenced by setStateChangeCallback().


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