2018-01-13 22:22:39 +01:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2017-10-15 04:50:04 +02:00
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-01-22 19:46:36 +01:00
|
|
|
#include <memory>
|
2017-12-29 06:44:46 +01:00
|
|
|
#include "core/hle/kernel/hle_ipc.h"
|
2017-10-15 04:50:04 +02:00
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
|
|
|
namespace Service {
|
2018-01-22 19:46:36 +01:00
|
|
|
namespace NVFlinger {
|
|
|
|
class NVFlinger;
|
|
|
|
}
|
|
|
|
|
2017-10-15 04:50:04 +02:00
|
|
|
namespace AM {
|
|
|
|
|
|
|
|
class AppletOE final : public ServiceFramework<AppletOE> {
|
|
|
|
public:
|
2018-07-19 18:05:48 +02:00
|
|
|
explicit AppletOE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger);
|
2017-12-28 21:27:30 +01:00
|
|
|
~AppletOE() = default;
|
2017-12-29 06:44:46 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
void OpenApplicationProxy(Kernel::HLERequestContext& ctx);
|
2018-01-22 19:46:36 +01:00
|
|
|
|
|
|
|
std::shared_ptr<NVFlinger::NVFlinger> nvflinger;
|
2017-10-15 04:50:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace AM
|
|
|
|
} // namespace Service
|