mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-23 23:57:50 -05:00
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
This commit is contained in:
@ -5,12 +5,10 @@
|
||||
#include "core/hle/service/pctl/pctl.h"
|
||||
#include "core/hle/service/pctl/pctl_a.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PCTL {
|
||||
namespace Service::PCTL {
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
||||
std::make_shared<PCTL_A>()->InstallAsService(service_manager);
|
||||
}
|
||||
|
||||
} // namespace PCTL
|
||||
} // namespace Service
|
||||
} // namespace Service::PCTL
|
||||
|
@ -6,11 +6,9 @@
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PCTL {
|
||||
namespace Service::PCTL {
|
||||
|
||||
/// Registers all PCTL services with the specified service manager.
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager);
|
||||
|
||||
} // namespace PCTL
|
||||
} // namespace Service
|
||||
} // namespace Service::PCTL
|
||||
|
@ -6,8 +6,7 @@
|
||||
#include "core/hle/ipc_helpers.h"
|
||||
#include "core/hle/service/pctl/pctl_a.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PCTL {
|
||||
namespace Service::PCTL {
|
||||
|
||||
class IParentalControlService final : public ServiceFramework<IParentalControlService> {
|
||||
public:
|
||||
@ -125,5 +124,4 @@ PCTL_A::PCTL_A() : ServiceFramework("pctl:a") {
|
||||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace PCTL
|
||||
} // namespace Service
|
||||
} // namespace Service::PCTL
|
||||
|
@ -6,8 +6,7 @@
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace PCTL {
|
||||
namespace Service::PCTL {
|
||||
|
||||
class PCTL_A final : public ServiceFramework<PCTL_A> {
|
||||
public:
|
||||
@ -18,5 +17,4 @@ private:
|
||||
void CreateService(Kernel::HLERequestContext& ctx);
|
||||
};
|
||||
|
||||
} // namespace PCTL
|
||||
} // namespace Service
|
||||
} // namespace Service::PCTL
|
||||
|
Reference in New Issue
Block a user