2023-05-07 08:49:47 -05:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2023-05-07 08:48:26 -05:00
|
|
|
#include <forward_list>
|
|
|
|
#include <map>
|
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
#include <typeindex>
|
|
|
|
#include <utility>
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
class QWidget;
|
|
|
|
|
|
|
|
namespace ConfigurationShared {
|
2023-05-07 12:28:52 -05:00
|
|
|
using TranslationMap = std::map<u32, std::pair<QString, QString>>;
|
2023-05-07 08:48:26 -05:00
|
|
|
|
|
|
|
std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent);
|
|
|
|
|
|
|
|
std::forward_list<QString> ComboboxEnumeration(std::type_index type, QWidget* parent);
|
|
|
|
|
|
|
|
} // namespace ConfigurationShared
|