mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-09-09 20:56:26 -05:00
Move solution and projects to src
This commit is contained in:
36
src/Ryujinx.Horizon/Sdk/Sf/Hipc/Server.cs
Normal file
36
src/Ryujinx.Horizon/Sdk/Sf/Hipc/Server.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using Ryujinx.Horizon.Sdk.OsTypes;
|
||||
using Ryujinx.Horizon.Sdk.Sf.Cmif;
|
||||
using Ryujinx.Horizon.Sdk.Sm;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Sf.Hipc
|
||||
{
|
||||
class Server : MultiWaitHolderOfHandle
|
||||
{
|
||||
public int PortIndex { get; }
|
||||
public int PortHandle { get; }
|
||||
public ServiceName Name { get; }
|
||||
public bool Managed { get; }
|
||||
public ServiceObjectHolder StaticObject { get; }
|
||||
|
||||
public Server(
|
||||
int portIndex,
|
||||
int portHandle,
|
||||
ServiceName name,
|
||||
bool managed,
|
||||
ServiceObjectHolder staticHoder) : base(portHandle)
|
||||
{
|
||||
PortHandle = portHandle;
|
||||
Name = name;
|
||||
Managed = managed;
|
||||
|
||||
if (staticHoder != null)
|
||||
{
|
||||
StaticObject = staticHoder;
|
||||
}
|
||||
else
|
||||
{
|
||||
PortIndex = portIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user