yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

configuration/shared: Clean up includes [IWYU]

This commit is contained in:
lat9nq 2023-06-12 17:42:21 -04:00
parent 512fb3abff
commit 3b0650b70d
4 changed files with 37 additions and 22 deletions

View File

@ -1,17 +1,16 @@
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#include <forward_list> #include "yuzu/configuration/shared_translation.h"
#include <map> #include <map>
#include <memory> #include <memory>
#include <string> #include <tuple>
#include <typeindex>
#include <typeinfo>
#include <utility> #include <utility>
#include <QString>
#include <QWidget> #include <QWidget>
#include "common/settings.h" #include "common/settings.h"
#include "yuzu/configuration/shared_translation.h" #include "common/settings_enums.h"
#include "common/settings_setting.h"
#include "yuzu/uisettings.h" #include "yuzu/uisettings.h"
namespace ConfigurationShared { namespace ConfigurationShared {

View File

@ -5,11 +5,11 @@
#include <map> #include <map>
#include <memory> #include <memory>
#include <string>
#include <typeindex> #include <typeindex>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <QString> #include <QString>
#include "common/common_types.h"
class QWidget; class QWidget;

View File

@ -1,34 +1,44 @@
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project // SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#include "yuzu/configuration/shared_widget.h"
#include <functional> #include <functional>
#include <limits> #include <typeindex>
#include <typeinfo> #include <typeinfo>
#include <utility>
#include <vector>
#include <QAbstractButton> #include <QAbstractButton>
#include <QAbstractSpinBox> #include <QAbstractSlider>
#include <QBoxLayout> #include <QBoxLayout>
#include <QCheckBox> #include <QCheckBox>
#include <QComboBox> #include <QComboBox>
#include <QDateTime>
#include <QDateTimeEdit> #include <QDateTimeEdit>
#include <QHBoxLayout>
#include <QIcon> #include <QIcon>
#include <QLabel> #include <QLabel>
#include <QLayout>
#include <QLineEdit> #include <QLineEdit>
#include <QObject>
#include <QPushButton> #include <QPushButton>
#include <QRegExp>
#include <QSizePolicy> #include <QSizePolicy>
#include <QSlider> #include <QSlider>
#include <QSpinBox> #include <QSpinBox>
#include <QStyle> #include <QStyle>
#include <QValidator> #include <QValidator>
#include <QWidget> #include <QVariant>
#include <QtCore/qglobal.h>
#include <QtCore/qobjectdefs.h>
#include <fmt/core.h> #include <fmt/core.h>
#include <qglobal.h>
#include <qnamespace.h>
#include "common/assert.h" #include "common/assert.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/settings.h" #include "common/settings.h"
#include "yuzu/configuration/configuration_shared.h" #include "common/settings_common.h"
#include "yuzu/configuration/shared_translation.h" #include "yuzu/configuration/shared_translation.h"
#include "yuzu/configuration/shared_widget.h"
namespace ConfigurationShared { namespace ConfigurationShared {

View File

@ -3,22 +3,28 @@
#pragma once #pragma once
#include "yuzu/configuration/configuration_shared.h" #include <forward_list>
#include <functional>
#include <string>
#include <QString>
#include <QStringLiteral>
#include <QWidget>
#include <qobjectdefs.h>
#include "yuzu/configuration/shared_translation.h" #include "yuzu/configuration/shared_translation.h"
class QPushButton;
class QSpinBox;
class QComboBox;
class QLineEdit;
class QSlider;
class QCheckBox; class QCheckBox;
class QLabel; class QComboBox;
class QHBoxLayout;
class QDateTimeEdit; class QDateTimeEdit;
class QLabel;
class QLineEdit;
class QObject;
class QPushButton;
class QSlider;
class QSpinBox;
namespace Settings { namespace Settings {
class BasicSetting; class BasicSetting;
} } // namespace Settings
namespace ConfigurationShared { namespace ConfigurationShared {