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
|
@ -7,8 +7,7 @@
|
|||
#include "core/hle/service/apm/apm.h"
|
||||
#include "core/hle/service/apm/interface.h"
|
||||
|
||||
namespace Service {
|
||||
namespace APM {
|
||||
namespace Service::APM {
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
||||
auto module_ = std::make_shared<Module>();
|
||||
|
@ -16,5 +15,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
|
|||
std::make_shared<APM>(module_, "apm:p")->InstallAsService(service_manager);
|
||||
}
|
||||
|
||||
} // namespace APM
|
||||
} // namespace Service
|
||||
} // namespace Service::APM
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace APM {
|
||||
namespace Service::APM {
|
||||
|
||||
enum class PerformanceMode : u8 {
|
||||
Handheld = 0,
|
||||
|
@ -23,5 +22,4 @@ public:
|
|||
/// Registers all AM services with the specified service manager.
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager);
|
||||
|
||||
} // namespace APM
|
||||
} // namespace Service
|
||||
} // namespace Service::APM
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#include "core/hle/service/apm/apm.h"
|
||||
#include "core/hle/service/apm/interface.h"
|
||||
|
||||
namespace Service {
|
||||
namespace APM {
|
||||
namespace Service::APM {
|
||||
|
||||
class ISession final : public ServiceFramework<ISession> {
|
||||
public:
|
||||
|
@ -62,5 +61,4 @@ void APM::OpenSession(Kernel::HLERequestContext& ctx) {
|
|||
rb.PushIpcInterface<ISession>();
|
||||
}
|
||||
|
||||
} // namespace APM
|
||||
} // namespace Service
|
||||
} // namespace Service::APM
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace APM {
|
||||
namespace Service::APM {
|
||||
|
||||
class APM final : public ServiceFramework<APM> {
|
||||
public:
|
||||
|
@ -23,5 +22,4 @@ private:
|
|||
/// Registers all AM services with the specified service manager.
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager);
|
||||
|
||||
} // namespace APM
|
||||
} // namespace Service
|
||||
} // namespace Service::APM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue