mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 14:55:28 +03:00
Stub caps:su
This commit is contained in:
parent
74afca4aab
commit
720cfaafb6
@ -291,6 +291,7 @@ add_library(skyline SHARED
|
|||||||
${source_DIR}/skyline/services/capsrv/IAlbumAccessorService.cpp
|
${source_DIR}/skyline/services/capsrv/IAlbumAccessorService.cpp
|
||||||
${source_DIR}/skyline/services/capsrv/ICaptureControllerService.cpp
|
${source_DIR}/skyline/services/capsrv/ICaptureControllerService.cpp
|
||||||
${source_DIR}/skyline/services/capsrv/IAlbumApplicationService.cpp
|
${source_DIR}/skyline/services/capsrv/IAlbumApplicationService.cpp
|
||||||
|
${source_DIR}/skyline/services/capsrv/IScreenShotApplicationService.cpp
|
||||||
${source_DIR}/skyline/services/ro/IRoInterface.cpp
|
${source_DIR}/skyline/services/ro/IRoInterface.cpp
|
||||||
${source_DIR}/skyline/applet/applet_creator.cpp
|
${source_DIR}/skyline/applet/applet_creator.cpp
|
||||||
${source_DIR}/skyline/applet/controller_applet.cpp
|
${source_DIR}/skyline/applet/controller_applet.cpp
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
// Copyright © 2022 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
||||||
|
|
||||||
|
#include "IScreenShotApplicationService.h"
|
||||||
|
|
||||||
|
namespace skyline::service::capsrv {
|
||||||
|
IScreenShotApplicationService::IScreenShotApplicationService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
// SPDX-License-Identifier: MPL-2.0
|
||||||
|
// Copyright © 2022 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <services/serviceman.h>
|
||||||
|
|
||||||
|
namespace skyline::service::capsrv {
|
||||||
|
/**
|
||||||
|
* @brief Used by applications to save screenshots
|
||||||
|
* @url https://switchbrew.org/wiki/Applet_Manager_services#caps:su
|
||||||
|
*/
|
||||||
|
class IScreenShotApplicationService : public BaseService {
|
||||||
|
public:
|
||||||
|
IScreenShotApplicationService(const DeviceState &state, ServiceManager &manager);
|
||||||
|
};
|
||||||
|
}
|
@ -52,6 +52,7 @@
|
|||||||
#include "capsrv/IAlbumAccessorService.h"
|
#include "capsrv/IAlbumAccessorService.h"
|
||||||
#include "capsrv/ICaptureControllerService.h"
|
#include "capsrv/ICaptureControllerService.h"
|
||||||
#include "capsrv/IAlbumApplicationService.h"
|
#include "capsrv/IAlbumApplicationService.h"
|
||||||
|
#include "capsrv/IScreenShotApplicationService.h"
|
||||||
#include "ro/IRoInterface.h"
|
#include "ro/IRoInterface.h"
|
||||||
#include "serviceman.h"
|
#include "serviceman.h"
|
||||||
|
|
||||||
@ -132,6 +133,7 @@ namespace skyline::service {
|
|||||||
SERVICE_CASE(capsrv::IAlbumAccessorService, "caps:a")
|
SERVICE_CASE(capsrv::IAlbumAccessorService, "caps:a")
|
||||||
SERVICE_CASE(capsrv::ICaptureControllerService, "caps:c")
|
SERVICE_CASE(capsrv::ICaptureControllerService, "caps:c")
|
||||||
SERVICE_CASE(capsrv::IAlbumApplicationService, "caps:u")
|
SERVICE_CASE(capsrv::IAlbumApplicationService, "caps:u")
|
||||||
|
SERVICE_CASE(capsrv::IScreenShotApplicationService, "caps:su")
|
||||||
SERVICE_CASE(nim::IShopServiceAccessServerInterface, "nim:eca")
|
SERVICE_CASE(nim::IShopServiceAccessServerInterface, "nim:eca")
|
||||||
SERVICE_CASE(ro::IRoInterface, "ldr:ro")
|
SERVICE_CASE(ro::IRoInterface, "ldr:ro")
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user