diff options
| author | 2015-07-12 17:25:55 -0400 | |
|---|---|---|
| committer | 2015-07-12 17:25:55 -0400 | |
| commit | b6719ec922ce807510932887b80e61aeeec2fc7b (patch) | |
| tree | e51bf1dcb7fb474725329579ce2c0bd0374a7ffe | |
| parent | Kernel: Add CodeSet case to Object::IsWaitable (diff) | |
| parent | Core: Fix applet includes using iwyu. (diff) | |
| download | yuzu-b6719ec922ce807510932887b80e61aeeec2fc7b.tar.gz yuzu-b6719ec922ce807510932887b80e61aeeec2fc7b.tar.xz yuzu-b6719ec922ce807510932887b80e61aeeec2fc7b.zip | |
Merge pull request #921 from linkmauve/fix-applet
Fix applet includes using iwyu
| -rw-r--r-- | src/core/hle/applets/applet.cpp | 9 | ||||
| -rw-r--r-- | src/core/hle/applets/applet.h | 6 | ||||
| -rw-r--r-- | src/core/hle/applets/swkbd.cpp | 8 | ||||
| -rw-r--r-- | src/core/hle/applets/swkbd.h | 3 | ||||
| -rw-r--r-- | src/core/hle/kernel/process.h | 1 | ||||
| -rw-r--r-- | src/core/hle/kernel/shared_memory.h | 3 | ||||
| -rw-r--r-- | src/core/hle/service/apt/apt.h | 9 |
7 files changed, 32 insertions, 7 deletions
diff --git a/src/core/hle/applets/applet.cpp b/src/core/hle/applets/applet.cpp index 4dcce729a..826f6cbb6 100644 --- a/src/core/hle/applets/applet.cpp +++ b/src/core/hle/applets/applet.cpp | |||
| @@ -2,12 +2,19 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstddef> | ||
| 6 | #include <memory> | ||
| 7 | #include <type_traits> | ||
| 8 | #include <unordered_map> | ||
| 9 | |||
| 5 | #include "common/assert.h" | 10 | #include "common/assert.h" |
| 6 | #include "common/logging/log.h" | 11 | #include "common/common_types.h" |
| 7 | 12 | ||
| 8 | #include "core/core_timing.h" | 13 | #include "core/core_timing.h" |
| 9 | #include "core/hle/applets/applet.h" | 14 | #include "core/hle/applets/applet.h" |
| 10 | #include "core/hle/applets/swkbd.h" | 15 | #include "core/hle/applets/swkbd.h" |
| 16 | #include "core/hle/result.h" | ||
| 17 | #include "core/hle/service/apt/apt.h" | ||
| 11 | 18 | ||
| 12 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 19 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 13 | 20 | ||
diff --git a/src/core/hle/applets/applet.h b/src/core/hle/applets/applet.h index fe537e70d..b235d0b8a 100644 --- a/src/core/hle/applets/applet.h +++ b/src/core/hle/applets/applet.h | |||
| @@ -4,9 +4,9 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "common/common_types.h" | 7 | #include <memory> |
| 8 | #include "core/hle/kernel/kernel.h" | 8 | |
| 9 | #include "core/hle/kernel/shared_memory.h" | 9 | #include "core/hle/result.h" |
| 10 | #include "core/hle/service/apt/apt.h" | 10 | #include "core/hle/service/apt/apt.h" |
| 11 | 11 | ||
| 12 | namespace HLE { | 12 | namespace HLE { |
diff --git a/src/core/hle/applets/swkbd.cpp b/src/core/hle/applets/swkbd.cpp index 7431ebcf8..1db6b5a17 100644 --- a/src/core/hle/applets/swkbd.cpp +++ b/src/core/hle/applets/swkbd.cpp | |||
| @@ -2,13 +2,21 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstring> | ||
| 6 | #include <string> | ||
| 7 | |||
| 5 | #include "common/assert.h" | 8 | #include "common/assert.h" |
| 6 | #include "common/logging/log.h" | 9 | #include "common/logging/log.h" |
| 7 | #include "common/string_util.h" | 10 | #include "common/string_util.h" |
| 8 | 11 | ||
| 9 | #include "core/hle/applets/swkbd.h" | 12 | #include "core/hle/applets/swkbd.h" |
| 13 | #include "core/hle/kernel/kernel.h" | ||
| 14 | #include "core/hle/kernel/shared_memory.h" | ||
| 10 | #include "core/hle/service/hid/hid.h" | 15 | #include "core/hle/service/hid/hid.h" |
| 11 | #include "core/hle/service/gsp_gpu.h" | 16 | #include "core/hle/service/gsp_gpu.h" |
| 17 | #include "core/hle/result.h" | ||
| 18 | #include "core/memory.h" | ||
| 19 | |||
| 12 | #include "video_core/video_core.h" | 20 | #include "video_core/video_core.h" |
| 13 | 21 | ||
| 14 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 22 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hle/applets/swkbd.h b/src/core/hle/applets/swkbd.h index 98e81c48a..cb95b8d90 100644 --- a/src/core/hle/applets/swkbd.h +++ b/src/core/hle/applets/swkbd.h | |||
| @@ -5,9 +5,12 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "common/common_types.h" | 7 | #include "common/common_types.h" |
| 8 | #include "common/common_funcs.h" | ||
| 9 | |||
| 8 | #include "core/hle/applets/applet.h" | 10 | #include "core/hle/applets/applet.h" |
| 9 | #include "core/hle/kernel/kernel.h" | 11 | #include "core/hle/kernel/kernel.h" |
| 10 | #include "core/hle/kernel/shared_memory.h" | 12 | #include "core/hle/kernel/shared_memory.h" |
| 13 | #include "core/hle/result.h" | ||
| 11 | #include "core/hle/service/apt/apt.h" | 14 | #include "core/hle/service/apt/apt.h" |
| 12 | 15 | ||
| 13 | namespace HLE { | 16 | namespace HLE { |
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 92fa0fa6f..83d3aceae 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #include <bitset> | 7 | #include <bitset> |
| 8 | #include <cstddef> | 8 | #include <cstddef> |
| 9 | #include <memory> | ||
| 9 | #include <string> | 10 | #include <string> |
| 10 | 11 | ||
| 11 | #include <boost/container/static_vector.hpp> | 12 | #include <boost/container/static_vector.hpp> |
diff --git a/src/core/hle/kernel/shared_memory.h b/src/core/hle/kernel/shared_memory.h index 204266896..7a2922776 100644 --- a/src/core/hle/kernel/shared_memory.h +++ b/src/core/hle/kernel/shared_memory.h | |||
| @@ -4,9 +4,12 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <string> | ||
| 8 | |||
| 7 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 8 | 10 | ||
| 9 | #include "core/hle/kernel/kernel.h" | 11 | #include "core/hle/kernel/kernel.h" |
| 12 | #include "core/hle/result.h" | ||
| 10 | 13 | ||
| 11 | namespace Kernel { | 14 | namespace Kernel { |
| 12 | 15 | ||
diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h index 9f0802508..72972d05b 100644 --- a/src/core/hle/service/apt/apt.h +++ b/src/core/hle/service/apt/apt.h | |||
| @@ -4,11 +4,14 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <array> | 7 | #include "common/common_types.h" |
| 8 | #include "core/hle/result.h" | 8 | |
| 9 | #include "core/hle/service/service.h" | 9 | #include "core/hle/kernel/kernel.h" |
| 10 | 10 | ||
| 11 | namespace Service { | 11 | namespace Service { |
| 12 | |||
| 13 | class Interface; | ||
| 14 | |||
| 12 | namespace APT { | 15 | namespace APT { |
| 13 | 16 | ||
| 14 | /// Holds information about the parameters used in Send/Glance/ReceiveParameter | 17 | /// Holds information about the parameters used in Send/Glance/ReceiveParameter |