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:
@@ -6,8 +6,7 @@
|
||||
#include "core/hle/service/act/act_a.h"
|
||||
#include "core/hle/service/act/act_u.h"
|
||||
|
||||
namespace Service {
|
||||
namespace ACT {
|
||||
namespace Service::ACT {
|
||||
|
||||
Module::Interface::Interface(std::shared_ptr<Module> act, const char* name)
|
||||
: ServiceFramework(name, 1 /* Placeholder */), act(std::move(act)) {}
|
||||
@@ -20,5 +19,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
|
||||
std::make_shared<ACT_U>(act)->InstallAsService(service_manager);
|
||||
}
|
||||
|
||||
} // namespace ACT
|
||||
} // namespace Service
|
||||
} // namespace Service::ACT
|
||||
|
@@ -6,8 +6,7 @@
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace ACT {
|
||||
namespace Service::ACT {
|
||||
|
||||
/// Initializes all ACT services
|
||||
class Module final {
|
||||
@@ -24,5 +23,4 @@ public:
|
||||
|
||||
void InstallInterfaces(SM::ServiceManager& service_manager);
|
||||
|
||||
} // namespace ACT
|
||||
} // namespace Service
|
||||
} // namespace Service::ACT
|
||||
|
@@ -4,8 +4,7 @@
|
||||
|
||||
#include "core/hle/service/act/act_a.h"
|
||||
|
||||
namespace Service {
|
||||
namespace ACT {
|
||||
namespace Service::ACT {
|
||||
|
||||
ACT_A::ACT_A(std::shared_ptr<Module> act) : Module::Interface(std::move(act), "act:a") {
|
||||
const FunctionInfo functions[] = {
|
||||
@@ -24,5 +23,4 @@ ACT_A::ACT_A(std::shared_ptr<Module> act) : Module::Interface(std::move(act), "a
|
||||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace ACT
|
||||
} // namespace Service
|
||||
} // namespace Service::ACT
|
||||
|
@@ -6,13 +6,11 @@
|
||||
|
||||
#include "core/hle/service/act/act.h"
|
||||
|
||||
namespace Service {
|
||||
namespace ACT {
|
||||
namespace Service::ACT {
|
||||
|
||||
class ACT_A final : public Module::Interface {
|
||||
public:
|
||||
explicit ACT_A(std::shared_ptr<Module> act);
|
||||
};
|
||||
|
||||
} // namespace ACT
|
||||
} // namespace Service
|
||||
} // namespace Service::ACT
|
||||
|
@@ -4,8 +4,7 @@
|
||||
|
||||
#include "core/hle/service/act/act_u.h"
|
||||
|
||||
namespace Service {
|
||||
namespace ACT {
|
||||
namespace Service::ACT {
|
||||
|
||||
ACT_U::ACT_U(std::shared_ptr<Module> act) : Module::Interface(std::move(act), "act:u") {
|
||||
static const FunctionInfo functions[] = {
|
||||
@@ -20,5 +19,4 @@ ACT_U::ACT_U(std::shared_ptr<Module> act) : Module::Interface(std::move(act), "a
|
||||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace ACT
|
||||
} // namespace Service
|
||||
} // namespace Service::ACT
|
||||
|
@@ -6,13 +6,11 @@
|
||||
|
||||
#include "core/hle/service/act/act.h"
|
||||
|
||||
namespace Service {
|
||||
namespace ACT {
|
||||
namespace Service::ACT {
|
||||
|
||||
class ACT_U final : public Module::Interface {
|
||||
public:
|
||||
explicit ACT_U(std::shared_ptr<Module> act);
|
||||
};
|
||||
|
||||
} // namespace ACT
|
||||
} // namespace Service
|
||||
} // namespace Service::ACT
|
||||
|
Reference in New Issue
Block a user