diff options
| author | 2019-06-03 15:50:04 -0400 | |
|---|---|---|
| committer | 2019-06-03 16:56:42 -0400 | |
| commit | cf0d01a5d775f318f7cf1045a2a2a792b15111e6 (patch) | |
| tree | 217e56818f84256f82df7137d8ffa24a2c1682b2 /src/input_common/sdl/sdl_impl.h | |
| parent | input_common/sdl/sdl_impl: Use nested namespace specifiers where applicable (diff) | |
| download | yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar.gz yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.tar.xz yuzu-cf0d01a5d775f318f7cf1045a2a2a792b15111e6.zip | |
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.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.h')
| -rw-r--r-- | src/input_common/sdl/sdl_impl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/input_common/sdl/sdl_impl.h b/src/input_common/sdl/sdl_impl.h index 2579741d6..fadcf3139 100644 --- a/src/input_common/sdl/sdl_impl.h +++ b/src/input_common/sdl/sdl_impl.h | |||
| @@ -6,7 +6,10 @@ | |||
| 6 | 6 | ||
| 7 | #include <atomic> | 7 | #include <atomic> |
| 8 | #include <memory> | 8 | #include <memory> |
| 9 | #include <mutex> | ||
| 9 | #include <thread> | 10 | #include <thread> |
| 11 | #include <unordered_map> | ||
| 12 | #include "common/common_types.h" | ||
| 10 | #include "common/threadsafe_queue.h" | 13 | #include "common/threadsafe_queue.h" |
| 11 | #include "input_common/sdl/sdl.h" | 14 | #include "input_common/sdl/sdl.h" |
| 12 | 15 | ||
| @@ -16,9 +19,9 @@ using SDL_JoystickID = s32; | |||
| 16 | 19 | ||
| 17 | namespace InputCommon::SDL { | 20 | namespace InputCommon::SDL { |
| 18 | 21 | ||
| 19 | class SDLJoystick; | ||
| 20 | class SDLButtonFactory; | ||
| 21 | class SDLAnalogFactory; | 22 | class SDLAnalogFactory; |
| 23 | class SDLButtonFactory; | ||
| 24 | class SDLJoystick; | ||
| 22 | 25 | ||
| 23 | class SDLState : public State { | 26 | class SDLState : public State { |
| 24 | public: | 27 | public: |