|
game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
|
#include "services/game_suggestion_service.h"#include "models/game.h"#include "services/protondb_service.h"#include "services/system_info_service.h"#include "util/logger.h"#include "util/lru_cache.h"#include "util/shell_utils.h"#include <algorithm>#include <array>#include <cctype>#include <cstdio>#include <cstring>#include <fstream>#include <future>#include <map>#include <regex>#include <sstream>#include <sys/wait.h>#include <unordered_map>Go to the source code of this file.
Namespaces | |
| namespace | anonymous_namespace{game_suggestion_service.cpp} |
Functions | |
| bool | anonymous_namespace{game_suggestion_service.cpp}::protonDbTierAutoApply (const std::string &tier) |
| SuggestionPriority | anonymous_namespace{game_suggestion_service.cpp}::protonDbTierPriority (const std::string &tier) |
Variables | |
| static constexpr size_t | SUGGESTIONS_CACHE_MAX_SIZE = 200 |
| static constexpr int | SUGGESTIONS_CACHE_TTL_SECONDS = 1800 |
| static LRUCache< int, GameSuggestions > | suggestionsCache_ (SUGGESTIONS_CACHE_MAX_SIZE, SUGGESTIONS_CACHE_TTL_SECONDS) |
|
staticconstexpr |
Definition at line 35 of file game_suggestion_service.cpp.
|
staticconstexpr |
Definition at line 36 of file game_suggestion_service.cpp.
|
static |
Referenced by GameSuggestionService::getSuggestions().