mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	service: Use nested namespace specifiers where applicable
There were a few places where nested namespace specifiers weren't being used where they could be within the service code. This amends that to make the namespacing a tiny bit more compact.
This commit is contained in:
		
							parent
							
								
									80cdfe1c45
								
							
						
					
					
						commit
						46da908a00
					
				
					 221 changed files with 443 additions and 902 deletions
				
			
		| 
						 | 
				
			
			@ -8,8 +8,7 @@
 | 
			
		|||
#include "core/hle/service/qtm/qtm_sp.h"
 | 
			
		||||
#include "core/hle/service/qtm/qtm_u.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
void InstallInterfaces(SM::ServiceManager& service_manager) {
 | 
			
		||||
    std::make_shared<QTM_C>()->InstallAsService(service_manager);
 | 
			
		||||
| 
						 | 
				
			
			@ -18,5 +17,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
 | 
			
		|||
    std::make_shared<QTM_U>()->InstallAsService(service_manager);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,11 +6,9 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
/// Initializes all QTM services.
 | 
			
		||||
void InstallInterfaces(SM::ServiceManager& service_manager);
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,8 +5,7 @@
 | 
			
		|||
#include "core/hle/ipc_helpers.h"
 | 
			
		||||
#include "core/hle/service/qtm/qtm_c.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
QTM_C::QTM_C() : ServiceFramework("qtm:c", 2) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
| 
						 | 
				
			
			@ -20,5 +19,4 @@ QTM_C::QTM_C() : ServiceFramework("qtm:c", 2) {
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
class QTM_C final : public ServiceFramework<QTM_C> {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -15,5 +14,4 @@ public:
 | 
			
		|||
    ~QTM_C() = default;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,8 +5,7 @@
 | 
			
		|||
#include "core/hle/ipc_helpers.h"
 | 
			
		||||
#include "core/hle/service/qtm/qtm_s.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
QTM_S::QTM_S() : ServiceFramework("qtm:s", 2) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
| 
						 | 
				
			
			@ -20,5 +19,4 @@ QTM_S::QTM_S() : ServiceFramework("qtm:s", 2) {
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
class QTM_S final : public ServiceFramework<QTM_S> {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -15,5 +14,4 @@ public:
 | 
			
		|||
    ~QTM_S() = default;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,8 +5,7 @@
 | 
			
		|||
#include "core/hle/ipc_helpers.h"
 | 
			
		||||
#include "core/hle/service/qtm/qtm_sp.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
QTM_SP::QTM_SP() : ServiceFramework("qtm:sp", 2) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
| 
						 | 
				
			
			@ -20,5 +19,4 @@ QTM_SP::QTM_SP() : ServiceFramework("qtm:sp", 2) {
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
class QTM_SP final : public ServiceFramework<QTM_SP> {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -15,5 +14,4 @@ public:
 | 
			
		|||
    ~QTM_SP() = default;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,8 +5,7 @@
 | 
			
		|||
#include "core/hle/ipc_helpers.h"
 | 
			
		||||
#include "core/hle/service/qtm/qtm_u.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
QTM_U::QTM_U() : ServiceFramework("qtm:u", 2) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
| 
						 | 
				
			
			@ -20,5 +19,4 @@ QTM_U::QTM_U() : ServiceFramework("qtm:u", 2) {
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace QTM {
 | 
			
		||||
namespace Service::QTM {
 | 
			
		||||
 | 
			
		||||
class QTM_U final : public ServiceFramework<QTM_U> {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -15,5 +14,4 @@ public:
 | 
			
		|||
    ~QTM_U() = default;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace QTM
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::QTM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue