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

#include <game_scanner_service.h>

Public Member Functions

void addError (const std::string &source, const std::string &message)
void addWarning (const std::string &source, const std::string &message)
bool hasErrors () const
bool hasWarnings () const

Public Attributes

std::string currentOperation
std::string currentSource
std::vector< std::string > errors
int gamesFound = 0
int overallPercent = 0
int sourcesCompleted = 0
int totalSources = 0
std::vector< std::string > warnings

Detailed Description

Definition at line 84 of file game_scanner_service.h.

Member Function Documentation

◆ addError()

void ScanProgress::addError ( const std::string & source,
const std::string & message )
inline

Definition at line 98 of file game_scanner_service.h.

References errors.

Referenced by GameScannerService::scanAll().

◆ addWarning()

void ScanProgress::addWarning ( const std::string & source,
const std::string & message )
inline

Definition at line 104 of file game_scanner_service.h.

References warnings.

◆ hasErrors()

bool ScanProgress::hasErrors ( ) const
inline

Definition at line 110 of file game_scanner_service.h.

References errors.

Referenced by GameScannerService::scanAll().

◆ hasWarnings()

bool ScanProgress::hasWarnings ( ) const
inline

Definition at line 116 of file game_scanner_service.h.

References warnings.

Member Data Documentation

◆ currentOperation

std::string ScanProgress::currentOperation

Definition at line 87 of file game_scanner_service.h.

Referenced by GameScannerService::scanAll().

◆ currentSource

std::string ScanProgress::currentSource

Definition at line 86 of file game_scanner_service.h.

Referenced by GameScannerService::scanAll().

◆ errors

std::vector<std::string> ScanProgress::errors

Definition at line 94 of file game_scanner_service.h.

Referenced by addError(), hasErrors(), and GameScannerService::scanAll().

◆ gamesFound

int ScanProgress::gamesFound = 0

Definition at line 90 of file game_scanner_service.h.

Referenced by GameScannerService::scanAll().

◆ overallPercent

int ScanProgress::overallPercent = 0

Definition at line 91 of file game_scanner_service.h.

Referenced by GameScannerService::scanAll().

◆ sourcesCompleted

int ScanProgress::sourcesCompleted = 0

Definition at line 88 of file game_scanner_service.h.

Referenced by GameScannerService::scanAll().

◆ totalSources

int ScanProgress::totalSources = 0

Definition at line 89 of file game_scanner_service.h.

Referenced by GameScannerService::scanAll().

◆ warnings

std::vector<std::string> ScanProgress::warnings

Definition at line 95 of file game_scanner_service.h.

Referenced by addWarning(), and hasWarnings().


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