Common: Cleanup key_map includes.

This commit is contained in:
Emmanuel Gil Peyrot 2015-06-21 13:40:28 +01:00
parent 2d044a67c9
commit 596b7c4f63
13 changed files with 32 additions and 19 deletions

View File

@ -32,6 +32,7 @@
#pragma once #pragma once
#include <cstddef>
#include <limits> #include <limits>
#include <type_traits> #include <type_traits>

View File

@ -10,7 +10,6 @@
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/config_mem.h" #include "core/hle/config_mem.h"
#include "core/hle/shared_page.h" #include "core/hle/shared_page.h"
#include "core/hle/kernel/thread.h"
#include "core/hle/service/service.h" #include "core/hle/service/service.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -7,8 +7,6 @@
#include "common/assert.h" #include "common/assert.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "core/arm/arm_interface.h"
#include "core/core.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/resource_limit.h" #include "core/hle/kernel/resource_limit.h"
#include "core/hle/kernel/process.h" #include "core/hle/kernel/process.h"

View File

@ -4,10 +4,11 @@
#pragma once #pragma once
#include <boost/intrusive_ptr.hpp> #include <boost/smart_ptr/intrusive_ptr.hpp>
#include <algorithm>
#include <array> #include <array>
#include <memory> #include <cstddef>
#include <string> #include <string>
#include <vector> #include <vector>
@ -16,8 +17,6 @@
#include "core/hle/hle.h" #include "core/hle/hle.h"
#include "core/hle/result.h" #include "core/hle/result.h"
struct ApplicationInfo;
namespace Kernel { namespace Kernel {
class Thread; class Thread;

View File

@ -4,8 +4,14 @@
#pragma once #pragma once
#include <string>
#include "common/assert.h"
#include "common/common_types.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/thread.h" #include "core/hle/kernel/thread.h"
#include "core/hle/result.h"
#include "core/memory.h" #include "core/memory.h"
namespace IPC { namespace IPC {

View File

@ -13,6 +13,7 @@
#include "core/core.h" #include "core/core.h"
#include "core/hle/hle.h"
#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/kernel.h"
#include "core/hle/result.h" #include "core/hle/result.h"

View File

@ -4,7 +4,7 @@
#pragma once #pragma once
#include <cstddef> #include <new>
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>

View File

@ -6,16 +6,18 @@
#include <array> #include <array>
#include "core/hle/kernel/kernel.h" #ifndef _MSC_VER
#include "core/hle/service/service.h" #include <cstddef>
#include "common/bit_field.h" #endif
namespace Kernel { #include "common/bit_field.h"
class SharedMemory; #include "common/common_funcs.h"
class Event; #include "common/common_types.h"
}
namespace Service { namespace Service {
class Interface;
namespace HID { namespace HID {
/** /**

View File

@ -11,7 +11,6 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/session.h" #include "core/hle/kernel/session.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -2,6 +2,7 @@
// 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 <memory>
#include <string> #include <string>
#include "common/logging/log.h" #include "common/logging/log.h"

View File

@ -4,6 +4,7 @@
#pragma once #pragma once
#include <memory>
#include <vector> #include <vector>
#include "common/common_types.h" #include "common/common_types.h"

View File

@ -2,10 +2,14 @@
// 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 <memory>
#include "common/color.h" #include "common/color.h"
#include "core/settings.h"
#include "core/hw/gpu.h" #include "core/hw/gpu.h"
#include "core/memory.h"
#include "core/settings.h"
#include "video_core/pica.h" #include "video_core/pica.h"
#include "video_core/utils.h" #include "video_core/utils.h"
@ -16,8 +20,6 @@
#include "generated/gl_3_2_core.h" #include "generated/gl_3_2_core.h"
#include <memory>
static bool IsPassThroughTevStage(const Pica::Regs::TevStageConfig& stage) { static bool IsPassThroughTevStage(const Pica::Regs::TevStageConfig& stage) {
return (stage.color_op == Pica::Regs::TevStageConfig::Operation::Replace && return (stage.color_op == Pica::Regs::TevStageConfig::Operation::Replace &&
stage.alpha_op == Pica::Regs::TevStageConfig::Operation::Replace && stage.alpha_op == Pica::Regs::TevStageConfig::Operation::Replace &&

View File

@ -4,6 +4,10 @@
#pragma once #pragma once
#include <vector>
#include "common/common_types.h"
#include "video_core/hwrasterizer_base.h" #include "video_core/hwrasterizer_base.h"
#include "gl_state.h" #include "gl_state.h"