mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-05 11:59:15 +00:00
25 lines
923 B
C#
25 lines
923 B
C#
namespace Ryujinx.HLE.HOS.Services.Notification
|
|
{
|
|
[Service("notif:s")] // 9.0.0+
|
|
class INotificationServices : IpcService
|
|
{
|
|
public INotificationServices(ServiceCtx context) { }
|
|
|
|
[CommandCmif(1000)] // 9.0.0+
|
|
// GetNotificationCount() -> nn::notification::server::INotificationSystemEventAccessor
|
|
public ResultCode GetNotificationCount(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new INotificationSystemEventAccessor(context));
|
|
return ResultCode.Success;
|
|
}
|
|
|
|
[CommandCmif(1040)] // 9.0.0+
|
|
// GetNotificationSendingNotifier() -> nn::notification::server::INotificationSystemEventAccessor
|
|
public ResultCode GetNotificationSendingNotifier(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new INotificationSystemEventAccessor(context));
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
}
|