game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
file_download_service.cpp File Reference
#include "services/file_download_service.h"
#include "logger.h"
#include "shell_utils.h"
#include <array>
#include <cctype>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <future>
#include <memory>
#include <mutex>
#include <regex>
#include <sstream>
#include <vector>
Include dependency graph for file_download_service.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{file_download_service.cpp}

Functions

bool anonymous_namespace{file_download_service.cpp}::isHttpUrl (const std::string &url)
const std::regex & anonymous_namespace{file_download_service.cpp}::kContentLengthRegex ()
const std::regex & anonymous_namespace{file_download_service.cpp}::kPercentRegex ()
const std::regex & anonymous_namespace{file_download_service.cpp}::kSpeedRegex ()
const std::regex & anonymous_namespace{file_download_service.cpp}::kSpeedRegexWithB ()
void anonymous_namespace{file_download_service.cpp}::storeFuture (std::shared_ptr< std::future< void > > f)

Variables

std::vector< std::shared_ptr< std::future< void > > > anonymous_namespace{file_download_service.cpp}::activeFutures_
std::mutex anonymous_namespace{file_download_service.cpp}::futuresMutex_