aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/cfg/cfg_u.h
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2014-12-21 16:36:18 -0500
committerGravatar Subv <subv2112@gmail.com>2014-12-21 16:41:06 -0500
commit6115f013a9df6faf66c9799ab25ecb106182b8c2 (patch)
tree657e9b7ff1830ffc1568c46da4a89debf1e21933 /src/core/hle/service/cfg/cfg_u.h
parent9e45240e23a3eb43e24c4a6ffe9caf1953a6cad5 (diff)
CFG: Create a new subfolder cfg inside service to handle cfg
Moved most of the shared CFG code there, implemented a few CFG:I functions
Diffstat (limited to 'src/core/hle/service/cfg/cfg_u.h')
-rw-r--r--src/core/hle/service/cfg/cfg_u.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/core/hle/service/cfg/cfg_u.h b/src/core/hle/service/cfg/cfg_u.h
new file mode 100644
index 00000000..0136bff5
--- /dev/null
+++ b/src/core/hle/service/cfg/cfg_u.h
@@ -0,0 +1,27 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "core/hle/service/service.h"
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace CFG_U
+
+namespace CFG_U {
+
+class Interface : public Service::Interface {
+public:
+ Interface();
+ ~Interface();
+ /**
+ * Gets the string port name used by CTROS for the service
+ * @return Port name of service
+ */
+ std::string GetPortName() const override {
+ return "cfg:u";
+ }
+};
+
+} // namespace