From d91a5abba1d66948cc43cc7a6c80827ede061bc8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 30 Jan 2014 19:51:21 -0500 Subject: Light cleanup to a little bit of InputCommon. Replaces much of the iterators that litter this section of the codebase. Also clean up a little bit of the comments that describe the interface classes. --- .../Core/InputCommon/ControllerInterface/Device.h | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/Device.h') diff --git a/Source/Core/InputCommon/ControllerInterface/Device.h b/Source/Core/InputCommon/ControllerInterface/Device.h index a7c26b867d..a2cdc7cf01 100644 --- a/Source/Core/InputCommon/ControllerInterface/Device.h +++ b/Source/Core/InputCommon/ControllerInterface/Device.h @@ -19,9 +19,9 @@ namespace Core class DeviceQualifier; // -// Device +// Device // -// a device class +// A device class // class Device { @@ -30,11 +30,11 @@ public: class Output; // - // Control + // Control // - // control includes inputs and outputs + // Control includes inputs and outputs // - class Control // input or output + class Control // input or output { public: virtual std::string GetName() const = 0; @@ -45,9 +45,9 @@ public: }; // - // Input + // Input // - // an input on a device + // An input on a device // class Input : public Control { @@ -61,9 +61,9 @@ public: }; // - // Output + // Output // - // an output on a device + // An output on a device // class Output : public Control { @@ -126,15 +126,15 @@ protected: } private: - std::vector m_inputs; - std::vector m_outputs; + std::vector m_inputs; + std::vector m_outputs; }; // -// DeviceQualifier +// DeviceQualifier // -// device qualifier used to match devices -// currently has ( source, id, name ) properties which match a device +// Device qualifier used to match devices. +// Currently has ( source, id, name ) properties which match a device // class DeviceQualifier { @@ -148,9 +148,9 @@ public: bool operator==(const DeviceQualifier& devq) const; bool operator==(const Device* const dev) const; - std::string source; - int cid; - std::string name; + std::string source; + int cid; + std::string name; }; class DeviceContainer -- cgit v1.2.3