summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/service/application_creator.h
blob: 9f939ebf6d22c889ce4b4b0393d58300ab6cd313 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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::AM {

class IApplicationAccessor;
struct Applet;

class IApplicationCreator final : public ServiceFramework<IApplicationCreator> {
public:
    explicit IApplicationCreator(Core::System& system_);
    ~IApplicationCreator() override;

private:
    Result CreateApplication(Out<SharedPointer<IApplicationAccessor>>, u64 application_id);
};

} // namespace Service::AM