diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 478ac434..9da4a481 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -290,6 +290,7 @@ add_library(skyline SHARED ${source_DIR}/skyline/services/btm/IBtmUserCore.cpp ${source_DIR}/skyline/services/capsrv/IAlbumAccessorService.cpp ${source_DIR}/skyline/services/capsrv/ICaptureControllerService.cpp + ${source_DIR}/skyline/services/capsrv/IAlbumApplicationService.cpp ${source_DIR}/skyline/services/ro/IRoInterface.cpp ${source_DIR}/skyline/applet/applet_creator.cpp ${source_DIR}/skyline/applet/controller_applet.cpp diff --git a/app/src/main/cpp/skyline/services/capsrv/IAlbumApplicationService.cpp b/app/src/main/cpp/skyline/services/capsrv/IAlbumApplicationService.cpp new file mode 100644 index 00000000..f144ea19 --- /dev/null +++ b/app/src/main/cpp/skyline/services/capsrv/IAlbumApplicationService.cpp @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: MPL-2.0 +// Copyright © 2022 Skyline Team and Contributors (https://github.com/skyline-emu/) + +#include "IAlbumApplicationService.h" + +namespace skyline::service::capsrv { + IAlbumApplicationService::IAlbumApplicationService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {} +} \ No newline at end of file diff --git a/app/src/main/cpp/skyline/services/capsrv/IAlbumApplicationService.h b/app/src/main/cpp/skyline/services/capsrv/IAlbumApplicationService.h new file mode 100644 index 00000000..77e3c4da --- /dev/null +++ b/app/src/main/cpp/skyline/services/capsrv/IAlbumApplicationService.h @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: MPL-2.0 +// Copyright © 2022 Skyline Team and Contributors (https://github.com/skyline-emu/) + +#pragma once + +#include + +namespace skyline::service::capsrv { + /** + * @url https://switchbrew.org/wiki/Capture_services#caps:u + */ + class IAlbumApplicationService : public BaseService { + public: + IAlbumApplicationService(const DeviceState &state, ServiceManager &manager); + }; +} \ No newline at end of file diff --git a/app/src/main/cpp/skyline/services/serviceman.cpp b/app/src/main/cpp/skyline/services/serviceman.cpp index 4f19357b..969385fc 100644 --- a/app/src/main/cpp/skyline/services/serviceman.cpp +++ b/app/src/main/cpp/skyline/services/serviceman.cpp @@ -51,6 +51,7 @@ #include "btm/IBtmUser.h" #include "capsrv/IAlbumAccessorService.h" #include "capsrv/ICaptureControllerService.h" +#include "capsrv/IAlbumApplicationService.h" #include "ro/IRoInterface.h" #include "serviceman.h" @@ -130,6 +131,7 @@ namespace skyline::service { SERVICE_CASE(btm::IBtmUser, "btm:u") SERVICE_CASE(capsrv::IAlbumAccessorService, "caps:a") SERVICE_CASE(capsrv::ICaptureControllerService, "caps:c") + SERVICE_CASE(capsrv::IAlbumApplicationService, "caps:u") SERVICE_CASE(nim::IShopServiceAccessServerInterface, "nim:eca") SERVICE_CASE(ro::IRoInterface, "ldr:ro") default: