mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
0d9c27d20a
Version check before download now works without local XML data. However it is much slower without the XML data because it calculates MD5 for the files Some changes to config.h - Removed "bHelp" from config because it was not needed - Changed "bNoColor" to "bColor" - Changed "bNoUnicode" to "bUnicode"
54 lines
1.4 KiB
C++
54 lines
1.4 KiB
C++
/* This program is free software. It comes without any warranty, to
|
|
* the extent permitted by applicable law. You can redistribute it
|
|
* and/or modify it under the terms of the Do What The Fuck You Want
|
|
* To Public License, Version 2, as published by Sam Hocevar. See
|
|
* http://www.wtfpl.net/ for more details. */
|
|
|
|
#ifndef CONFIG_H__
|
|
#define CONFIG_H__
|
|
|
|
#include <iostream>
|
|
#include <curl/curl.h>
|
|
|
|
class Config
|
|
{
|
|
public:
|
|
Config() {};
|
|
virtual ~Config() {};
|
|
bool bVerbose;
|
|
bool bNoRemoteXML;
|
|
bool bNoCover;
|
|
bool bUpdateCheck;
|
|
bool bDownload;
|
|
bool bList;
|
|
bool bListDetails;
|
|
bool bLogin;
|
|
bool bRepair;
|
|
bool bNoInstallers;
|
|
bool bNoExtras;
|
|
bool bNoPatches;
|
|
bool bNoLanguagePacks;
|
|
bool bUnicode; // use Unicode in console output
|
|
bool bColor; // use colors
|
|
bool bVerifyPeer;
|
|
bool bCheckOrphans;
|
|
bool bCheckStatus;
|
|
std::string sGameRegex;
|
|
std::string sDirectory;
|
|
std::string sXMLFile;
|
|
std::string sXMLDirectory;
|
|
std::string sToken;
|
|
std::string sSecret;
|
|
std::string sVersionString;
|
|
std::string sHome;
|
|
std::string sCookiePath;
|
|
std::string sConfigFilePath;
|
|
unsigned int iInstallerType;
|
|
unsigned int iInstallerLanguage;
|
|
size_t iChunkSize;
|
|
curl_off_t iDownloadRate;
|
|
long int iTimeout;
|
|
};
|
|
|
|
#endif // CONFIG_H__
|