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
				
			
		| 
						 | 
				
			
			@ -9,8 +9,7 @@
 | 
			
		|||
#include "core/hle/service/boss/boss_p.h"
 | 
			
		||||
#include "core/hle/service/boss/boss_u.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace BOSS {
 | 
			
		||||
namespace Service::BOSS {
 | 
			
		||||
 | 
			
		||||
void Module::Interface::InitializeSession(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
    IPC::RequestParser rp(ctx, 0x01, 2, 2);
 | 
			
		||||
| 
						 | 
				
			
			@ -915,5 +914,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
 | 
			
		|||
    std::make_shared<BOSS_U>(boss)->InstallAsService(service_manager);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace BOSS
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::BOSS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,7 @@
 | 
			
		|||
#include "core/hle/kernel/event.h"
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace BOSS {
 | 
			
		||||
namespace Service::BOSS {
 | 
			
		||||
 | 
			
		||||
class Module final {
 | 
			
		||||
public:
 | 
			
		||||
| 
						 | 
				
			
			@ -963,5 +962,4 @@ private:
 | 
			
		|||
 | 
			
		||||
void InstallInterfaces(SM::ServiceManager& service_manager);
 | 
			
		||||
 | 
			
		||||
} // namespace BOSS
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::BOSS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,8 +4,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/boss/boss_p.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace BOSS {
 | 
			
		||||
namespace Service::BOSS {
 | 
			
		||||
 | 
			
		||||
BOSS_P::BOSS_P(std::shared_ptr<Module> boss)
 | 
			
		||||
    : Module::Interface(std::move(boss), "boss:P", DefaultMaxSessions) {
 | 
			
		||||
| 
						 | 
				
			
			@ -84,5 +83,4 @@ BOSS_P::BOSS_P(std::shared_ptr<Module> boss)
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace BOSS
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::BOSS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,13 +6,11 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/boss/boss.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace BOSS {
 | 
			
		||||
namespace Service::BOSS {
 | 
			
		||||
 | 
			
		||||
class BOSS_P final : public Module::Interface {
 | 
			
		||||
public:
 | 
			
		||||
    explicit BOSS_P(std::shared_ptr<Module> boss);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace BOSS
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::BOSS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,8 +4,7 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/boss/boss_u.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace BOSS {
 | 
			
		||||
namespace Service::BOSS {
 | 
			
		||||
 | 
			
		||||
BOSS_U::BOSS_U(std::shared_ptr<Module> boss)
 | 
			
		||||
    : Module::Interface(std::move(boss), "boss:U", DefaultMaxSessions) {
 | 
			
		||||
| 
						 | 
				
			
			@ -72,5 +71,4 @@ BOSS_U::BOSS_U(std::shared_ptr<Module> boss)
 | 
			
		|||
    RegisterHandlers(functions);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace BOSS
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::BOSS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,13 +6,11 @@
 | 
			
		|||
 | 
			
		||||
#include "core/hle/service/boss/boss.h"
 | 
			
		||||
 | 
			
		||||
namespace Service {
 | 
			
		||||
namespace BOSS {
 | 
			
		||||
namespace Service::BOSS {
 | 
			
		||||
 | 
			
		||||
class BOSS_U final : public Module::Interface {
 | 
			
		||||
public:
 | 
			
		||||
    explicit BOSS_U(std::shared_ptr<Module> boss);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace BOSS
 | 
			
		||||
} // namespace Service
 | 
			
		||||
} // namespace Service::BOSS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue