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

Public Member Functions

 Impl ()
void storeFuture (std::shared_ptr< std::future< void > > f)

Public Attributes

GOGBackend activeBackend = GOGBackend::Heroic
std::vector< std::shared_ptr< std::future< void > > > activeFutures
std::atomic< bool > cancelFlag {false}
fs::path defaultInstallPath
std::mutex futuresMutex
std::vector< GOGGameInfo > libraryCache
std::chrono::system_clock::time_point libraryCacheTime
bool libraryCacheValid = false
std::mutex mutex
GOGBackend preferredBackend = GOGBackend::Heroic

Static Public Attributes

static constexpr int LIBRARY_CACHE_VALIDITY_SEC = 300

Detailed Description

Definition at line 76 of file gog_integration.cpp.

Constructor & Destructor Documentation

◆ Impl()

GOGIntegration::Impl::Impl ( )
inline

Definition at line 106 of file gog_integration.cpp.

References defaultInstallPath.

Member Function Documentation

◆ storeFuture()

void GOGIntegration::Impl::storeFuture ( std::shared_ptr< std::future< void > > f)
inline

Definition at line 117 of file gog_integration.cpp.

References activeFutures, and futuresMutex.

Member Data Documentation

◆ activeBackend

GOGBackend GOGIntegration::Impl::activeBackend = GOGBackend::Heroic

Definition at line 82 of file gog_integration.cpp.

◆ activeFutures

std::vector<std::shared_ptr<std::future<void> > > GOGIntegration::Impl::activeFutures

Definition at line 102 of file gog_integration.cpp.

Referenced by storeFuture().

◆ cancelFlag

std::atomic<bool> GOGIntegration::Impl::cancelFlag {false}

Definition at line 79 of file gog_integration.cpp.

◆ defaultInstallPath

fs::path GOGIntegration::Impl::defaultInstallPath

Definition at line 90 of file gog_integration.cpp.

Referenced by Impl().

◆ futuresMutex

std::mutex GOGIntegration::Impl::futuresMutex

Definition at line 101 of file gog_integration.cpp.

Referenced by storeFuture().

◆ LIBRARY_CACHE_VALIDITY_SEC

int GOGIntegration::Impl::LIBRARY_CACHE_VALIDITY_SEC = 300
staticconstexpr

Definition at line 104 of file gog_integration.cpp.

◆ libraryCache

std::vector<GOGGameInfo> GOGIntegration::Impl::libraryCache

Definition at line 85 of file gog_integration.cpp.

◆ libraryCacheTime

std::chrono::system_clock::time_point GOGIntegration::Impl::libraryCacheTime

Definition at line 86 of file gog_integration.cpp.

◆ libraryCacheValid

bool GOGIntegration::Impl::libraryCacheValid = false

Definition at line 87 of file gog_integration.cpp.

◆ mutex

std::mutex GOGIntegration::Impl::mutex
mutable

Definition at line 78 of file gog_integration.cpp.

◆ preferredBackend

GOGBackend GOGIntegration::Impl::preferredBackend = GOGBackend::Heroic

Definition at line 81 of file gog_integration.cpp.


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