aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/DummyService.cs
blob: 28087bdf8bfddec5263093c47903efa6daf6a357 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Ryujinx.HLE.HOS.Ipc;
using System.Collections.Generic;

namespace Ryujinx.HLE.HOS.Services
{
    class DummyService : IpcService
    {
        private Dictionary<int, ServiceProcessRequest> _commands;

        public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;

        public string ServiceName { get; set; }

        public DummyService(string serviceName)
        {
            _commands = new Dictionary<int, ServiceProcessRequest>();
            ServiceName = serviceName;
        }
    }
}