mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
31 lines
540 B
C++
31 lines
540 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "Common/Config/Enums.h"
|
|
|
|
namespace Config
|
|
{
|
|
struct ConfigLocation
|
|
{
|
|
System system;
|
|
std::string section;
|
|
std::string key;
|
|
|
|
bool operator==(const ConfigLocation& other) const;
|
|
bool operator!=(const ConfigLocation& other) const;
|
|
bool operator<(const ConfigLocation& other) const;
|
|
};
|
|
|
|
template <typename T>
|
|
struct ConfigInfo
|
|
{
|
|
ConfigLocation location;
|
|
T default_value;
|
|
};
|
|
}
|