service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
This commit is contained in:
parent
17ad56c1dc
commit
ccca5e7c28
136 changed files with 273 additions and 570 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue