Stub caps:a

This commit is contained in:
Dima 2022-11-04 15:13:37 +03:00 committed by Billy Laws
parent 1c8736cb56
commit ffb0546609
4 changed files with 27 additions and 0 deletions

View File

@ -288,6 +288,7 @@ add_library(skyline SHARED
${source_DIR}/skyline/services/bt/IBluetoothUser.cpp ${source_DIR}/skyline/services/bt/IBluetoothUser.cpp
${source_DIR}/skyline/services/btm/IBtmUser.cpp ${source_DIR}/skyline/services/btm/IBtmUser.cpp
${source_DIR}/skyline/services/btm/IBtmUserCore.cpp ${source_DIR}/skyline/services/btm/IBtmUserCore.cpp
${source_DIR}/skyline/services/capsrv/IAlbumAccessorService.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

View File

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

View File

@ -0,0 +1,16 @@
// 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 {
/**
* @url https://switchbrew.org/wiki/Capture_services#caps:a
*/
class IAlbumAccessorService : public BaseService {
public:
IAlbumAccessorService(const DeviceState &state, ServiceManager &manager);
};
}

View File

@ -49,6 +49,7 @@
#include "mmnv/IRequest.h" #include "mmnv/IRequest.h"
#include "bt/IBluetoothUser.h" #include "bt/IBluetoothUser.h"
#include "btm/IBtmUser.h" #include "btm/IBtmUser.h"
#include "capsrv/IAlbumAccessorService.h"
#include "ro/IRoInterface.h" #include "ro/IRoInterface.h"
#include "serviceman.h" #include "serviceman.h"
@ -126,6 +127,7 @@ namespace skyline::service {
SERVICE_CASE(bcat::IServiceCreator, "bcat:u") SERVICE_CASE(bcat::IServiceCreator, "bcat:u")
SERVICE_CASE(bt::IBluetoothUser, "bt") SERVICE_CASE(bt::IBluetoothUser, "bt")
SERVICE_CASE(btm::IBtmUser, "btm:u") SERVICE_CASE(btm::IBtmUser, "btm:u")
SERVICE_CASE(capsrv::IAlbumAccessorService, "caps:a")
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: