diff options
| author | Michael Maltese <michael.joseph.maltese@gmail.com> | 2016-08-09 15:48:22 -0700 |
|---|---|---|
| committer | Michael Maltese <michael.joseph.maltese@gmail.com> | 2016-08-09 15:52:02 -0700 |
| commit | 3889e4d4b28a4d0a3ba495bffeaa95a13a97744f (patch) | |
| tree | a92ca7ed1aea4e3db563595a88c8512dce1f7b4c /Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h | |
| parent | 3dc8136e1445244d8c7181d0bbb65e223728dd70 (diff) | |
style fixes
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h b/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h index 00ede72726..209e6d8436 100644 --- a/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h +++ b/Source/Core/InputCommon/ControllerInterface/Quartz/QuartzKeyboardAndMouse.h @@ -1,9 +1,11 @@ -// Copyright 2010 Dolphin Emulator Project +// Copyright 2016 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once +#include <QuartzCore/QuartzCore.h> + #include "InputCommon/ControllerInterface/Device.h" namespace ciface @@ -16,7 +18,7 @@ private: class Key : public Input { public: - Key(CGKeyCode keycode); + explicit Key(CGKeyCode keycode); std::string GetName() const override; ControlState GetState() const override; @@ -45,7 +47,7 @@ private: class Button : public Input { public: - Button(CGMouseButton button) : m_button(button) {} + explicit Button(CGMouseButton button) : m_button(button) {} std::string GetName() const override; ControlState GetState() const override; @@ -56,7 +58,7 @@ private: public: void UpdateInput() override; - KeyboardAndMouse(void* window); + explicit KeyboardAndMouse(void* window); std::string GetName() const override; std::string GetSource() const override; @@ -69,5 +71,5 @@ private: uint32_t m_windowid; }; -} -} +} // namespace Quartz +} // namespace ciface |
