summaryrefslogtreecommitdiff
path: root/src/core/hle/service/set
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/set
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/set')
-rw-r--r--src/core/hle/service/set/set.cpp6
-rw-r--r--src/core/hle/service/set/set.h6
-rw-r--r--src/core/hle/service/set/set_cal.cpp6
-rw-r--r--src/core/hle/service/set/set_cal.h6
-rw-r--r--src/core/hle/service/set/set_fd.cpp6
-rw-r--r--src/core/hle/service/set/set_fd.h6
-rw-r--r--src/core/hle/service/set/set_sys.cpp6
-rw-r--r--src/core/hle/service/set/set_sys.h6
-rw-r--r--src/core/hle/service/set/settings.cpp6
-rw-r--r--src/core/hle/service/set/settings.h6
10 files changed, 20 insertions, 40 deletions
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp
index 8908a04a2..fc3e424d0 100644
--- a/src/core/hle/service/set/set.cpp
+++ b/src/core/hle/service/set/set.cpp
@@ -9,8 +9,7 @@
9#include "core/hle/kernel/client_session.h" 9#include "core/hle/kernel/client_session.h"
10#include "core/hle/service/set/set.h" 10#include "core/hle/service/set/set.h"
11 11
12namespace Service { 12namespace Service::Set {
13namespace Set {
14 13
15void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) { 14void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
16 IPC::RequestParser rp{ctx}; 15 IPC::RequestParser rp{ctx};
@@ -41,5 +40,4 @@ SET::SET() : ServiceFramework("set") {
41 RegisterHandlers(functions); 40 RegisterHandlers(functions);
42} 41}
43 42
44} // namespace Set 43} // namespace Service::Set
45} // namespace Service
diff --git a/src/core/hle/service/set/set.h b/src/core/hle/service/set/set.h
index 7b7814ed1..6a465949f 100644
--- a/src/core/hle/service/set/set.h
+++ b/src/core/hle/service/set/set.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::Set {
10namespace Set {
11 10
12class SET final : public ServiceFramework<SET> { 11class SET final : public ServiceFramework<SET> {
13public: 12public:
@@ -18,5 +17,4 @@ private:
18 void GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx); 17 void GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx);
19}; 18};
20 19
21} // namespace Set 20} // namespace Service::Set
22} // namespace Service
diff --git a/src/core/hle/service/set/set_cal.cpp b/src/core/hle/service/set/set_cal.cpp
index 4810d39e8..7066ef725 100644
--- a/src/core/hle/service/set/set_cal.cpp
+++ b/src/core/hle/service/set/set_cal.cpp
@@ -4,8 +4,7 @@
4 4
5#include "core/hle/service/set/set_cal.h" 5#include "core/hle/service/set/set_cal.h"
6 6
7namespace Service { 7namespace Service::Set {
8namespace Set {
9 8
10SET_CAL::SET_CAL() : ServiceFramework("set:cal") { 9SET_CAL::SET_CAL() : ServiceFramework("set:cal") {
11 static const FunctionInfo functions[] = { 10 static const FunctionInfo functions[] = {
@@ -45,5 +44,4 @@ SET_CAL::SET_CAL() : ServiceFramework("set:cal") {
45 RegisterHandlers(functions); 44 RegisterHandlers(functions);
46} 45}
47 46
48} // namespace Set 47} // namespace Service::Set
49} // namespace Service
diff --git a/src/core/hle/service/set/set_cal.h b/src/core/hle/service/set/set_cal.h
index 9c0b851d0..bb50336aa 100644
--- a/src/core/hle/service/set/set_cal.h
+++ b/src/core/hle/service/set/set_cal.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::Set {
10namespace Set {
11 10
12class SET_CAL final : public ServiceFramework<SET_CAL> { 11class SET_CAL final : public ServiceFramework<SET_CAL> {
13public: 12public:
@@ -15,5 +14,4 @@ public:
15 ~SET_CAL() = default; 14 ~SET_CAL() = default;
16}; 15};
17 16
18} // namespace Set 17} // namespace Service::Set
19} // namespace Service
diff --git a/src/core/hle/service/set/set_fd.cpp b/src/core/hle/service/set/set_fd.cpp
index 8320d4250..c9f938716 100644
--- a/src/core/hle/service/set/set_fd.cpp
+++ b/src/core/hle/service/set/set_fd.cpp
@@ -4,8 +4,7 @@
4 4
5#include "core/hle/service/set/set_fd.h" 5#include "core/hle/service/set/set_fd.h"
6 6
7namespace Service { 7namespace Service::Set {
8namespace Set {
9 8
10SET_FD::SET_FD() : ServiceFramework("set:fd") { 9SET_FD::SET_FD() : ServiceFramework("set:fd") {
11 static const FunctionInfo functions[] = { 10 static const FunctionInfo functions[] = {
@@ -21,5 +20,4 @@ SET_FD::SET_FD() : ServiceFramework("set:fd") {
21 RegisterHandlers(functions); 20 RegisterHandlers(functions);
22} 21}
23 22
24} // namespace Set 23} // namespace Service::Set
25} // namespace Service
diff --git a/src/core/hle/service/set/set_fd.h b/src/core/hle/service/set/set_fd.h
index 65b36bcb3..dbd850bc7 100644
--- a/src/core/hle/service/set/set_fd.h
+++ b/src/core/hle/service/set/set_fd.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::Set {
10namespace Set {
11 10
12class SET_FD final : public ServiceFramework<SET_FD> { 11class SET_FD final : public ServiceFramework<SET_FD> {
13public: 12public:
@@ -15,5 +14,4 @@ public:
15 ~SET_FD() = default; 14 ~SET_FD() = default;
16}; 15};
17 16
18} // namespace Set 17} // namespace Service::Set
19} // namespace Service
diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp
index b9115ca9e..fa85277fe 100644
--- a/src/core/hle/service/set/set_sys.cpp
+++ b/src/core/hle/service/set/set_sys.cpp
@@ -7,8 +7,7 @@
7#include "core/hle/kernel/client_port.h" 7#include "core/hle/kernel/client_port.h"
8#include "core/hle/service/set/set_sys.h" 8#include "core/hle/service/set/set_sys.h"
9 9
10namespace Service { 10namespace Service::Set {
11namespace Set {
12 11
13void SET_SYS::GetColorSetId(Kernel::HLERequestContext& ctx) { 12void SET_SYS::GetColorSetId(Kernel::HLERequestContext& ctx) {
14 13
@@ -173,5 +172,4 @@ SET_SYS::SET_SYS() : ServiceFramework("set:sys") {
173 RegisterHandlers(functions); 172 RegisterHandlers(functions);
174} 173}
175 174
176} // namespace Set 175} // namespace Service::Set
177} // namespace Service
diff --git a/src/core/hle/service/set/set_sys.h b/src/core/hle/service/set/set_sys.h
index 105f1a3c7..b77a97cde 100644
--- a/src/core/hle/service/set/set_sys.h
+++ b/src/core/hle/service/set/set_sys.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::Set {
10namespace Set {
11 10
12class SET_SYS final : public ServiceFramework<SET_SYS> { 11class SET_SYS final : public ServiceFramework<SET_SYS> {
13public: 12public:
@@ -18,5 +17,4 @@ private:
18 void GetColorSetId(Kernel::HLERequestContext& ctx); 17 void GetColorSetId(Kernel::HLERequestContext& ctx);
19}; 18};
20 19
21} // namespace Set 20} // namespace Service::Set
22} // namespace Service
diff --git a/src/core/hle/service/set/settings.cpp b/src/core/hle/service/set/settings.cpp
index c6bc9e240..cf5541ca8 100644
--- a/src/core/hle/service/set/settings.cpp
+++ b/src/core/hle/service/set/settings.cpp
@@ -8,8 +8,7 @@
8#include "core/hle/service/set/set_sys.h" 8#include "core/hle/service/set/set_sys.h"
9#include "core/hle/service/set/settings.h" 9#include "core/hle/service/set/settings.h"
10 10
11namespace Service { 11namespace Service::Set {
12namespace Set {
13 12
14void InstallInterfaces(SM::ServiceManager& service_manager) { 13void InstallInterfaces(SM::ServiceManager& service_manager) {
15 std::make_shared<SET>()->InstallAsService(service_manager); 14 std::make_shared<SET>()->InstallAsService(service_manager);
@@ -18,5 +17,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
18 std::make_shared<SET_SYS>()->InstallAsService(service_manager); 17 std::make_shared<SET_SYS>()->InstallAsService(service_manager);
19} 18}
20 19
21} // namespace Set 20} // namespace Service::Set
22} // namespace Service
diff --git a/src/core/hle/service/set/settings.h b/src/core/hle/service/set/settings.h
index 6c8d5a58c..6606ce776 100644
--- a/src/core/hle/service/set/settings.h
+++ b/src/core/hle/service/set/settings.h
@@ -6,11 +6,9 @@
6 6
7#include "core/hle/service/service.h" 7#include "core/hle/service/service.h"
8 8
9namespace Service { 9namespace Service::Set {
10namespace Set {
11 10
12/// Registers all Settings services with the specified service manager. 11/// Registers all Settings services with the specified service manager.
13void InstallInterfaces(SM::ServiceManager& service_manager); 12void InstallInterfaces(SM::ServiceManager& service_manager);
14 13
15} // namespace Set 14} // namespace Service::Set
16} // namespace Service