diff options
| author | 2019-01-17 12:06:38 -0500 | |
|---|---|---|
| committer | 2019-01-17 12:08:15 -0500 | |
| commit | faf69a22d421fa522006a4b13d5713f40013e6c3 (patch) | |
| tree | a7899dae6d851cebb15c9dd33a3136def18d4e75 /src | |
| parent | yuzu/configuration/configure_touchscreen_advanced: Remove unnecessary header ... (diff) | |
| download | yuzu-faf69a22d421fa522006a4b13d5713f40013e6c3.tar.gz yuzu-faf69a22d421fa522006a4b13d5713f40013e6c3.tar.xz yuzu-faf69a22d421fa522006a4b13d5713f40013e6c3.zip | |
yuzu/configuration/configure_input_player: Forward declare types where applicable
Allows removing the inclusion of the main input common header from the
UI config header.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_input_player.cpp | 1 | ||||
| -rw-r--r-- | src/yuzu/configuration/configure_input_player.h | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp index ba2b32c4f..c5a245ebe 100644 --- a/src/yuzu/configuration/configure_input_player.cpp +++ b/src/yuzu/configuration/configure_input_player.cpp | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <utility> | 7 | #include <utility> |
| 8 | #include <QColorDialog> | 8 | #include <QColorDialog> |
| 9 | #include <QGridLayout> | 9 | #include <QGridLayout> |
| 10 | #include <QKeyEvent> | ||
| 10 | #include <QMenu> | 11 | #include <QMenu> |
| 11 | #include <QMessageBox> | 12 | #include <QMessageBox> |
| 12 | #include <QTimer> | 13 | #include <QTimer> |
diff --git a/src/yuzu/configuration/configure_input_player.h b/src/yuzu/configuration/configure_input_player.h index 7a53f6715..ade8d4435 100644 --- a/src/yuzu/configuration/configure_input_player.h +++ b/src/yuzu/configuration/configure_input_player.h | |||
| @@ -11,17 +11,21 @@ | |||
| 11 | #include <string> | 11 | #include <string> |
| 12 | 12 | ||
| 13 | #include <QDialog> | 13 | #include <QDialog> |
| 14 | #include <QKeyEvent> | ||
| 15 | 14 | ||
| 16 | #include "common/param_package.h" | 15 | #include "common/param_package.h" |
| 17 | #include "core/settings.h" | 16 | #include "core/settings.h" |
| 18 | #include "input_common/main.h" | ||
| 19 | #include "ui_configure_input.h" | 17 | #include "ui_configure_input.h" |
| 20 | 18 | ||
| 19 | class QKeyEvent; | ||
| 21 | class QPushButton; | 20 | class QPushButton; |
| 22 | class QString; | 21 | class QString; |
| 23 | class QTimer; | 22 | class QTimer; |
| 24 | 23 | ||
| 24 | namespace InputCommon::Polling { | ||
| 25 | class DevicePoller; | ||
| 26 | enum class DeviceType; | ||
| 27 | } // namespace InputCommon::Polling | ||
| 28 | |||
| 25 | namespace Ui { | 29 | namespace Ui { |
| 26 | class ConfigureInputPlayer; | 30 | class ConfigureInputPlayer; |
| 27 | } | 31 | } |