diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2010-04-24 00:44:10 +0000 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2010-04-24 00:44:10 +0000 |
| commit | 23689387e1f00bf045daa44df5c733950cdfb5d2 (patch) | |
| tree | eee9dbd66cdc19e8309791e1bff89a9560d99395 /Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h | |
| parent | 1d8db5ce3f44cf637a88a6521680e2a336ff8f7c (diff) | |
More improvements to new wiimote plugin: Added emulated Drums/Guitar extensions. Wiimote rumble now handled for every output report. Fixed some mem leaks. Hopefully fixed a floating point exception in Linux, thanks to glennrics.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5403 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h')
| -rw-r--r-- | Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h index f7a34e982f..cb504c36e3 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h @@ -57,6 +57,7 @@ public: { public: virtual std::string GetName() const = 0; + virtual ~Control() {} }; // @@ -138,6 +139,8 @@ public: public: ControlQualifier() {}; ControlQualifier( const std::string& _name ) : name(_name) {} + virtual ~ControlQualifier() {} + virtual bool operator==(const Device::Control* const in) const; void FromControl(const Device::Control* const in); @@ -184,6 +187,7 @@ public: { public: ControlReference( const bool _is_input ) : range(1), is_input(_is_input), device(NULL) {} + virtual ~ControlReference() {} virtual ControlState State( const ControlState state = 0 ) = 0; virtual bool Detect( const unsigned int ms, const unsigned int count = 1 ) = 0; |
