summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/friend/interface.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-25 02:42:16 +0200
committerGitHub <noreply@github.com>2018-07-25 02:42:16 +0200
commit340771ccd7b113313f5031df6b84d33a0c058c19 (patch)
tree35f0b3ebb4b77919f8d556eef6bd59ddfefabea9 /src/core/hle/service/friend/interface.cpp
parentMerge pull request #810 from Subv/r16 (diff)
parentfriend: Add friend:m, friend:s, and friend:v services (diff)
downloadyuzu-340771ccd7b113313f5031df6b84d33a0c058c19.tar
yuzu-340771ccd7b113313f5031df6b84d33a0c058c19.tar.gz
yuzu-340771ccd7b113313f5031df6b84d33a0c058c19.tar.bz2
yuzu-340771ccd7b113313f5031df6b84d33a0c058c19.tar.lz
yuzu-340771ccd7b113313f5031df6b84d33a0c058c19.tar.xz
yuzu-340771ccd7b113313f5031df6b84d33a0c058c19.tar.zst
yuzu-340771ccd7b113313f5031df6b84d33a0c058c19.zip
Diffstat (limited to 'src/core/hle/service/friend/interface.cpp')
-rw-r--r--src/core/hle/service/friend/interface.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/core/hle/service/friend/interface.cpp b/src/core/hle/service/friend/interface.cpp
new file mode 100644
index 000000000..27c6a09e2
--- /dev/null
+++ b/src/core/hle/service/friend/interface.cpp
@@ -0,0 +1,19 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#include "core/hle/service/friend/interface.h"
+
+namespace Service::Friend {
+
+Friend::Friend(std::shared_ptr<Module> module, const char* name)
+ : Interface(std::move(module), name) {
+ static const FunctionInfo functions[] = {
+ {0, &Friend::CreateFriendService, "CreateFriendService"},
+ {1, nullptr, "CreateNotificationService"},
+ {2, nullptr, "CreateDaemonSuspendSessionService"},
+ };
+ RegisterHandlers(functions);
+}
+
+} // namespace Service::Friend