mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 05:33:31 +01:00
![Pierre Bourdon](/assets/img/avatar_default.png)
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
22 lines
503 B
C++
22 lines
503 B
C++
// Copyright 2016 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
#include <memory>
|
|
|
|
namespace Config
|
|
{
|
|
class ConfigLayerLoader;
|
|
enum class LayerType;
|
|
struct Location;
|
|
} // namespace Config
|
|
|
|
namespace ConfigLoaders
|
|
{
|
|
void SaveToSYSCONF(Config::LayerType layer,
|
|
std::function<bool(const Config::Location&)> predicate = {});
|
|
std::unique_ptr<Config::ConfigLayerLoader> GenerateBaseConfigLoader();
|
|
} // namespace ConfigLoaders
|