Move GeckoCodeDiag download logic to GeckoCodeConfig

This commit is contained in:
Michael Maltese
2017-02-09 19:22:51 -08:00
parent 4c0a392698
commit 6a066bb2ed
3 changed files with 160 additions and 147 deletions

View File

@ -4,6 +4,7 @@
#pragma once
#include <string>
#include <vector>
#include "Core/GeckoCode.h"
@ -12,5 +13,6 @@ class IniFile;
namespace Gecko
{
std::vector<GeckoCode> LoadCodes(const IniFile& globalIni, const IniFile& localIni);
std::vector<GeckoCode> DownloadCodes(std::string gameid, bool* succeeded);
void SaveCodes(IniFile& inifile, const std::vector<GeckoCode>& gcodes);
}