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/kernel/session.h"
|
||||
#include "core/hle/service/sm/controller.h"
|
||||
|
||||
namespace Service {
|
||||
namespace SM {
|
||||
namespace Service::SM {
|
||||
|
||||
void Controller::ConvertSessionToDomain(Kernel::HLERequestContext& ctx) {
|
||||
ASSERT_MSG(!ctx.Session()->IsDomain(), "session is alread a domain");
|
||||
|
@ -58,5 +57,4 @@ Controller::Controller() : ServiceFramework("IpcController") {
|
|||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace SM
|
||||
} // namespace Service
|
||||
} // namespace Service::SM
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace SM {
|
||||
namespace Service::SM {
|
||||
|
||||
class Controller final : public ServiceFramework<Controller> {
|
||||
public:
|
||||
|
@ -21,5 +20,4 @@ private:
|
|||
void QueryPointerBufferSize(Kernel::HLERequestContext& ctx);
|
||||
};
|
||||
|
||||
} // namespace SM
|
||||
} // namespace Service
|
||||
} // namespace Service::SM
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
#include "core/hle/service/sm/controller.h"
|
||||
#include "core/hle/service/sm/sm.h"
|
||||
|
||||
namespace Service {
|
||||
namespace SM {
|
||||
namespace Service::SM {
|
||||
|
||||
void ServiceManager::InvokeControlRequest(Kernel::HLERequestContext& context) {
|
||||
controller_interface->InvokeRequest(context);
|
||||
|
@ -132,5 +131,4 @@ SM::SM(std::shared_ptr<ServiceManager> service_manager)
|
|||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace SM
|
||||
} // namespace Service
|
||||
} // namespace Service::SM
|
||||
|
|
|
@ -17,8 +17,7 @@ class ServerPort;
|
|||
class SessionRequestHandler;
|
||||
} // namespace Kernel
|
||||
|
||||
namespace Service {
|
||||
namespace SM {
|
||||
namespace Service::SM {
|
||||
|
||||
/// Interface to "sm:" service
|
||||
class SM final : public ServiceFramework<SM> {
|
||||
|
@ -62,5 +61,4 @@ private:
|
|||
|
||||
extern std::shared_ptr<ServiceManager> g_service_manager;
|
||||
|
||||
} // namespace SM
|
||||
} // namespace Service
|
||||
} // namespace Service::SM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue