mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-24 15:37:10 +02:00
Rename services with the official interface names
This commit is contained in:
parent
f15b1c76a1
commit
69e32e5bbc
29 changed files with 236 additions and 196 deletions
27
Ryujinx.Core/OsHle/Services/Friend/IServiceCreator.cs
Normal file
27
Ryujinx.Core/OsHle/Services/Friend/IServiceCreator.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
using Ryujinx.Core.OsHle.Ipc;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ryujinx.Core.OsHle.Services.Friend
|
||||
{
|
||||
class IServiceCreator : IpcService
|
||||
{
|
||||
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
||||
|
||||
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
||||
|
||||
public IServiceCreator()
|
||||
{
|
||||
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
||||
{
|
||||
{ 0, CreateFriendService }
|
||||
};
|
||||
}
|
||||
|
||||
public static long CreateFriendService(ServiceCtx Context)
|
||||
{
|
||||
MakeObject(Context, new IFriendService());
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue