InputCommon: Use nested namespace specifiers where applicable

This commit is contained in:
Lioncash 2019-06-17 16:39:24 -04:00
parent 8e030a4a45
commit ec60027f56
38 changed files with 78 additions and 195 deletions

View file

@ -8,9 +8,7 @@
#include <thread>
#include "InputCommon/ControllerInterface/ControllerInterface.h"
namespace ciface
{
namespace Android
namespace ciface::Android
{
void PopulateDevices()
{
@ -240,5 +238,4 @@ void Touchscreen::Motor::Rumble(int padID, double state)
JNIEnv* env = IDCache::GetEnvForThread();
env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(), IDCache::GetDoRumble(), padID, state);
}
} // namespace Android
} // namespace ciface
} // namespace ciface::Android

View file

@ -7,11 +7,10 @@
#include "InputCommon/ControllerInterface/ControllerInterface.h"
#include "jni/ButtonManager.h"
namespace ciface
{
namespace Android
namespace ciface::Android
{
void PopulateDevices();
class Touchscreen : public Core::Device
{
private:
@ -65,5 +64,4 @@ public:
private:
const int _padID;
};
} // namespace Android
} // namespace ciface
} // namespace ciface::Android