diff options
author | Liam <byteslice@airmail.cc> | 2024-02-17 20:34:13 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 16:35:39 +0100 |
commit | 2d43831d1f787fe96a30f668fe01bcb73061764c (patch) | |
tree | 3f910ad14677b7b9464daf9ea34394d1be694def /src/core/hle/service/ns/service_getter_interface.h | |
parent | ns: rewrite IApplicationManagerInterface (diff) | |
download | yuzu-2d43831d1f787fe96a30f668fe01bcb73061764c.tar yuzu-2d43831d1f787fe96a30f668fe01bcb73061764c.tar.gz yuzu-2d43831d1f787fe96a30f668fe01bcb73061764c.tar.bz2 yuzu-2d43831d1f787fe96a30f668fe01bcb73061764c.tar.lz yuzu-2d43831d1f787fe96a30f668fe01bcb73061764c.tar.xz yuzu-2d43831d1f787fe96a30f668fe01bcb73061764c.tar.zst yuzu-2d43831d1f787fe96a30f668fe01bcb73061764c.zip |
Diffstat (limited to 'src/core/hle/service/ns/service_getter_interface.h')
-rw-r--r-- | src/core/hle/service/ns/service_getter_interface.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/core/hle/service/ns/service_getter_interface.h b/src/core/hle/service/ns/service_getter_interface.h new file mode 100644 index 000000000..bbc18d444 --- /dev/null +++ b/src/core/hle/service/ns/service_getter_interface.h @@ -0,0 +1,47 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "core/hle/service/cmif_types.h" +#include "core/hle/service/service.h" + +namespace Service::NS { + +class IDynamicRightsInterface; +class IReadOnlyApplicationControlDataInterface; +class IReadOnlyApplicationRecordInterface; +class IECommerceInterface; +class IApplicationVersionInterface; +class IFactoryResetInterface; +class IAccountProxyInterface; +class IApplicationManagerInterface; +class IDownloadTaskInterface; +class IContentManagementInterface; +class IDocumentInterface; + +class IServiceGetterInterface : public ServiceFramework<IServiceGetterInterface> { +public: + explicit IServiceGetterInterface(Core::System& system_, const char* name); + ~IServiceGetterInterface() override; + +public: + Result GetDynamicRightsInterface(Out<SharedPointer<IDynamicRightsInterface>> out_interface); + Result GetReadOnlyApplicationControlDataInterface( + Out<SharedPointer<IReadOnlyApplicationControlDataInterface>> out_interface); + Result GetReadOnlyApplicationRecordInterface( + Out<SharedPointer<IReadOnlyApplicationRecordInterface>> out_interface); + Result GetECommerceInterface(Out<SharedPointer<IECommerceInterface>> out_interface); + Result GetApplicationVersionInterface( + Out<SharedPointer<IApplicationVersionInterface>> out_interface); + Result GetFactoryResetInterface(Out<SharedPointer<IFactoryResetInterface>> out_interface); + Result GetAccountProxyInterface(Out<SharedPointer<IAccountProxyInterface>> out_interface); + Result GetApplicationManagerInterface( + Out<SharedPointer<IApplicationManagerInterface>> out_interface); + Result GetDownloadTaskInterface(Out<SharedPointer<IDownloadTaskInterface>> out_interface); + Result GetContentManagementInterface( + Out<SharedPointer<IContentManagementInterface>> out_interface); + Result GetDocumentInterface(Out<SharedPointer<IDocumentInterface>> out_interface); +}; + +} // namespace Service::NS |