mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 01:59:19 +01:00
Stub INotificationServicesForApplication
This commit is contained in:
parent
2fa5ea451e
commit
d544ccf5ea
@ -332,6 +332,7 @@ add_library(skyline SHARED
|
|||||||
${source_DIR}/skyline/services/glue/IStaticService.cpp
|
${source_DIR}/skyline/services/glue/IStaticService.cpp
|
||||||
${source_DIR}/skyline/services/glue/ITimeZoneService.cpp
|
${source_DIR}/skyline/services/glue/ITimeZoneService.cpp
|
||||||
${source_DIR}/skyline/services/glue/IWriterForSystem.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/IFileSystemProxy.cpp
|
||||||
${source_DIR}/skyline/services/fssrv/IFileSystem.cpp
|
${source_DIR}/skyline/services/fssrv/IFileSystem.cpp
|
||||||
${source_DIR}/skyline/services/fssrv/IFile.cpp
|
${source_DIR}/skyline/services/fssrv/IFile.cpp
|
||||||
|
@ -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) {}
|
||||||
|
}
|
@ -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);
|
||||||
|
};
|
||||||
|
}
|
@ -21,6 +21,7 @@
|
|||||||
#include "timesrv/IStaticService.h"
|
#include "timesrv/IStaticService.h"
|
||||||
#include "glue/IStaticService.h"
|
#include "glue/IStaticService.h"
|
||||||
#include "glue/IWriterForSystem.h"
|
#include "glue/IWriterForSystem.h"
|
||||||
|
#include "glue/INotificationServicesForApplication.h"
|
||||||
#include "services/timesrv/core.h"
|
#include "services/timesrv/core.h"
|
||||||
#include "fssrv/IFileSystemProxy.h"
|
#include "fssrv/IFileSystemProxy.h"
|
||||||
#include "nvdrv/INvDrvServices.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: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: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::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:w")
|
||||||
SERVICE_CASE(glue::IWriterForSystem, "ectx:aw")
|
SERVICE_CASE(glue::IWriterForSystem, "ectx:aw")
|
||||||
SERVICE_CASE(fssrv::IFileSystemProxy, "fsp-srv")
|
SERVICE_CASE(fssrv::IFileSystemProxy, "fsp-srv")
|
||||||
|
Loading…
Reference in New Issue
Block a user