Merge pull request #2035 from lioncash/fwd-decl

yuzu/configuration: Remove unnecessary inclusions where applicable
This commit is contained in:
bunnei 2019-01-21 17:31:07 -05:00 committed by GitHub
commit 839c4a8a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 17 deletions

View File

@ -7,7 +7,6 @@
#include "common/file_util.h" #include "common/file_util.h"
#include "common/logging/backend.h" #include "common/logging/backend.h"
#include "common/logging/filter.h" #include "common/logging/filter.h"
#include "common/logging/log.h"
#include "core/core.h" #include "core/core.h"
#include "core/settings.h" #include "core/settings.h"
#include "ui_configure_debug.h" #include "ui_configure_debug.h"

View File

@ -7,6 +7,7 @@
#include <utility> #include <utility>
#include <QColorDialog> #include <QColorDialog>
#include <QGridLayout> #include <QGridLayout>
#include <QKeyEvent>
#include <QMenu> #include <QMenu>
#include <QMessageBox> #include <QMessageBox>
#include <QTimer> #include <QTimer>

View File

@ -11,17 +11,21 @@
#include <string> #include <string>
#include <QDialog> #include <QDialog>
#include <QKeyEvent>
#include "common/param_package.h" #include "common/param_package.h"
#include "core/settings.h" #include "core/settings.h"
#include "input_common/main.h"
#include "ui_configure_input.h" #include "ui_configure_input.h"
class QKeyEvent;
class QPushButton; class QPushButton;
class QString; class QString;
class QTimer; class QTimer;
namespace InputCommon::Polling {
class DevicePoller;
enum class DeviceType;
} // namespace InputCommon::Polling
namespace Ui { namespace Ui {
class ConfigureInputPlayer; class ConfigureInputPlayer;
} }

View File

@ -8,7 +8,6 @@
#include <QHeaderView> #include <QHeaderView>
#include <QMenu> #include <QMenu>
#include <QMessageBox>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QString> #include <QString>
#include <QTimer> #include <QTimer>

View File

@ -7,16 +7,16 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
#include <QKeyEvent> #include <QDialog>
#include <QList> #include <QList>
#include <QWidget>
#include "core/file_sys/vfs_types.h" #include "core/file_sys/vfs_types.h"
class QTreeView;
class QGraphicsScene; class QGraphicsScene;
class QStandardItem; class QStandardItem;
class QStandardItemModel; class QStandardItemModel;
class QTreeView;
class QVBoxLayout;
namespace Ui { namespace Ui {
class ConfigurePerGameGeneral; class ConfigurePerGameGeneral;

View File

@ -2,23 +2,19 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <algorithm> #include <array>
#include <chrono>
#include <optional>
#include <QFileDialog> #include <QFileDialog>
#include <QGraphicsItem> #include <QGraphicsItem>
#include <QGraphicsScene>
#include <QHeaderView>
#include <QMessageBox> #include <QMessageBox>
#include <QStandardItemModel>
#include <QTreeView>
#include <QVBoxLayout>
#include "common/assert.h" #include "common/assert.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/string_util.h"
#include "core/core.h" #include "core/core.h"
#include "core/settings.h" #include "core/settings.h"
#include "ui_configure_system.h" #include "ui_configure_system.h"
#include "yuzu/configuration/configure_system.h" #include "yuzu/configuration/configure_system.h"
#include "yuzu/util/limitable_input_dialog.h"
namespace { namespace {
constexpr std::array<int, 12> days_in_month = {{ constexpr std::array<int, 12> days_in_month = {{

View File

@ -6,8 +6,6 @@
#include <memory> #include <memory>
#include <QDialog> #include <QDialog>
#include <QWidget>
#include "yuzu/configuration/config.h"
namespace Ui { namespace Ui {
class ConfigureTouchscreenAdvanced; class ConfigureTouchscreenAdvanced;