2018-08-17 01:47:36 +02:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Bcat
|
2018-07-23 16:20:16 +02:00
|
|
|
{
|
2019-07-10 17:59:54 +02:00
|
|
|
[Service("bcat:a")]
|
|
|
|
[Service("bcat:m")]
|
|
|
|
[Service("bcat:u")]
|
|
|
|
[Service("bcat:s")]
|
2018-07-23 16:20:16 +02:00
|
|
|
class IServiceCreator : IpcService
|
|
|
|
{
|
2019-07-12 03:13:43 +02:00
|
|
|
public IServiceCreator(ServiceCtx context) { }
|
2018-07-23 16:20:16 +02:00
|
|
|
|
2019-07-12 03:13:43 +02:00
|
|
|
[Command(0)]
|
|
|
|
// CreateBcatService(u64, pid) -> object<nn::bcat::detail::ipc::IBcatService>
|
2018-12-06 12:16:24 +01:00
|
|
|
public long CreateBcatService(ServiceCtx context)
|
2018-07-23 16:20:16 +02:00
|
|
|
{
|
2018-12-06 12:16:24 +01:00
|
|
|
long id = context.RequestData.ReadInt64();
|
2018-07-23 16:20:16 +02:00
|
|
|
|
2018-12-06 12:16:24 +01:00
|
|
|
MakeObject(context, new IBcatService());
|
2018-08-17 01:47:36 +02:00
|
|
|
|
2018-07-23 16:20:16 +02:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2019-07-12 03:13:43 +02:00
|
|
|
[Command(1)]
|
|
|
|
// CreateDeliveryCacheStorageService(u64, pid) -> object<nn::bcat::detail::ipc::IDeliveryCacheStorageService>
|
2018-12-06 12:16:24 +01:00
|
|
|
public long CreateDeliveryCacheStorageService(ServiceCtx context)
|
2018-07-23 16:20:16 +02:00
|
|
|
{
|
2018-12-06 12:16:24 +01:00
|
|
|
long id = context.RequestData.ReadInt64();
|
2018-07-23 16:20:16 +02:00
|
|
|
|
2018-12-06 12:16:24 +01:00
|
|
|
MakeObject(context, new IDeliveryCacheStorageService());
|
2018-07-23 16:20:16 +02:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|