mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-17 01:18:19 -05:00
friend: Deduplicate interfaces
This commit is contained in:
18
src/core/hle/service/friend/interface.cpp
Normal file
18
src/core/hle/service/friend/interface.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
// 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"},
|
||||
};
|
||||
RegisterHandlers(functions);
|
||||
}
|
||||
|
||||
} // namespace Service::Friend
|
Reference in New Issue
Block a user