mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
InputCommon: Use nested namespace specifiers where applicable
This commit is contained in:
@ -9,9 +9,7 @@
|
||||
|
||||
#include "Common/Thread.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
namespace ForceFeedback
|
||||
namespace ciface::ForceFeedback
|
||||
{
|
||||
// Template instantiation:
|
||||
template class ForceFeedbackDevice::TypedForce<DICONSTANTFORCE>;
|
||||
@ -257,6 +255,4 @@ void ForceFeedbackDevice::Force::Release()
|
||||
m_effect->Unload();
|
||||
m_effect->Release();
|
||||
}
|
||||
|
||||
} // namespace ForceFeedback
|
||||
} // namespace ciface
|
||||
} // namespace ciface::ForceFeedback
|
||||
|
@ -19,9 +19,7 @@
|
||||
#include "InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h"
|
||||
#endif
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
namespace ForceFeedback
|
||||
namespace ciface::ForceFeedback
|
||||
{
|
||||
class ForceFeedbackDevice : public Core::Device
|
||||
{
|
||||
@ -83,6 +81,4 @@ private:
|
||||
Common::Event m_update_event;
|
||||
Common::Flag m_run_thread;
|
||||
};
|
||||
|
||||
} // namespace ForceFeedback
|
||||
} // namespace ciface
|
||||
} // namespace ciface::ForceFeedback
|
||||
|
@ -20,9 +20,7 @@ typedef LONG* LPLONG; // Missing type for ForceFeedback.h
|
||||
#include "Common/CommonTypes.h" // for LONG
|
||||
#include "DirectInputConstants.h" // Not stricty necessary
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
namespace ForceFeedback
|
||||
namespace ciface::ForceFeedback
|
||||
{
|
||||
// Prototypes
|
||||
class IUnknownImpl;
|
||||
@ -196,5 +194,4 @@ public:
|
||||
return FFDeviceSetForceFeedbackProperty(m_device, property, &value);
|
||||
}
|
||||
};
|
||||
} // namespace ForceFeedback
|
||||
} // namespace ciface
|
||||
} // namespace ciface::ForceFeedback
|
||||
|
Reference in New Issue
Block a user