2014-11-11 07:41:17 +01:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 06:38:14 +01:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-11-11 07:41:17 +01:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/log.h"
|
|
|
|
#include "core/hle/hle.h"
|
|
|
|
#include "core/hle/service/frd_u.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Namespace FRD_U
|
|
|
|
|
|
|
|
namespace FRD_U {
|
|
|
|
|
2014-12-21 20:52:10 +01:00
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
|
|
|
{0x00050000, nullptr, "GetFriendKey"},
|
|
|
|
{0x00080000, nullptr, "GetMyPresence"},
|
|
|
|
{0x00100040, nullptr, "GetPassword"},
|
|
|
|
{0x00190042, nullptr, "GetFriendFavoriteGame"},
|
|
|
|
{0x001A00C4, nullptr, "GetFriendInfo"},
|
|
|
|
{0x001B0080, nullptr, "IsOnFriendList"},
|
|
|
|
{0x001C0042, nullptr, "DecodeLocalFriendCode"},
|
|
|
|
{0x001D0002, nullptr, "SetCurrentlyPlayingText"},
|
|
|
|
{0x00320042, nullptr, "SetClientSdkVersion"}
|
|
|
|
};
|
2014-11-11 07:41:17 +01:00
|
|
|
|
2014-12-21 20:52:10 +01:00
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Interface class
|
2014-11-11 07:41:17 +01:00
|
|
|
|
2014-12-21 20:52:10 +01:00
|
|
|
Interface::Interface() {
|
2015-01-30 19:56:49 +01:00
|
|
|
Register(FunctionTable);
|
2014-12-21 20:52:10 +01:00
|
|
|
}
|
2014-11-11 07:41:17 +01:00
|
|
|
|
|
|
|
} // namespace
|