diff options
| author | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-09-04 19:41:42 -0500 |
|---|---|---|
| committer | Rohit Nirmal <rohitnirmal9@gmail.com> | 2014-09-04 23:02:25 -0500 |
| commit | b0060e51843d085af6c7426d216cdd1bbc41dbbb (patch) | |
| tree | b5e1fd9afab6d2f0ec059ee4a67c2bc6c2975974 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | |
| parent | a9a62709825c7b9dac7d7cf2f1a3fb9ee6678aa5 (diff) | |
Controller Interface: Remove "using namespace" in header file.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h index 5ea5e1b041..af4fc35cc5 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h @@ -36,15 +36,13 @@ #define CIFACE_USE_SDL #endif -using namespace ciface::Core; - // // ControllerInterface // // Some crazy shit I made to control different device inputs and outputs // from lots of different sources, hopefully more easily. // -class ControllerInterface : public DeviceContainer +class ControllerInterface : public ciface::Core::DeviceContainer { public: @@ -63,7 +61,7 @@ public: friend class ControllerInterface; public: virtual ControlState State(const ControlState state = 0) = 0; - virtual Device::Control* Detect(const unsigned int ms, Device* const device) = 0; + virtual ciface::Core::Device::Control* Detect(const unsigned int ms, ciface::Core::Device* const device) = 0; ControlState range; std::string expression; @@ -98,7 +96,7 @@ public: public: InputReference() : ControlReference(true) {} ControlState State(const ControlState state) override; - Device::Control* Detect(const unsigned int ms, Device* const device) override; + ciface::Core::Device::Control* Detect(const unsigned int ms, ciface::Core::Device* const device) override; }; // @@ -111,7 +109,7 @@ public: public: OutputReference() : ControlReference(false) {} ControlState State(const ControlState state) override; - Device::Control* Detect(const unsigned int ms, Device* const device) override; + ciface::Core::Device::Control* Detect(const unsigned int ms, ciface::Core::Device* const device) override; }; ControllerInterface() : m_is_init(false), m_hwnd(nullptr) {} @@ -121,7 +119,7 @@ public: void Shutdown(); bool IsInit() const { return m_is_init; } - void UpdateReference(ControlReference* control, const DeviceQualifier& default_device) const; + void UpdateReference(ControlReference* control, const ciface::Core::DeviceQualifier& default_device) const; bool UpdateInput(const bool force = false); bool UpdateOutput(const bool force = false); |
