summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt_u.h
diff options
context:
space:
mode:
authorGareth Poole <noname422@gmail.com>2014-10-29 04:08:37 +0100
committerGareth Poole <510razor@gmail.com>2014-10-29 20:55:51 +0100
commit38df9e96dd39604273a7a3508abb5e2b302b79cd (patch)
tree56e092b84815ba02b3d6918524405f25f4c2f251 /src/core/hle/service/apt_u.h
parentMerge pull request #151 from archshift/dyncom-enabled (diff)
downloadyuzu-38df9e96dd39604273a7a3508abb5e2b302b79cd.tar
yuzu-38df9e96dd39604273a7a3508abb5e2b302b79cd.tar.gz
yuzu-38df9e96dd39604273a7a3508abb5e2b302b79cd.tar.bz2
yuzu-38df9e96dd39604273a7a3508abb5e2b302b79cd.tar.lz
yuzu-38df9e96dd39604273a7a3508abb5e2b302b79cd.tar.xz
yuzu-38df9e96dd39604273a7a3508abb5e2b302b79cd.tar.zst
yuzu-38df9e96dd39604273a7a3508abb5e2b302b79cd.zip
Diffstat (limited to 'src/core/hle/service/apt_u.h')
-rw-r--r--src/core/hle/service/apt_u.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/core/hle/service/apt_u.h b/src/core/hle/service/apt_u.h
new file mode 100644
index 000000000..5af39e085
--- /dev/null
+++ b/src/core/hle/service/apt_u.h
@@ -0,0 +1,37 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "core/hle/service/service.h"
+
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace APT_U
+
+namespace APT_U {
+
+// Application and title launching service. These services handle signaling for home/power button as
+// well. Only one session for either APT service can be open at a time, normally processes close the
+// service handle immediately once finished using the service. The commands for APT:U and APT:S are
+// exactly the same, however certain commands are only accessible with APT:S(NS module will call
+// svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services.
+
+/// Interface to "APT:U" service
+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 "APT:U";
+ }
+};
+
+} // namespace