2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2010 Dolphin Emulator Project
|
2015-05-18 01:08:10 +02:00
|
|
|
// Licensed under GPLv2+
|
2013-04-17 22:43:11 -04:00
|
|
|
// Refer to the license.txt file included.
|
2010-07-22 01:48:48 +00:00
|
|
|
|
2014-02-10 13:54:46 -05:00
|
|
|
#pragma once
|
2010-07-22 01:48:48 +00:00
|
|
|
|
2017-02-09 19:22:51 -08:00
|
|
|
#include <string>
|
2014-07-27 13:37:09 -04:00
|
|
|
#include <vector>
|
2014-02-17 05:18:15 -05:00
|
|
|
#include "Core/GeckoCode.h"
|
2010-07-22 01:48:48 +00:00
|
|
|
|
2014-07-27 13:37:09 -04:00
|
|
|
class IniFile;
|
|
|
|
|
2010-07-22 01:48:48 +00:00
|
|
|
namespace Gecko
|
|
|
|
{
|
2017-03-21 16:24:16 -04:00
|
|
|
std::vector<GeckoCode> LoadCodes(const IniFile& globalIni, const IniFile& localIni);
|
2017-02-09 19:22:51 -08:00
|
|
|
std::vector<GeckoCode> DownloadCodes(std::string gameid, bool* succeeded);
|
2010-07-22 01:48:48 +00:00
|
|
|
void SaveCodes(IniFile& inifile, const std::vector<GeckoCode>& gcodes);
|
2014-09-11 13:00:40 -04:00
|
|
|
}
|