Stub INotificationServicesForApplication

This commit is contained in:
PabloG02 2023-01-09 13:36:32 +01:00 committed by Billy Laws
parent 2fa5ea451e
commit d544ccf5ea
4 changed files with 28 additions and 0 deletions

View File

@ -332,6 +332,7 @@ add_library(skyline SHARED
${source_DIR}/skyline/services/glue/IStaticService.cpp
${source_DIR}/skyline/services/glue/ITimeZoneService.cpp
${source_DIR}/skyline/services/glue/IWriterForSystem.cpp
${source_DIR}/skyline/services/glue/INotificationServicesForApplication.cpp
${source_DIR}/skyline/services/fssrv/IFileSystemProxy.cpp
${source_DIR}/skyline/services/fssrv/IFileSystem.cpp
${source_DIR}/skyline/services/fssrv/IFile.cpp

View File

@ -0,0 +1,8 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright © 2023 Skyline Team and Contributors (https://github.com/skyline-emu/)
#include "INotificationServicesForApplication.h"
namespace skyline::service::glue {
INotificationServicesForApplication::INotificationServicesForApplication(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
}

View File

@ -0,0 +1,17 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright © 2023 Skyline Team and Contributors (https://github.com/skyline-emu/)
#pragma once
#include <services/base_service.h>
namespace skyline::service::glue {
/**
* @brief Stub implementation for INotificationServicesForApplication
* @url https://switchbrew.org/wiki/Glue_services#notif:a
*/
class INotificationServicesForApplication : public BaseService {
public:
INotificationServicesForApplication(const DeviceState &state, ServiceManager &manager);
};
}

View File

@ -21,6 +21,7 @@
#include "timesrv/IStaticService.h"
#include "glue/IStaticService.h"
#include "glue/IWriterForSystem.h"
#include "glue/INotificationServicesForApplication.h"
#include "services/timesrv/core.h"
#include "fssrv/IFileSystemProxy.h"
#include "nvdrv/INvDrvServices.h"
@ -99,6 +100,7 @@ namespace skyline::service {
SERVICE_CASE(glue::IStaticService, "time:a", globalServiceState->timesrv.managerServer.GetStaticServiceAsAdmin(state, *this), globalServiceState->timesrv, timesrv::constant::StaticServiceAdminPermissions)
SERVICE_CASE(glue::IStaticService, "time:r", globalServiceState->timesrv.managerServer.GetStaticServiceAsRepair(state, *this), globalServiceState->timesrv, timesrv::constant::StaticServiceRepairPermissions)
SERVICE_CASE(glue::IStaticService, "time:u", globalServiceState->timesrv.managerServer.GetStaticServiceAsUser(state, *this), globalServiceState->timesrv, timesrv::constant::StaticServiceUserPermissions)
SERVICE_CASE(glue::INotificationServicesForApplication, "notif:a")
SERVICE_CASE(glue::IWriterForSystem, "ectx:w")
SERVICE_CASE(glue::IWriterForSystem, "ectx:aw")
SERVICE_CASE(fssrv::IFileSystemProxy, "fsp-srv")