diff options
| author | lioncash <mathew1800@gmail.com> | 2014-02-10 13:54:46 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-02-10 18:07:16 -0500 |
| commit | d2038049f51192fbb55fbde2fc08128bacfb7707 (patch) | |
| tree | 2f352e13e3d5868db072f1e75d611a90e938d0cf /Source/Core/InputCommon/ControllerInterface/ForceFeedback | |
| parent | a0a65a2906af132f6da04cf552812aac6ac5f20a (diff) | |
Replace all include guard ifdefs with "#pragma once"
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ForceFeedback')
3 files changed, 3 insertions, 13 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h index 3035273fa8..8eea274182 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h @@ -2,8 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef _FORCEFEEDBACKDEVICE_H_ -#define _FORCEFEEDBACKDEVICE_H_ +#pragma once #include "../Device.h" @@ -65,5 +64,3 @@ private: } } - -#endif diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h index 367af395ef..3ac954c9ad 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h @@ -10,8 +10,7 @@ * for these differences on OS X. */ -#ifndef _DIRECTINPUTADAPTER_H_ -#define _DIRECTINPUTADAPTER_H_ +#pragma once typedef LONG* LPLONG; // Missing type for ForceFeedback.h #include <CoreFoundation/CoreFoundation.h> @@ -217,8 +216,5 @@ public: } }; - } } - -#endif diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h index 3fdee28971..b8d47552d1 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h @@ -2,8 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef _DIRECTINPUTCONSTANTS_H_ -#define _DIRECTINPUTCONSTANTS_H_ +#pragma once /* * Define all constants from ForceFeedbackConstants.h with DirectInput prefixes. @@ -146,5 +145,3 @@ #define DIGFFS_USERFFSWITCHON FFGFFS_USERFFSWITCHON #define DIGFFS_USERFFSWITCHOFF FFGFFS_USERFFSWITCHOFF #define DIGFFS_DEVICELOST FFGFFS_DEVICELOST - -#endif |
