summaryrefslogtreecommitdiff
path: root/src/core/hle/service/acc
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-19 21:41:44 -0400
committerGravatar Lioncash2018-04-19 22:20:28 -0400
commitccca5e7c2872d477cc7bef73ed141dc093b106ef (patch)
tree17f5db413993ed4a6f1fec0ac27fb20b44328459 /src/core/hle/service/acc
parentMerge pull request #356 from lioncash/shader (diff)
downloadyuzu-ccca5e7c2872d477cc7bef73ed141dc093b106ef.tar.gz
yuzu-ccca5e7c2872d477cc7bef73ed141dc093b106ef.tar.xz
yuzu-ccca5e7c2872d477cc7bef73ed141dc093b106ef.zip
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
Diffstat (limited to 'src/core/hle/service/acc')
-rw-r--r--src/core/hle/service/acc/acc.cpp6
-rw-r--r--src/core/hle/service/acc/acc.h6
-rw-r--r--src/core/hle/service/acc/acc_aa.cpp6
-rw-r--r--src/core/hle/service/acc/acc_aa.h6
-rw-r--r--src/core/hle/service/acc/acc_su.cpp6
-rw-r--r--src/core/hle/service/acc/acc_u0.cpp6
-rw-r--r--src/core/hle/service/acc/acc_u0.h6
-rw-r--r--src/core/hle/service/acc/acc_u1.cpp6
-rw-r--r--src/core/hle/service/acc/acc_u1.h6
9 files changed, 18 insertions, 36 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index 949bf06b3..6bafb2dce 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -10,8 +10,7 @@
10#include "core/hle/service/acc/acc_u0.h" 10#include "core/hle/service/acc/acc_u0.h"
11#include "core/hle/service/acc/acc_u1.h" 11#include "core/hle/service/acc/acc_u1.h"
12 12
13namespace Service { 13namespace Service::Account {
14namespace Account {
15 14
16// TODO: RE this structure 15// TODO: RE this structure
17struct UserData { 16struct UserData {
@@ -148,5 +147,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
148 std::make_shared<ACC_U1>(module)->InstallAsService(service_manager); 147 std::make_shared<ACC_U1>(module)->InstallAsService(service_manager);
149} 148}
150 149
151} // namespace Account 150} // namespace Service::Account
152} // namespace Service
diff --git a/src/core/hle/service/acc/acc.h b/src/core/hle/service/acc/acc.h
index 2d2f57b7d..58f8d260c 100644
--- a/src/core/hle/service/acc/acc.h
+++ b/src/core/hle/service/acc/acc.h
@@ -6,8 +6,7 @@
6 6
7#include "core/hle/service/service.h" 7#include "core/hle/service/service.h"
8 8
9namespace Service { 9namespace Service::Account {
10namespace Account {
11 10
12class Module final { 11class Module final {
13public: 12public:
@@ -31,5 +30,4 @@ public:
31/// Registers all ACC services with the specified service manager. 30/// Registers all ACC services with the specified service manager.
32void InstallInterfaces(SM::ServiceManager& service_manager); 31void InstallInterfaces(SM::ServiceManager& service_manager);
33 32
34} // namespace Account 33} // namespace Service::Account
35} // namespace Service
diff --git a/src/core/hle/service/acc/acc_aa.cpp b/src/core/hle/service/acc/acc_aa.cpp
index 76deaa07f..280b3e464 100644
--- a/src/core/hle/service/acc/acc_aa.cpp
+++ b/src/core/hle/service/acc/acc_aa.cpp
@@ -4,8 +4,7 @@
4 4
5#include "core/hle/service/acc/acc_aa.h" 5#include "core/hle/service/acc/acc_aa.h"
6 6
7namespace Service { 7namespace Service::Account {
8namespace Account {
9 8
10ACC_AA::ACC_AA(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:aa") { 9ACC_AA::ACC_AA(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:aa") {
11 static const FunctionInfo functions[] = { 10 static const FunctionInfo functions[] = {
@@ -18,5 +17,4 @@ ACC_AA::ACC_AA(std::shared_ptr<Module> module) : Module::Interface(std::move(mod
18 RegisterHandlers(functions); 17 RegisterHandlers(functions);
19} 18}
20 19
21} // namespace Account 20} // namespace Service::Account
22} // namespace Service
diff --git a/src/core/hle/service/acc/acc_aa.h b/src/core/hle/service/acc/acc_aa.h
index 5069c6890..796f7ef85 100644
--- a/src/core/hle/service/acc/acc_aa.h
+++ b/src/core/hle/service/acc/acc_aa.h
@@ -6,13 +6,11 @@
6 6
7#include "core/hle/service/acc/acc.h" 7#include "core/hle/service/acc/acc.h"
8 8
9namespace Service { 9namespace Service::Account {
10namespace Account {
11 10
12class ACC_AA final : public Module::Interface { 11class ACC_AA final : public Module::Interface {
13public: 12public:
14 explicit ACC_AA(std::shared_ptr<Module> module); 13 explicit ACC_AA(std::shared_ptr<Module> module);
15}; 14};
16 15
17} // namespace Account 16} // namespace Service::Account
18} // namespace Service
diff --git a/src/core/hle/service/acc/acc_su.cpp b/src/core/hle/service/acc/acc_su.cpp
index 538f9d9b1..9ffb40b22 100644
--- a/src/core/hle/service/acc/acc_su.cpp
+++ b/src/core/hle/service/acc/acc_su.cpp
@@ -4,8 +4,7 @@
4 4
5#include "core/hle/service/acc/acc_su.h" 5#include "core/hle/service/acc/acc_su.h"
6 6
7namespace Service { 7namespace Service::Account {
8namespace Account {
9 8
10ACC_SU::ACC_SU(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:su") { 9ACC_SU::ACC_SU(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:su") {
11 static const FunctionInfo functions[] = { 10 static const FunctionInfo functions[] = {
@@ -51,5 +50,4 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module) : Module::Interface(std::move(mod
51 RegisterHandlers(functions); 50 RegisterHandlers(functions);
52} 51}
53 52
54} // namespace Account 53} // namespace Service::Account
55} // namespace Service
diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp
index 7b9c667ef..44e21ac09 100644
--- a/src/core/hle/service/acc/acc_u0.cpp
+++ b/src/core/hle/service/acc/acc_u0.cpp
@@ -4,8 +4,7 @@
4 4
5#include "core/hle/service/acc/acc_u0.h" 5#include "core/hle/service/acc/acc_u0.h"
6 6
7namespace Service { 7namespace Service::Account {
8namespace Account {
9 8
10ACC_U0::ACC_U0(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u0") { 9ACC_U0::ACC_U0(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u0") {
11 static const FunctionInfo functions[] = { 10 static const FunctionInfo functions[] = {
@@ -31,5 +30,4 @@ ACC_U0::ACC_U0(std::shared_ptr<Module> module) : Module::Interface(std::move(mod
31 RegisterHandlers(functions); 30 RegisterHandlers(functions);
32} 31}
33 32
34} // namespace Account 33} // namespace Service::Account
35} // namespace Service
diff --git a/src/core/hle/service/acc/acc_u0.h b/src/core/hle/service/acc/acc_u0.h
index d4f36e172..6ded596b3 100644
--- a/src/core/hle/service/acc/acc_u0.h
+++ b/src/core/hle/service/acc/acc_u0.h
@@ -6,13 +6,11 @@
6 6
7#include "core/hle/service/acc/acc.h" 7#include "core/hle/service/acc/acc.h"
8 8
9namespace Service { 9namespace Service::Account {
10namespace Account {
11 10
12class ACC_U0 final : public Module::Interface { 11class ACC_U0 final : public Module::Interface {
13public: 12public:
14 explicit ACC_U0(std::shared_ptr<Module> module); 13 explicit ACC_U0(std::shared_ptr<Module> module);
15}; 14};
16 15
17} // namespace Account 16} // namespace Service::Account
18} // namespace Service
diff --git a/src/core/hle/service/acc/acc_u1.cpp b/src/core/hle/service/acc/acc_u1.cpp
index dea353554..d101d4e0d 100644
--- a/src/core/hle/service/acc/acc_u1.cpp
+++ b/src/core/hle/service/acc/acc_u1.cpp
@@ -4,8 +4,7 @@
4 4
5#include "core/hle/service/acc/acc_u1.h" 5#include "core/hle/service/acc/acc_u1.h"
6 6
7namespace Service { 7namespace Service::Account {
8namespace Account {
9 8
10ACC_U1::ACC_U1(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u1") { 9ACC_U1::ACC_U1(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u1") {
11 static const FunctionInfo functions[] = { 10 static const FunctionInfo functions[] = {
@@ -38,5 +37,4 @@ ACC_U1::ACC_U1(std::shared_ptr<Module> module) : Module::Interface(std::move(mod
38 RegisterHandlers(functions); 37 RegisterHandlers(functions);
39} 38}
40 39
41} // namespace Account 40} // namespace Service::Account
42} // namespace Service
diff --git a/src/core/hle/service/acc/acc_u1.h b/src/core/hle/service/acc/acc_u1.h
index 432d5b3e9..5e3e7659b 100644
--- a/src/core/hle/service/acc/acc_u1.h
+++ b/src/core/hle/service/acc/acc_u1.h
@@ -6,13 +6,11 @@
6 6
7#include "core/hle/service/acc/acc.h" 7#include "core/hle/service/acc/acc.h"
8 8
9namespace Service { 9namespace Service::Account {
10namespace Account {
11 10
12class ACC_U1 final : public Module::Interface { 11class ACC_U1 final : public Module::Interface {
13public: 12public:
14 explicit ACC_U1(std::shared_ptr<Module> module); 13 explicit ACC_U1(std::shared_ptr<Module> module);
15}; 14};
16 15
17} // namespace Account 16} // namespace Service::Account
18} // namespace Service