aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Sf/Cmif/ServerDomainBase.cs
blob: f38fa0303878962e6608f823edec88c5e825aa53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using Ryujinx.Horizon.Common;
using System;

namespace Ryujinx.Horizon.Sdk.Sf.Cmif
{
    abstract class ServerDomainBase
    {
        public abstract Result ReserveIds(Span<int> outIds);
        public abstract void UnreserveIds(ReadOnlySpan<int> ids);
        public abstract void RegisterObject(int id, ServiceObjectHolder obj);

        public abstract ServiceObjectHolder UnregisterObject(int id);
        public abstract ServiceObjectHolder GetObject(int id);
    }
}