Merge pull request #921 from linkmauve/fix-applet

Fix applet includes using iwyu
This commit is contained in:
bunnei 2015-07-12 17:25:55 -04:00
commit b6719ec922
7 changed files with 32 additions and 7 deletions

View file

@ -2,12 +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 <cstddef>
#include <memory>
#include <type_traits>
#include <unordered_map>
#include "common/assert.h" #include "common/assert.h"
#include "common/logging/log.h" #include "common/common_types.h"
#include "core/core_timing.h" #include "core/core_timing.h"
#include "core/hle/applets/applet.h" #include "core/hle/applets/applet.h"
#include "core/hle/applets/swkbd.h" #include "core/hle/applets/swkbd.h"
#include "core/hle/result.h"
#include "core/hle/service/apt/apt.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -4,9 +4,9 @@
#pragma once #pragma once
#include "common/common_types.h" #include <memory>
#include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/shared_memory.h" #include "core/hle/result.h"
#include "core/hle/service/apt/apt.h" #include "core/hle/service/apt/apt.h"
namespace HLE { namespace HLE {

View file

@ -2,13 +2,21 @@
// 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 <cstring>
#include <string>
#include "common/assert.h" #include "common/assert.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/string_util.h" #include "common/string_util.h"
#include "core/hle/applets/swkbd.h" #include "core/hle/applets/swkbd.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/shared_memory.h"
#include "core/hle/service/hid/hid.h" #include "core/hle/service/hid/hid.h"
#include "core/hle/service/gsp_gpu.h" #include "core/hle/service/gsp_gpu.h"
#include "core/hle/result.h"
#include "core/memory.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -5,9 +5,12 @@
#pragma once #pragma once
#include "common/common_types.h" #include "common/common_types.h"
#include "common/common_funcs.h"
#include "core/hle/applets/applet.h" #include "core/hle/applets/applet.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/shared_memory.h" #include "core/hle/kernel/shared_memory.h"
#include "core/hle/result.h"
#include "core/hle/service/apt/apt.h" #include "core/hle/service/apt/apt.h"
namespace HLE { namespace HLE {

View file

@ -6,6 +6,7 @@
#include <bitset> #include <bitset>
#include <cstddef> #include <cstddef>
#include <memory>
#include <string> #include <string>
#include <boost/container/static_vector.hpp> #include <boost/container/static_vector.hpp>

View file

@ -4,9 +4,12 @@
#pragma once #pragma once
#include <string>
#include "common/common_types.h" #include "common/common_types.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/result.h"
namespace Kernel { namespace Kernel {

View file

@ -4,11 +4,14 @@
#pragma once #pragma once
#include <array> #include "common/common_types.h"
#include "core/hle/result.h"
#include "core/hle/service/service.h" #include "core/hle/kernel/kernel.h"
namespace Service { namespace Service {
class Interface;
namespace APT { namespace APT {
/// Holds information about the parameters used in Send/Glance/ReceiveParameter /// Holds information about the parameters used in Send/Glance/ReceiveParameter