mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-29 15:25:40 +00:00
input_common/sdl: Remove unused header includes and forward declarations
Gets rid of a few unnecessary inclusion dependencies. It also uncovered a few indirect inclusion dependencies being relied upon.
This commit is contained in:
parent
00f0827a26
commit
cf0d01a5d7
|
@ -6,15 +6,8 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "core/frontend/input.h"
|
|
||||||
#include "input_common/main.h"
|
#include "input_common/main.h"
|
||||||
|
|
||||||
union SDL_Event;
|
|
||||||
|
|
||||||
namespace Common {
|
|
||||||
class ParamPackage;
|
|
||||||
} // namespace Common
|
|
||||||
|
|
||||||
namespace InputCommon::Polling {
|
namespace InputCommon::Polling {
|
||||||
class DevicePoller;
|
class DevicePoller;
|
||||||
enum class DeviceType;
|
enum class DeviceType;
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <iterator>
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
@ -15,7 +14,6 @@
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include "common/assert.h"
|
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "common/math_util.h"
|
#include "common/math_util.h"
|
||||||
#include "common/param_package.h"
|
#include "common/param_package.h"
|
||||||
|
|
|
@ -6,7 +6,10 @@
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <mutex>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
#include <unordered_map>
|
||||||
|
#include "common/common_types.h"
|
||||||
#include "common/threadsafe_queue.h"
|
#include "common/threadsafe_queue.h"
|
||||||
#include "input_common/sdl/sdl.h"
|
#include "input_common/sdl/sdl.h"
|
||||||
|
|
||||||
|
@ -16,9 +19,9 @@ using SDL_JoystickID = s32;
|
||||||
|
|
||||||
namespace InputCommon::SDL {
|
namespace InputCommon::SDL {
|
||||||
|
|
||||||
class SDLJoystick;
|
|
||||||
class SDLButtonFactory;
|
|
||||||
class SDLAnalogFactory;
|
class SDLAnalogFactory;
|
||||||
|
class SDLButtonFactory;
|
||||||
|
class SDLJoystick;
|
||||||
|
|
||||||
class SDLState : public State {
|
class SDLState : public State {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue