|
|
|
@ -1,8 +1,12 @@ |
|
|
|
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#include "core/hle/service/am/application_creator.h"
|
|
|
|
#include "core/hle/service/ipc_helpers.h"
|
|
|
|
#include "core/hle/service/am/am_types.h"
|
|
|
|
#include "core/hle/service/am/applet.h"
|
|
|
|
#include "core/hle/service/am/applet_manager.h"
|
|
|
|
#include "core/hle/service/am/service/application_accessor.h"
|
|
|
|
#include "core/hle/service/am/service/application_creator.h"
|
|
|
|
#include "core/hle/service/cmif_serialization.h"
|
|
|
|
|
|
|
|
namespace Service::AM { |
|
|
|
|
|
|
|
@ -10,7 +14,7 @@ IApplicationCreator::IApplicationCreator(Core::System& system_) |
|
|
|
: ServiceFramework{system_, "IApplicationCreator"} { |
|
|
|
// clang-format off
|
|
|
|
static const FunctionInfo functions[] = { |
|
|
|
{0, nullptr, "CreateApplication"}, |
|
|
|
{0, D<&IApplicationCreator::CreateApplication>, "CreateApplication"}, |
|
|
|
{1, nullptr, "PopLaunchRequestedApplication"}, |
|
|
|
{10, nullptr, "CreateSystemApplication"}, |
|
|
|
{100, nullptr, "PopFloatingApplicationForDevelopment"}, |
|
|
|
@ -22,4 +26,10 @@ IApplicationCreator::IApplicationCreator(Core::System& system_) |
|
|
|
|
|
|
|
IApplicationCreator::~IApplicationCreator() = default; |
|
|
|
|
|
|
|
Result IApplicationCreator::CreateApplication( |
|
|
|
Out<SharedPointer<IApplicationAccessor>> out_application_accessor, u64 application_id) { |
|
|
|
LOG_ERROR(Service_NS, "called, application_id={:x}", application_id); |
|
|
|
R_THROW(ResultUnknown); |
|
|
|
} |
|
|
|
|
|
|
|
} // namespace Service::AM
|