aboutsummaryrefslogblamecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Am/IApplicationProxyService.cs
blob: 88792a165174c0c63ea4e45f93ef6bb149e6bd29 (plain) (tree)
1
2
3
4
5
6
7
8
9
                          
                                 
                                     
 
                                               
     
                                                                 
 
                                                                                              
 
                                         
         
                                                                  
             
                                           

              
                                                            
         
                                                         
 


                     
using Ryujinx.HLE.HOS.Ipc;
using System.Collections.Generic;

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

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

        public IApplicationProxyService()
        {
            _commands = new Dictionary<int, ServiceProcessRequest>
            {
                { 0, OpenApplicationProxy }
            };
        }

        public long OpenApplicationProxy(ServiceCtx context)
        {
            MakeObject(context, new IApplicationProxy());

            return 0;
        }
    }
}