summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/friend/friend_interface.cpp
blob: c8b98b1f0ccde859c2fffe73a2569410f20edbd9 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
 
                                                     
 
                           
 

                                                                                        
                                             
                                                                 
                                                                             
                                                          



                                

                            
                              
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "core/hle/service/friend/friend_interface.h"

namespace Service::Friend {

Friend::Friend(std::shared_ptr<Module> module_, Core::System& system_, const char* name)
    : Interface(std::move(module_), system_, name) {
    static const FunctionInfo functions[] = {
        {0, &Friend::CreateFriendService, "CreateFriendService"},
        {1, &Friend::CreateNotificationService, "CreateNotificationService"},
        {2, nullptr, "CreateDaemonSuspendSessionService"},
    };
    RegisterHandlers(functions);
}

Friend::~Friend() = default;

} // namespace Service::Friend