mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +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
				
			
		| 
						 | 
				
			
			@ -7,8 +7,7 @@
 | 
			
		|||
#include "core/hle/service/dlp/dlp_fkcl.h"
 | 
			
		||||
#include "core/hle/service/dlp/dlp_srvr.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
void InstallInterfaces(SM::ServiceManager& service_manager) {
 | 
			
		||||
    std::make_shared<DLP_CLNT>()->InstallAsService(service_manager);
 | 
			
		||||
| 
						 | 
				
			
			@ -16,5 +15,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
 | 
			
		|||
    std::make_shared<DLP_SRVR>()->InstallAsService(service_manager);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,11 +6,9 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
/// Initializes the DLP services.
 | 
			
		||||
void InstallInterfaces(SM::ServiceManager& service_manager);
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,8 +5,7 @@
 | 
			
		|||
#include "core/hle/ipc_helpers.h"
 | 
			
		||||
#include "core/hle/service/dlp/dlp_clnt.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
DLP_CLNT::DLP_CLNT() : ServiceFramework("dlp:CLNT", 1) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
| 
						 | 
				
			
			@ -37,5 +36,4 @@ DLP_CLNT::DLP_CLNT() : ServiceFramework("dlp:CLNT", 1) {
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
class DLP_CLNT final : public ServiceFramework<DLP_CLNT> {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -15,5 +14,4 @@ public:
 | 
			
		|||
    ~DLP_CLNT() = default;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,8 +5,7 @@
 | 
			
		|||
#include "core/hle/ipc_helpers.h"
 | 
			
		||||
#include "core/hle/service/dlp/dlp_fkcl.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
DLP_FKCL::DLP_FKCL() : ServiceFramework("dlp:FKCL", 1) {
 | 
			
		||||
    static const FunctionInfo functions[] = {
 | 
			
		||||
| 
						 | 
				
			
			@ -34,5 +33,4 @@ DLP_FKCL::DLP_FKCL() : ServiceFramework("dlp:FKCL", 1) {
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
class DLP_FKCL final : public ServiceFramework<DLP_FKCL> {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -15,5 +14,4 @@ public:
 | 
			
		|||
    ~DLP_FKCL() = default;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,7 @@
 | 
			
		|||
#include "core/hle/result.h"
 | 
			
		||||
#include "core/hle/service/dlp/dlp_srvr.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
void DLP_SRVR::IsChild(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx, 0x0E, 1, 0);
 | 
			
		||||
| 
						 | 
				
			
			@ -47,5 +46,4 @@ DLP_SRVR::DLP_SRVR() : ServiceFramework("dlp:SRVR", 1) {
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,8 +6,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace DLP {
 | 
			
		||||
namespace Service::DLP {
 | 
			
		||||
 | 
			
		||||
class DLP_SRVR final : public ServiceFramework<DLP_SRVR> {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -18,5 +17,4 @@ private:
 | 
			
		|||
    void IsChild(Kernel::HLERequestContext& ctx);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace DLP
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::DLP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue